public static enum FlexDateTimeUtils.DateTimeComponent extends java.lang.Enum<FlexDateTimeUtils.DateTimeComponent>
Enum Constant and Description |
---|
AM_PM |
DATE |
DAY_OF_WEEK |
DAY_OF_YEAR |
ERA |
HOUR12 |
HOUR24 |
MILLISECOND |
MINUTE |
MONTH |
SECOND |
WEEK_OF_MONTH |
WEEK_OF_YEAR |
YEAR |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static FlexDateTimeUtils.DateTimeComponent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FlexDateTimeUtils.DateTimeComponent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlexDateTimeUtils.DateTimeComponent ERA
public static final FlexDateTimeUtils.DateTimeComponent YEAR
public static final FlexDateTimeUtils.DateTimeComponent MONTH
public static final FlexDateTimeUtils.DateTimeComponent WEEK_OF_YEAR
public static final FlexDateTimeUtils.DateTimeComponent WEEK_OF_MONTH
public static final FlexDateTimeUtils.DateTimeComponent DATE
public static final FlexDateTimeUtils.DateTimeComponent DAY_OF_YEAR
public static final FlexDateTimeUtils.DateTimeComponent DAY_OF_WEEK
public static final FlexDateTimeUtils.DateTimeComponent AM_PM
public static final FlexDateTimeUtils.DateTimeComponent HOUR12
public static final FlexDateTimeUtils.DateTimeComponent HOUR24
public static final FlexDateTimeUtils.DateTimeComponent MINUTE
public static final FlexDateTimeUtils.DateTimeComponent SECOND
public static final FlexDateTimeUtils.DateTimeComponent MILLISECOND
public static FlexDateTimeUtils.DateTimeComponent[] values()
for (FlexDateTimeUtils.DateTimeComponent c : FlexDateTimeUtils.DateTimeComponent.values()) System.out.println(c);
public static FlexDateTimeUtils.DateTimeComponent 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 int getValue()