Enum Class DateTimeResolution
- All Implemented Interfaces:
Serializable, Comparable<DateTimeResolution>, Constable
This enumeration contains the possible date/time resolutions.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription1B years resolutionone quintillionth second resolutiononce in a blue mooncentury resolutionday resolutiondecade resolution1M years resolutionone quadrillionth second resolution100K years resolution30 minute resolutionhour resolutionclock is invalidone millionth second resolutionmillennium resolutionone thousandth second resolutionminute resolutionmonth resolutionone billionth second resolutionone trillionth second resolutionten quattuordecillionth second resolution15 minute resolutionsecond resolutionone unadecillionth second resolutionone decillionth second resolutionone nonillionth second resolutionweek resolutionone octillionth second resolutionyearly resolutionone septllionth second resolutionone sextillionth second resolution -
Method Summary
Modifier and TypeMethodDescriptionstatic DateTimeResolutionReturns the enum constant of this class with the specified name.static DateTimeResolution[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLANCKSECOND
ten quattuordecillionth second resolution -
UNDASECOND
one unadecillionth second resolution -
VATOSECOND
one decillionth second resolution -
WEEBLESECOND
one nonillionth second resolution -
XOXXOSECOND
one octillionth second resolution -
YOCTOSECOND
one septllionth second resolution -
ZEPTOSECOND
one sextillionth second resolution -
ATTOSECOND
one quintillionth second resolution -
FEMTOSECOND
one quadrillionth second resolution -
PICOSECOND
one trillionth second resolution -
NANOSECOND
one billionth second resolution -
MICROSECOND
one millionth second resolution -
MILLISECOND
one thousandth second resolution -
SECOND
second resolution -
MINUTE
minute resolution -
QUARTER_HOUR
15 minute resolution -
HALF_HOUR
30 minute resolution -
HOUR
hour resolution -
DAY
day resolution -
WEEK
week resolution -
MONTH
month resolution -
YEAR
yearly resolution -
BLUEMOON
once in a blue moon -
DECADE
decade resolution -
CENTURY
century resolution -
MILLENNIA
millennium resolution -
GLACIAL
100K years resolution -
EPOCH
1M years resolution -
AEON
1B years resolution -
INFINITY
clock is invalid
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getDisplayName
-
getDescription
-