Class TimeUtil

java.lang.Object
org.apache.storm.st.utils.TimeUtil

public class TimeUtil extends Object
  • Constructor Details

    • TimeUtil

      public TimeUtil()
  • Method Details

    • sleepSec

      public static void sleepSec(int sec)
    • sleepMilliSec

      public static void sleepMilliSec(int milliSec)
    • floor

      public static org.joda.time.DateTime floor(org.joda.time.DateTime dateTime, int sec)
    • ceil

      public static org.joda.time.DateTime ceil(org.joda.time.DateTime dateTime, int sec)