public enum Iso8601Format extends Enum<Iso8601Format> implements Enumeration
GregorianDate.toIso8601String(Iso8601Format).| Enum Constant and Description | 
|---|
BASIC
A complete ISO8601 date and time in the basic format, which omits the dash and colon separators used between time and date components. 
 | 
COMPACT
The shortest possible way to accurately represent an ISO8601 date and time. 
 | 
EXTENDED
A complete ISO8601 date and time in the extended format, which uses dash and colon separators between time and date components. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static Iso8601Format | 
getDefault()
Get the enum constant that is considered to be the default. 
 | 
static Iso8601Format | 
getFromValue(int value)
Get the enum constant that is associated with the given numeric value. 
 | 
int | 
getValue()
Get the numeric value associated with this enum constant. 
 | 
static Iso8601Format | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Iso8601Format[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Iso8601Format BASIC
public static final Iso8601Format EXTENDED
public static final Iso8601Format COMPACT
public static Iso8601Format[] values()
for (Iso8601Format c : Iso8601Format.values()) System.out.println(c);
public static Iso8601Format 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 nullpublic int getValue()
getValue in interface Enumeration@Nonnull public static Iso8601Format getFromValue(int value)
value - a numeric value.@Nonnull public static Iso8601Format getDefault()