Class FastDatePrinter.TimeZoneDisplayKey

  • Enclosing class:
    FastDatePrinter

    private static class FastDatePrinter.TimeZoneDisplayKey
    extends java.lang.Object
    Inner class that acts as a compound key for time zone names.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Locale locale  
      private int style  
      private java.util.TimeZone timeZone  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      int hashCode()
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • timeZone

        private final java.util.TimeZone timeZone
      • style

        private final int style
      • locale

        private final java.util.Locale locale
    • Constructor Detail

      • TimeZoneDisplayKey

        TimeZoneDisplayKey​(java.util.TimeZone timeZone,
                           boolean daylight,
                           int style,
                           java.util.Locale locale)
        Constructs an instance of FastDatePrinter.TimeZoneDisplayKey with the specified properties.
        Parameters:
        timeZone - the time zone
        daylight - adjust the style for daylight saving time if true
        style - the time zone style
        locale - the time zone locale
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object