public enum SsmlCfTimePeriod extends Enum<SsmlCfTimePeriod>
Enum Constant and Description |
---|
last7Days |
lastMonth |
lastWeek |
nextMonth |
nextWeek |
thisMonth |
thisWeek |
today |
tomorrow |
yesterday |
Modifier and Type | Method and Description |
---|---|
static SsmlCfTimePeriod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SsmlCfTimePeriod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SsmlCfTimePeriod today
public static final SsmlCfTimePeriod yesterday
public static final SsmlCfTimePeriod tomorrow
public static final SsmlCfTimePeriod last7Days
public static final SsmlCfTimePeriod thisMonth
public static final SsmlCfTimePeriod lastMonth
public static final SsmlCfTimePeriod nextMonth
public static final SsmlCfTimePeriod thisWeek
public static final SsmlCfTimePeriod lastWeek
public static final SsmlCfTimePeriod nextWeek
public static SsmlCfTimePeriod[] values()
for (SsmlCfTimePeriod c : SsmlCfTimePeriod.values()) System.out.println(c);
public static SsmlCfTimePeriod 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 null