public static enum TimeZoneFormat.GMTOffsetPatternType extends Enum<TimeZoneFormat.GMTOffsetPatternType>
TimeZoneFormat.getGMTOffsetPattern(GMTOffsetPatternType)
,
TimeZoneFormat.setGMTOffsetPattern(GMTOffsetPatternType, String)
Enum Constant and 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 and Description |
---|---|
static TimeZoneFormat.GMTOffsetPatternType |
valueOf(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(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 © 2016 Unicode, Inc. and others.