public enum TimePeriods extends java.lang.Enum<TimePeriods>
| Enum Constant and Description |
|---|
Last7Days
Specifies the last 7 days.
|
LastMonth
Specifies last month.
|
LastWeek
Specifies last week.
|
NextMonth
Specifies next month.
|
NextWeek
Specifies next week.
|
ThisMonth
Specifies this month.
|
ThisWeek
Specifies this week.
|
Today
Specifies today.
|
Tomorrow
Specifies tomorrow.
|
Yesterday
Specifies yesterday.
|
| Modifier and Type | Method and Description |
|---|---|
static TimePeriods |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimePeriods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimePeriods Today
public static final TimePeriods Yesterday
public static final TimePeriods Last7Days
public static final TimePeriods ThisWeek
public static final TimePeriods LastWeek
public static final TimePeriods LastMonth
public static final TimePeriods Tomorrow
public static final TimePeriods NextWeek
public static final TimePeriods NextMonth
public static final TimePeriods ThisMonth
public static TimePeriods[] values()
for (TimePeriods c : TimePeriods.values()) System.out.println(c);
public static TimePeriods 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