TimeUnit¶
-
public enum
TimeUnit¶ The
TimeUnitspecifies what time unit should be used to specify time when the module trash should be cleaned. This enum is related with the propertyorg.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
HOURSvalue is equal to {@value 3.6E6}.The
UNKNOWNvalue should not be used in code as appropriate value. It was added to ensure that thefromString(String)method will not return {@value null} value.