java.io.Serializable
, java.lang.Comparable<TimeZoneFormat.GMTOffsetPatternType>
public static enum TimeZoneFormat.GMTOffsetPatternType extends java.lang.Enum<TimeZoneFormat.GMTOffsetPatternType>
Enum Constant | Description |
---|---|
NEGATIVE_H |
Negative offset with hours field
|
NEGATIVE_HM |
Negative offset with hours and minutes fields
|
NEGATIVE_HMS |
Negative offset with hours, minutes and seconds fields
|
POSITIVE_H |
Positive offset with hours field
|
POSITIVE_HM |
Positive offset with hours and minutes fields
|
POSITIVE_HMS |
Positive offset with hours, minutes and seconds fields
|
Modifier and Type | Method | Description |
---|---|---|
static TimeZoneFormat.GMTOffsetPatternType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TimeZoneFormat.GMTOffsetPatternType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeZoneFormat.GMTOffsetPatternType POSITIVE_HM
public static final TimeZoneFormat.GMTOffsetPatternType POSITIVE_HMS
public static final TimeZoneFormat.GMTOffsetPatternType NEGATIVE_HM
public static final TimeZoneFormat.GMTOffsetPatternType NEGATIVE_HMS
public static final TimeZoneFormat.GMTOffsetPatternType POSITIVE_H
public static final TimeZoneFormat.GMTOffsetPatternType NEGATIVE_H
public static TimeZoneFormat.GMTOffsetPatternType[] values()
for (TimeZoneFormat.GMTOffsetPatternType c : TimeZoneFormat.GMTOffsetPatternType.values()) System.out.println(c);
public static TimeZoneFormat.GMTOffsetPatternType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright ? 2016 Unicode, Inc. and others.