Enum GeneralizedTime.Format
- All Implemented Interfaces:
Serializable, Comparable<GeneralizedTime.Format>
- Enclosing class:
GeneralizedTime
The format of the generalized time.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTime format, minutes and seconds are omitted, excluding fraction.Time format, minutes and seconds are omitted, including fraction of an hour.Time format with minutes, seconds are omitted, excluding fraction.Time format with minutes seconds are omitted, including fraction of a minute.Time format with minutes and seconds, excluding fraction.Time format with minutes and seconds, including fraction. -
Method Summary
Modifier and TypeMethodDescriptionstatic GeneralizedTime.FormatReturns the enum constant of this type with the specified name.static GeneralizedTime.Format[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
YEAR_MONTH_DAY_HOUR_MIN_SEC
Time format with minutes and seconds, excluding fraction. -
YEAR_MONTH_DAY_HOUR_MIN_SEC_FRACTION
Time format with minutes and seconds, including fraction. -
YEAR_MONTH_DAY_HOUR_MIN
Time format with minutes, seconds are omitted, excluding fraction. -
YEAR_MONTH_DAY_HOUR_MIN_FRACTION
Time format with minutes seconds are omitted, including fraction of a minute. -
YEAR_MONTH_DAY_HOUR
Time format, minutes and seconds are omitted, excluding fraction. -
YEAR_MONTH_DAY_HOUR_FRACTION
Time format, minutes and seconds are omitted, including fraction of an hour.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-