java.io.Serializable, java.lang.Comparable<DateFormatter.Template>public static enum DateFormatter.Template extends java.lang.Enum<DateFormatter.Template>
| Enum Constant | Description |
|---|---|
STRING_DAY_MONTH |
|
STRING_DAY_MONTH_YEAR |
|
TIME |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
get() |
|
static DateFormatter.Template |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DateFormatter.Template[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateFormatter.Template STRING_DAY_MONTH_YEAR
public static final DateFormatter.Template STRING_DAY_MONTH
public static final DateFormatter.Template TIME
public static DateFormatter.Template[] values()
for (DateFormatter.Template c : DateFormatter.Template.values()) System.out.println(c);
public static DateFormatter.Template 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 java.lang.String get()