Enum TimePickerSettings.TimeIncrement
java.lang.Object
java.lang.Enum<TimePickerSettings.TimeIncrement>
com.github.lgooddatepicker.components.TimePickerSettings.TimeIncrement
- All Implemented Interfaces:
Serializable
,Comparable<TimePickerSettings.TimeIncrement>
,java.lang.constant.Constable
- Enclosing class:
- TimePickerSettings
TimeIncrement, This is a list of increments that can be used with the generateMenuTimes()
function.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int
minutes, This holds the number of minutes represented by the time increment. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static TimePickerSettings.TimeIncrement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FiveMinutes
-
TenMinutes
-
FifteenMinutes
-
TwentyMinutes
-
ThirtyMinutes
-
OneHour
-
-
Field Details
-
minutes
public final int minutesminutes, This holds the number of minutes represented by the time increment.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-