public enum DateRangeType extends Enum<DateRangeType>
Java class for DateRangeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DateRangeType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="TODAY"/>
<enumeration value="YESTERDAY"/>
<enumeration value="LAST_WEEK"/>
<enumeration value="LAST_MONTH"/>
<enumeration value="LAST_3_MONTHS"/>
<enumeration value="REACH_LIFETIME"/>
<enumeration value="CUSTOM_DATE"/>
<enumeration value="NEXT_DAY"/>
<enumeration value="NEXT_90_DAYS"/>
<enumeration value="NEXT_WEEK"/>
<enumeration value="NEXT_MONTH"/>
<enumeration value="CURRENT_AND_NEXT_MONTH"/>
<enumeration value="NEXT_QUARTER"/>
<enumeration value="NEXT_3_MONTHS"/>
<enumeration value="NEXT_12_MONTHS"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CURRENT_AND_NEXT_MONTH
Beginning of the next day until the end of the next month.
|
CUSTOM_DATE
Specifying this value will enable the user to specify
ReportQuery.startDate and ReportQuery.endDate. |
LAST_3_MONTHS
The last 3 full months.
|
LAST_MONTH
The previous month.
|
LAST_WEEK
The last week, from monday to sunday.
|
NEXT_12_MONTHS
The next twelve months.
|
NEXT_3_MONTHS
The next three months.
|
NEXT_90_DAYS
The next ninety days.
|
NEXT_DAY
The next day.
|
NEXT_MONTH
The next month.
|
NEXT_QUARTER
The next quarter.
|
NEXT_WEEK
The next week, from monday to sunday.
|
REACH_LIFETIME
The last 63 days.
|
TODAY
The current day.
|
YESTERDAY
The previous day.
|
| Modifier and Type | Method and Description |
|---|---|
static DateRangeType |
fromValue(String v) |
String |
value() |
static DateRangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateRangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateRangeType TODAY
public static final DateRangeType YESTERDAY
public static final DateRangeType LAST_WEEK
public static final DateRangeType LAST_MONTH
public static final DateRangeType LAST_3_MONTHS
public static final DateRangeType REACH_LIFETIME
Column.REACH_FREQUENCY, Column.REACH_AVERAGE_REVENUE and Column.REACH.public static final DateRangeType CUSTOM_DATE
ReportQuery.startDate and ReportQuery.endDate.public static final DateRangeType NEXT_DAY
public static final DateRangeType NEXT_90_DAYS
public static final DateRangeType NEXT_WEEK
public static final DateRangeType NEXT_MONTH
public static final DateRangeType CURRENT_AND_NEXT_MONTH
public static final DateRangeType NEXT_QUARTER
public static final DateRangeType NEXT_3_MONTHS
public static final DateRangeType NEXT_12_MONTHS
public static DateRangeType[] values()
for (DateRangeType c : DateRangeType.values()) System.out.println(c);
public static DateRangeType 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 DateRangeType fromValue(String v)
Copyright © 2018. All Rights Reserved.