TimeUnit¶
- public enum TimeUnit¶
The TimeUnit specifies what time unit should be used to specify time when the module trash should be cleaned. This enum is related with the property org.motechproject.mds.util.Constants.Config.MDS_TIME_UNIT.
Each value from this enum can be converted to long value that presents time interval in milliseconds. For example the HOURS value is equal to {@value 3.6E6}.
The UNKNOWN value should not be used in code as appropriate value. It was added to ensure that the fromString(String) method will not return {@value null} value.