Module javafx.base

Class TimeStringConverter

    • Constructor Detail

      • TimeStringConverter

        public TimeStringConverter(int timeStyle)
        Create a StringConverter for Date values, using the specified DateFormat time style.
        Parameters:
        timeStyle - the given formatting style. For example, DateFormat.SHORT for "h:mm a" in the US locale.
        Since:
        JavaFX 8u40
      • TimeStringConverter

        public TimeStringConverter(Locale locale,
                                   int timeStyle)
        Create a StringConverter for Date values, using the specified locale and DateFormat time style.
        Parameters:
        locale - the given locale.
        timeStyle - the given formatting style. For example, DateFormat.SHORT for "h:mm a" in the US locale.
        Since:
        JavaFX 8u40
      • TimeStringConverter

        public TimeStringConverter(String pattern)
        Create a StringConverter for Date values, using the specified pattern.
        Parameters:
        pattern - the pattern describing the time format.
      • TimeStringConverter

        public TimeStringConverter(Locale locale,
                                   String pattern)
        Create a StringConverter for Date values, using the specified locale and pattern.
        Parameters:
        locale - the given locale.
        pattern - the pattern describing the time format.