public abstract class TimezoneGetter extends Object
Constructor and Description |
---|
TimezoneGetter() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getId()
Retrieves the ID of the current time zone.
|
static TimezoneGetter |
getInstance()
Retrieves the singleton instance of this class.
|
static void |
setInstance(TimezoneGetter getter)
Sets the singleton instance of this class.
|
public static TimezoneGetter getInstance()
public static void setInstance(TimezoneGetter getter)
instance
- TimezoneGetter the single instance of this class.public abstract String getId()