public enum DateComponentOrdering extends Enum<DateComponentOrdering>
Enum Constant and Description |
---|
DMY
Day, month, year
|
DMYT
Day, month, year, time
|
HAN
Chinese, Japanese, Korean: Year, month, day.
|
ISO_ETC
The default set of unambiguous, year-month-day-like orderings.
|
MDY
Month, day, year
|
MDYT
Month, day, year, time
|
Y
Year
|
YD
Year, day of year
|
YM
Year, month
|
YMD
Year, month, day
|
YMDT
Year, month, day, time
|
YMDTZ
Year, month, day, time, zone
|
YW
Year, week number
|
Modifier and Type | Field and Description |
---|---|
static DateComponentOrdering[] |
DMY_FORMATS
Day-Month-Year formats
|
static DateComponentOrdering[] |
ISO_FORMATS
ISO formats
|
static DateComponentOrdering[] |
MDY_FORMATS
Month-Day-Year formats, primarily used in the USA
|
Modifier and Type | Method and Description |
---|---|
static DateComponentOrdering |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateComponentOrdering[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateComponentOrdering YMDTZ
public static final DateComponentOrdering YMDT
public static final DateComponentOrdering YMD
public static final DateComponentOrdering DMYT
public static final DateComponentOrdering DMY
public static final DateComponentOrdering MDYT
public static final DateComponentOrdering MDY
public static final DateComponentOrdering YM
public static final DateComponentOrdering YW
public static final DateComponentOrdering YD
public static final DateComponentOrdering Y
public static final DateComponentOrdering HAN
public static final DateComponentOrdering ISO_ETC
public static DateComponentOrdering[] ISO_FORMATS
public static DateComponentOrdering[] DMY_FORMATS
public static DateComponentOrdering[] MDY_FORMATS
public static DateComponentOrdering[] values()
for (DateComponentOrdering c : DateComponentOrdering.values()) System.out.println(c);
public static DateComponentOrdering 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 © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.