Class FastDateParser.TimeZoneStrategy

    • Field Detail

      • RFC_822_TIME_ZONE

        private static final java.lang.String RFC_822_TIME_ZONE
        See Also:
        Constant Field Values
      • ID

        private static final int ID
        Index of zone id from DateFormatSymbols.getZoneStrings().
        See Also:
        Constant Field Values
      • locale

        private final java.util.Locale locale
      • tzNames

        private final java.util.Map<java.lang.String,​FastDateParser.TimeZoneStrategy.TzInfo> tzNames
        Using lower case only or upper case only will cause problems with some Locales like Turkey, Armenia, Colognian and also depending on the Java version. For details, see https://garygregory.wordpress.com/2015/11/03/java-lowercase-conversion-turkey/
    • Constructor Detail

      • TimeZoneStrategy

        TimeZoneStrategy​(java.util.Locale locale)
        Constructs a Strategy that parses a TimeZone
        Parameters:
        locale - The Locale