Enum FixedDateFormat.FixedTimeZoneFormat

    • Field Detail

      • timeSeparatorChar

        private final char timeSeparatorChar
      • timeSeparatorCharLen

        private final int timeSeparatorCharLen
      • useMinutes

        private final boolean useMinutes
      • length

        private final int length
    • Constructor Detail

      • FixedTimeZoneFormat

        private FixedTimeZoneFormat()
      • FixedTimeZoneFormat

        private FixedTimeZoneFormat​(char timeSeparatorChar,
                                    boolean minutes,
                                    int length)
    • Method Detail

      • values

        public static FixedDateFormat.FixedTimeZoneFormat[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FixedDateFormat.FixedTimeZoneFormat c : FixedDateFormat.FixedTimeZoneFormat.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FixedDateFormat.FixedTimeZoneFormat valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getLength

        public int getLength()
      • write

        private int write​(int offset,
                          char[] buffer,
                          int pos)