public enum ReportDefinitionDateRangeType extends Enum<ReportDefinitionDateRangeType>
Java class for ReportDefinition.DateRangeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ReportDefinition.DateRangeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="TODAY"/> <enumeration value="YESTERDAY"/> <enumeration value="LAST_7_DAYS"/> <enumeration value="LAST_WEEK"/> <enumeration value="LAST_BUSINESS_WEEK"/> <enumeration value="THIS_MONTH"/> <enumeration value="LAST_MONTH"/> <enumeration value="ALL_TIME"/> <enumeration value="CUSTOM_DATE"/> <enumeration value="LAST_14_DAYS"/> <enumeration value="LAST_30_DAYS"/> <enumeration value="THIS_WEEK_SUN_TODAY"/> <enumeration value="THIS_WEEK_MON_TODAY"/> <enumeration value="LAST_WEEK_SUN_SAT"/> </restriction> </simpleType>
Enum Constant and Description |
---|
ALL_TIME |
CUSTOM_DATE |
LAST_14_DAYS |
LAST_30_DAYS |
LAST_7_DAYS |
LAST_BUSINESS_WEEK |
LAST_MONTH |
LAST_WEEK |
LAST_WEEK_SUN_SAT |
THIS_MONTH |
THIS_WEEK_MON_TODAY |
THIS_WEEK_SUN_TODAY |
TODAY |
YESTERDAY |
Modifier and Type | Method and Description |
---|---|
static ReportDefinitionDateRangeType |
fromValue(String v) |
String |
value() |
static ReportDefinitionDateRangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReportDefinitionDateRangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportDefinitionDateRangeType TODAY
public static final ReportDefinitionDateRangeType YESTERDAY
public static final ReportDefinitionDateRangeType LAST_7_DAYS
public static final ReportDefinitionDateRangeType LAST_WEEK
public static final ReportDefinitionDateRangeType LAST_BUSINESS_WEEK
public static final ReportDefinitionDateRangeType THIS_MONTH
public static final ReportDefinitionDateRangeType LAST_MONTH
public static final ReportDefinitionDateRangeType ALL_TIME
public static final ReportDefinitionDateRangeType CUSTOM_DATE
public static final ReportDefinitionDateRangeType LAST_14_DAYS
public static final ReportDefinitionDateRangeType LAST_30_DAYS
public static final ReportDefinitionDateRangeType THIS_WEEK_SUN_TODAY
public static final ReportDefinitionDateRangeType THIS_WEEK_MON_TODAY
public static final ReportDefinitionDateRangeType LAST_WEEK_SUN_SAT
public static ReportDefinitionDateRangeType[] values()
for (ReportDefinitionDateRangeType c : ReportDefinitionDateRangeType.values()) System.out.println(c);
public static ReportDefinitionDateRangeType 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 ReportDefinitionDateRangeType fromValue(String v)
Copyright © 2015. All Rights Reserved.