public static enum DateBox.Pattern extends Enum<DateBox.Pattern>
see CLDR date time patterns for more details
| Enum Constant and Description |
|---|
FULL
A full date format
|
LONG
A long date format
|
MEDIUM
A medium date format
|
SHORT
A short date format
|
| Modifier and Type | Method and Description |
|---|---|
static DateBox.Pattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateBox.Pattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateBox.Pattern FULL
public static final DateBox.Pattern LONG
public static final DateBox.Pattern MEDIUM
public static final DateBox.Pattern SHORT
public static DateBox.Pattern[] values()
for (DateBox.Pattern c : DateBox.Pattern.values()) System.out.println(c);
public static DateBox.Pattern 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 © 2019–2022 Dominokit. All rights reserved.