public enum RelativeDateTimeMoment extends java.lang.Enum<RelativeDateTimeMoment>
Modifier and Type | Method and Description |
---|---|
static RelativeDateTimeMoment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelativeDateTimeMoment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelativeDateTimeMoment FIRST_DAY_OF_CURRENT_YEAR
public static final RelativeDateTimeMoment LAST_DAY_OF_CURRENT_YEAR
public static final RelativeDateTimeMoment FIRST_DAY_OF_CURRENT_MONTH
public static final RelativeDateTimeMoment LAST_DAY_OF_CURRENT_MONTH
public static final RelativeDateTimeMoment FIRST_DAY_OF_CURRENT_WEEK
public static final RelativeDateTimeMoment LAST_DAY_OF_CURRENT_WEEK
public static final RelativeDateTimeMoment START_OF_CURRENT_DAY
public static final RelativeDateTimeMoment END_OF_CURRENT_DAY
public static final RelativeDateTimeMoment START_OF_YESTERDAY
public static final RelativeDateTimeMoment START_OF_TOMORROW
public static final RelativeDateTimeMoment START_OF_CURRENT_HOUR
public static final RelativeDateTimeMoment END_OF_CURRENT_HOUR
public static final RelativeDateTimeMoment START_OF_CURRENT_MINUTE
public static final RelativeDateTimeMoment END_OF_CURRENT_MINUTE
public static RelativeDateTimeMoment[] values()
for (RelativeDateTimeMoment c : RelativeDateTimeMoment.values()) System.out.println(c);
public static RelativeDateTimeMoment 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 null