public static enum ViewCalendarFormat.Format extends Enum<ViewCalendarFormat.Format> implements INumberEnum<Byte>
Enum Constant and Description |
---|
ONE_DAY |
ONE_MONTH |
ONE_WEEK |
ONE_YEAR |
TWO_DAY |
TWO_WEEKS |
WORK_WEEK |
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Byte |
getValue() |
static ViewCalendarFormat.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewCalendarFormat.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewCalendarFormat.Format TWO_DAY
public static final ViewCalendarFormat.Format ONE_WEEK
public static final ViewCalendarFormat.Format TWO_WEEKS
public static final ViewCalendarFormat.Format ONE_MONTH
public static final ViewCalendarFormat.Format ONE_YEAR
public static final ViewCalendarFormat.Format ONE_DAY
public static final ViewCalendarFormat.Format WORK_WEEK
public static ViewCalendarFormat.Format[] values()
for (ViewCalendarFormat.Format c : ViewCalendarFormat.Format.values()) System.out.println(c);
public static ViewCalendarFormat.Format 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 Byte getValue()
getValue
in interface INumberEnum<Byte>
public long getLongValue()
getLongValue
in interface INumberEnum<Byte>
long
Copyright © 2019–2021 HCL. All rights reserved.