public enum EnumDateFormat extends Enum<EnumDateFormat>
| Enum Constant and Description |
|---|
DIN_5008
DIN 5008 date.
|
DIN_5008_ONLY_YEAR
DIN 5008 date, only with years.
|
DIN_5008_WITH_DAYS
DIN 5008 date, with days.
|
ISO_8601
ISO 8601 date.
|
ISO_8601_WITH_DAYS
ISO 8601 date, with days.
|
LOCAL_DATE
A date defined in the session locale format.
|
LOCAL_DATE_WITH_DAYS
A date defined in the session locale format, with days.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumDateFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumDateFormat |
valueOfTrimmed(String format) |
static EnumDateFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumDateFormat LOCAL_DATE
public static final EnumDateFormat ISO_8601
public static final EnumDateFormat DIN_5008
public static final EnumDateFormat LOCAL_DATE_WITH_DAYS
public static final EnumDateFormat ISO_8601_WITH_DAYS
public static final EnumDateFormat DIN_5008_WITH_DAYS
public static final EnumDateFormat DIN_5008_ONLY_YEAR
public static EnumDateFormat[] values()
for (EnumDateFormat c : EnumDateFormat.values()) System.out.println(c);
public static EnumDateFormat 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 static EnumDateFormat valueOfTrimmed(String format)
Copyright © 2020 Samply Community. All rights reserved.