public static enum GeneralizedTime.TimeZoneFormat extends Enum<GeneralizedTime.TimeZoneFormat>
Enum Constant and Description |
---|
DIFF_HOUR
g-differential format, using hour only.
|
DIFF_HOUR_MINUTE
g-differential format, using hour and minute.
|
Z
g-time-zone (Zulu) format.
|
Modifier and Type | Method and Description |
---|---|
static GeneralizedTime.TimeZoneFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeneralizedTime.TimeZoneFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneralizedTime.TimeZoneFormat Z
public static final GeneralizedTime.TimeZoneFormat DIFF_HOUR
public static final GeneralizedTime.TimeZoneFormat DIFF_HOUR_MINUTE
public static GeneralizedTime.TimeZoneFormat[] values()
for (GeneralizedTime.TimeZoneFormat c : GeneralizedTime.TimeZoneFormat.values()) System.out.println(c);
public static GeneralizedTime.TimeZoneFormat 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–2020 The Apache Software Foundation. All rights reserved.