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 mLocale  
      private int mStyle  
      private java.util.TimeZone mTimeZone  
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeZoneDisplayKey​(java.util.TimeZone timeZone, boolean daylight, int style, java.util.Locale locale)
      Constructs an instance of TimeZoneDisplayKey with the specified properties.
    • 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

      • mTimeZone

        private final java.util.TimeZone mTimeZone
      • mStyle

        private final int mStyle
      • mLocale

        private final java.util.Locale mLocale
    • Constructor Detail

      • TimeZoneDisplayKey

        TimeZoneDisplayKey​(java.util.TimeZone timeZone,
                           boolean daylight,
                           int style,
                           java.util.Locale locale)
        Constructs an instance of 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

      • hashCode

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

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