public static enum GeneralizedTime.Format extends Enum<GeneralizedTime.Format>
| Enum Constant and Description |
|---|
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.
|
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.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static GeneralizedTime.Format |
valueOf(String name)
Returns 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.
|
public static final GeneralizedTime.Format YEAR_MONTH_DAY_HOUR_MIN_SEC
public static final GeneralizedTime.Format YEAR_MONTH_DAY_HOUR_MIN_SEC_FRACTION
public static final GeneralizedTime.Format YEAR_MONTH_DAY_HOUR_MIN
public static final GeneralizedTime.Format YEAR_MONTH_DAY_HOUR_MIN_FRACTION
public static final GeneralizedTime.Format YEAR_MONTH_DAY_HOUR
public static final GeneralizedTime.Format YEAR_MONTH_DAY_HOUR_FRACTION
public static GeneralizedTime.Format[] values()
for (GeneralizedTime.Format c : GeneralizedTime.Format.values()) System.out.println(c);
public static GeneralizedTime.Format valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.