public enum Period extends Enum<Period> implements com.github.davidmoten.odata.client.Enum
| Enum Constant and Description |
|---|
ALL |
DAY |
MONTH |
NONE |
QUARTER |
WEEK_ENDING_ON_FRIDAY |
WEEK_ENDING_ON_MONDAY |
WEEK_ENDING_ON_SATURDAY |
WEEK_ENDING_ON_SUNDAY |
WEEK_ENDING_ON_THURSDAY |
WEEK_ENDING_ON_TUESDAY |
WEEK_ENDING_ON_WEDNESDAY |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
String |
enumName() |
String |
enumValue() |
static Period |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Period[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Period NONE
public static final Period DAY
public static final Period WEEK_ENDING_ON_SUNDAY
public static final Period WEEK_ENDING_ON_MONDAY
public static final Period WEEK_ENDING_ON_TUESDAY
public static final Period WEEK_ENDING_ON_WEDNESDAY
public static final Period WEEK_ENDING_ON_THURSDAY
public static final Period WEEK_ENDING_ON_FRIDAY
public static final Period WEEK_ENDING_ON_SATURDAY
public static final Period MONTH
public static final Period QUARTER
public static final Period YEAR
public static final Period ALL
public static Period[] values()
for (Period c : Period.values()) System.out.println(c);
public static Period 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 enumName()
enumName in interface com.github.davidmoten.odata.client.Enumpublic String enumValue()
enumValue in interface com.github.davidmoten.odata.client.EnumCopyright © 2018–2020. All rights reserved.