private static class FastDatePrinter.TimeZoneDisplayKey
extends java.lang.Object
Inner class that acts as a compound key for time zone names.
Modifier and Type | Field and Description |
---|---|
private java.util.Locale |
mLocale |
private int |
mStyle |
private java.util.TimeZone |
mTimeZone |
Constructor and Description |
---|
TimeZoneDisplayKey(java.util.TimeZone timeZone,
boolean daylight,
int style,
java.util.Locale locale)
Constructs an instance of
TimeZoneDisplayKey with the specified properties. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
private final java.util.TimeZone mTimeZone
private final int mStyle
private final java.util.Locale mLocale
TimeZoneDisplayKey(java.util.TimeZone timeZone, boolean daylight, int style, java.util.Locale locale)
TimeZoneDisplayKey
with the specified properties.timeZone
- the time zonedaylight
- adjust the style for daylight saving time if true
style
- the timezone stylelocale
- the timezone locale