public enum ReportTimePeriod extends Enum<ReportTimePeriod>
Java class for ReportTimePeriod.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ReportTimePeriod">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Today"/>
<enumeration value="Yesterday"/>
<enumeration value="LastSevenDays"/>
<enumeration value="ThisWeek"/>
<enumeration value="LastWeek"/>
<enumeration value="Last14Days"/>
<enumeration value="Last30Days"/>
<enumeration value="LastFourWeeks"/>
<enumeration value="ThisMonth"/>
<enumeration value="LastMonth"/>
<enumeration value="LastThreeMonths"/>
<enumeration value="LastSixMonths"/>
<enumeration value="ThisYear"/>
<enumeration value="LastYear"/>
<enumeration value="ThisWeekStartingMonday"/>
<enumeration value="LastWeekStartingMonday"/>
<enumeration value="LastFourWeeksStartingMonday"/>
</restriction>
</simpleType>
Enum Constant and Description |
---|
LAST_14_DAYS |
LAST_30_DAYS |
LAST_FOUR_WEEKS |
LAST_FOUR_WEEKS_STARTING_MONDAY |
LAST_MONTH |
LAST_SEVEN_DAYS |
LAST_SIX_MONTHS |
LAST_THREE_MONTHS |
LAST_WEEK |
LAST_WEEK_STARTING_MONDAY |
LAST_YEAR |
THIS_MONTH |
THIS_WEEK |
THIS_WEEK_STARTING_MONDAY |
THIS_YEAR |
TODAY |
YESTERDAY |
Modifier and Type | Method and Description |
---|---|
static ReportTimePeriod |
fromValue(String v) |
String |
value() |
static ReportTimePeriod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReportTimePeriod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportTimePeriod TODAY
public static final ReportTimePeriod YESTERDAY
public static final ReportTimePeriod LAST_SEVEN_DAYS
public static final ReportTimePeriod THIS_WEEK
public static final ReportTimePeriod LAST_WEEK
public static final ReportTimePeriod LAST_14_DAYS
public static final ReportTimePeriod LAST_30_DAYS
public static final ReportTimePeriod LAST_FOUR_WEEKS
public static final ReportTimePeriod THIS_MONTH
public static final ReportTimePeriod LAST_MONTH
public static final ReportTimePeriod LAST_THREE_MONTHS
public static final ReportTimePeriod LAST_SIX_MONTHS
public static final ReportTimePeriod THIS_YEAR
public static final ReportTimePeriod LAST_YEAR
public static final ReportTimePeriod THIS_WEEK_STARTING_MONDAY
public static final ReportTimePeriod LAST_WEEK_STARTING_MONDAY
public static final ReportTimePeriod LAST_FOUR_WEEKS_STARTING_MONDAY
public static ReportTimePeriod[] values()
for (ReportTimePeriod c : ReportTimePeriod.values()) System.out.println(c);
public static ReportTimePeriod 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 ReportTimePeriod fromValue(String v)
Copyright © 2024. All rights reserved.