public static enum FixedDateFormat.FixedTimeZoneFormat extends java.lang.Enum<FixedDateFormat.FixedTimeZoneFormat>
| Enum Constant and Description |
|---|
HH
Offset like
-07. |
HHCMM
Offset like
-07:00. |
HHMM
Offset like
-0700. |
| Modifier and Type | Field and Description |
|---|---|
private int |
length |
private char |
timeSeparatorChar |
private int |
timeSeparatorCharLen |
private boolean |
useMinutes |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength() |
static FixedDateFormat.FixedTimeZoneFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FixedDateFormat.FixedTimeZoneFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
private int |
write(int offset,
char[] buffer,
int pos) |
public static final FixedDateFormat.FixedTimeZoneFormat HH
-07.public static final FixedDateFormat.FixedTimeZoneFormat HHMM
-0700.public static final FixedDateFormat.FixedTimeZoneFormat HHCMM
-07:00.private final char timeSeparatorChar
private final int timeSeparatorCharLen
private final boolean useMinutes
private final int length
public static FixedDateFormat.FixedTimeZoneFormat[] values()
for (FixedDateFormat.FixedTimeZoneFormat c : FixedDateFormat.FixedTimeZoneFormat.values()) System.out.println(c);
public static FixedDateFormat.FixedTimeZoneFormat 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 nullpublic int getLength()
private int write(int offset,
char[] buffer,
int pos)