org.apache.storm.st.utils

## Class TimeUtil

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

-     public class TimeUtil
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TimeUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static org.joda.time.DateTime` | `ceil(org.joda.time.DateTime dateTime, int sec)`
    `static org.joda.time.DateTime` | `floor(org.joda.time.DateTime dateTime, int sec)`
    `static void` | `sleepMilliSec(int milliSec)`
    `static void` | `sleepSec(int sec)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TimeUtil

          public TimeUtil()

  - ### Method Detail

    - #### 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)

Copyright © 2021 The Apache Software Foundation. All rights reserved.