public enum STTimePeriod extends Enum<STTimePeriod>
Java class for ST_TimePeriod.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ST_TimePeriod">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="today"/>
<enumeration value="yesterday"/>
<enumeration value="tomorrow"/>
<enumeration value="last7Days"/>
<enumeration value="thisMonth"/>
<enumeration value="lastMonth"/>
<enumeration value="nextMonth"/>
<enumeration value="thisWeek"/>
<enumeration value="lastWeek"/>
<enumeration value="nextWeek"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
LAST_7_DAYS |
LAST_MONTH |
LAST_WEEK |
NEXT_MONTH |
NEXT_WEEK |
THIS_MONTH |
THIS_WEEK |
TODAY |
TOMORROW |
YESTERDAY |
| Modifier and Type | Method and Description |
|---|---|
static STTimePeriod |
fromValue(String v) |
String |
value() |
static STTimePeriod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static STTimePeriod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final STTimePeriod TODAY
public static final STTimePeriod YESTERDAY
public static final STTimePeriod TOMORROW
public static final STTimePeriod LAST_7_DAYS
public static final STTimePeriod THIS_MONTH
public static final STTimePeriod LAST_MONTH
public static final STTimePeriod NEXT_MONTH
public static final STTimePeriod THIS_WEEK
public static final STTimePeriod LAST_WEEK
public static final STTimePeriod NEXT_WEEK
public static STTimePeriod[] values()
for (STTimePeriod c : STTimePeriod.values()) System.out.println(c);
public static STTimePeriod 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 String value()
public static STTimePeriod fromValue(String v)
Copyright © 2007-2022. All Rights Reserved.