public class TimeZoneInfo extends java.lang.Object implements java.lang.Comparable<TimeZoneInfo>
| Modifier and Type | Field and Description |
|---|---|
int |
groupId |
static boolean |
is24HourFormat |
java.lang.String |
mCountry |
java.lang.String |
mDisplayName |
long[] |
mTransitions |
java.lang.String |
mTzId |
static int |
NUM_OF_TRANSITIONS |
static long |
time |
| Constructor and Description |
|---|
TimeZoneInfo(java.util.TimeZone tz,
java.lang.String country) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TimeZoneInfo other) |
static long[] |
copyFromIntArray(int[] source) |
java.lang.CharSequence |
getGmtDisplayName(android.content.Context context) |
int |
getLocalHr(long referenceTime) |
java.lang.String |
getLocalTime(long referenceTime) |
int |
getNowOffsetMillis() |
boolean |
hasSameRules(TimeZoneInfo tzi) |
java.lang.String |
toString() |
public static int NUM_OF_TRANSITIONS
public static long time
public static boolean is24HourFormat
public java.lang.String mTzId
public long[] mTransitions
public java.lang.String mCountry
public int groupId
public java.lang.String mDisplayName
public TimeZoneInfo(java.util.TimeZone tz,
java.lang.String country)
public java.lang.String getLocalTime(long referenceTime)
public int getLocalHr(long referenceTime)
public int getNowOffsetMillis()
public java.lang.CharSequence getGmtDisplayName(android.content.Context context)
public static long[] copyFromIntArray(int[] source)
public boolean hasSameRules(TimeZoneInfo tzi)
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(TimeZoneInfo other)
compareTo in interface java.lang.Comparable<TimeZoneInfo>