public static enum Report.intervalFlag extends java.lang.Enum<Report.intervalFlag>
Enum Constant and Description |
---|
absolute
Default interval time - absolute specification of time_from-time_to
|
currTimeAndPrev
Specifying that for report calculation(time_from) will be used current system time + prev (day, week, month, year)
|
prevDay
Use previous day against time_from in user's timezone
|
prevHour
Use previous hour against time_from in user's timezone
|
prevMonth
Use previous month against time_from in user's timezone
|
prevWeek
Use previous week against time_from in user's timezone
|
prevYear
Use previous year against time_from in user's timezone
|
useCurrentTime
Bit, specifying that for report calculation(time_from) will be used current system time
|
Modifier and Type | Method and Description |
---|---|
long |
getValue() |
static Report.intervalFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Report.intervalFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Report.intervalFlag absolute
public static final Report.intervalFlag useCurrentTime
public static final Report.intervalFlag prevHour
public static final Report.intervalFlag prevDay
public static final Report.intervalFlag prevWeek
public static final Report.intervalFlag prevMonth
public static final Report.intervalFlag prevYear
public static final Report.intervalFlag currTimeAndPrev
public static Report.intervalFlag[] values()
for (Report.intervalFlag c : Report.intervalFlag.values()) System.out.println(c);
public static Report.intervalFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic long getValue()