Enum TimePicker.Format

java.lang.Object
java.lang.Enum<TimePicker.Format>
com.dlsc.gemsfx.TimePicker.Format
All Implemented Interfaces:
Serializable, Comparable<TimePicker.Format>
Enclosing class:
TimePicker

public static enum TimePicker.Format extends Enum<TimePicker.Format>
An enum for supported time units. See TimePicker.formatProperty()
  • Enum Constant Details

    • HOURS_MINUTES

      public static final TimePicker.Format HOURS_MINUTES
      Shows hours and minutes.
    • HOURS_MINUTES_SECONDS

      public static final TimePicker.Format HOURS_MINUTES_SECONDS
      Shows hours, minutes, and seconds.
    • HOURS_MINUTES_SECONDS_MILLIS

      public static final TimePicker.Format HOURS_MINUTES_SECONDS_MILLIS
      Shows hours, minutes, seconds, and milliseconds.
  • Method Details

    • values

      public static TimePicker.Format[] 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

      public static TimePicker.Format valueOf(String name)
      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 name
      NullPointerException - if the argument is null