public static enum DateTimeFormat.ISO extends Enum<DateTimeFormat.ISO>
Enum Constant and Description |
---|
DATE
The most common ISO Date Format
yyyy-MM-dd e.g. |
DATE_TIME
The most common ISO DateTime Format
yyyy-MM-dd'T'HH:mm:ss.SSSZ e.g. |
NONE
Indicates that no ISO-based format pattern should be applied.
|
TIME
The most common ISO Time Format
HH:mm:ss.SSSZ e.g. |
Modifier and Type | Method and Description |
---|---|
static DateTimeFormat.ISO |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeFormat.ISO[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeFormat.ISO DATE
yyyy-MM-dd
e.g. 2000-10-31.public static final DateTimeFormat.ISO TIME
HH:mm:ss.SSSZ
e.g. 01:30:00.000-05:00.public static final DateTimeFormat.ISO DATE_TIME
yyyy-MM-dd'T'HH:mm:ss.SSSZ
e.g. 2000-10-31 01:30:00.000-05:00.
The default if no annotation value is specified.public static final DateTimeFormat.ISO NONE
public static DateTimeFormat.ISO[] values()
for (DateTimeFormat.ISO c : DateTimeFormat.ISO.values()) System.out.println(c);
public static DateTimeFormat.ISO 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 null