public static enum MaterialDatePicker.MaterialDatePickerType extends Enum<MaterialDatePicker.MaterialDatePickerType>
Enum Constant and Description |
---|
DAY |
MONTH_DAY |
YEAR |
YEAR_MONTH_DAY |
Modifier and Type | Method and Description |
---|---|
static MaterialDatePicker.MaterialDatePickerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MaterialDatePicker.MaterialDatePickerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaterialDatePicker.MaterialDatePickerType DAY
public static final MaterialDatePicker.MaterialDatePickerType MONTH_DAY
public static final MaterialDatePicker.MaterialDatePickerType YEAR_MONTH_DAY
public static final MaterialDatePicker.MaterialDatePickerType YEAR
public static MaterialDatePicker.MaterialDatePickerType[] values()
for (MaterialDatePicker.MaterialDatePickerType c : MaterialDatePicker.MaterialDatePickerType.values()) System.out.println(c);
public static MaterialDatePicker.MaterialDatePickerType 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 nullCopyright © 2018. All rights reserved.