public class TimeZonePickerUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DST_SYMBOL_COLOR |
static int |
GMT_TEXT_COLOR |
| Constructor and Description |
|---|
TimeZonePickerUtils(android.content.Context context)
This needs to be an instantiated class so that it doesn't need to continuously re-load the list of timezone IDs
that need to be overridden.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
appendGmtOffset(java.lang.StringBuilder sb,
int gmtOffset) |
static char |
getDstSymbol() |
java.lang.CharSequence |
getGmtDisplayName(android.content.Context context,
java.lang.String id,
long millis,
boolean grayGmt)
Given a timezone id (e.g.
|
public static final int GMT_TEXT_COLOR
public static final int DST_SYMBOL_COLOR
public TimeZonePickerUtils(android.content.Context context)
public java.lang.CharSequence getGmtDisplayName(android.content.Context context,
java.lang.String id,
long millis,
boolean grayGmt)
context - Context in case the override labels need to be re-cached.id - The timezone idmillis - The time (daylight savings or not)grayGmt - Whether the "GMT+x" part of the returned string should be colored gray.public static void appendGmtOffset(java.lang.StringBuilder sb,
int gmtOffset)
public static char getDstSymbol()