public enum DateTimePickerView extends Enum<DateTimePickerView>
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static DateTimePickerView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimePickerView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimePickerView HOUR
public static final DateTimePickerView DAY
public static final DateTimePickerView MONTH
public static final DateTimePickerView YEAR
public static final DateTimePickerView DECADE
public static DateTimePickerView[] values()
for (DateTimePickerView c : DateTimePickerView.values()) System.out.println(c);
public static DateTimePickerView 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 int getValue()
Copyright © 2017. All rights reserved.