public static enum Report.TimeRange extends Enum<Report.TimeRange>
| Enum Constant and Description |
|---|
ALL |
CUSTOM |
LAST_FULL_MONTH |
LAST_FULL_YEAR |
MONTH_TO_DATE |
PAST_SEVEN |
PAST_THIRTY |
TODAY |
YEAR_TO_DATE |
YESTERDAY |
| Modifier and Type | Method and Description |
|---|---|
static Report.TimeRange |
create(String val) |
String |
toString() |
static Report.TimeRange |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Report.TimeRange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Report.TimeRange TODAY
public static final Report.TimeRange YESTERDAY
public static final Report.TimeRange PAST_SEVEN
public static final Report.TimeRange PAST_THIRTY
public static final Report.TimeRange MONTH_TO_DATE
public static final Report.TimeRange LAST_FULL_MONTH
public static final Report.TimeRange YEAR_TO_DATE
public static final Report.TimeRange LAST_FULL_YEAR
public static final Report.TimeRange ALL
public static final Report.TimeRange CUSTOM
public static Report.TimeRange[] values()
for (Report.TimeRange c : Report.TimeRange.values()) System.out.println(c);
public static Report.TimeRange 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 toString()
toString in class Enum<Report.TimeRange>public static Report.TimeRange create(String val)
Copyright © 2014. All rights reserved.