TimeZoneRegistryImpl
public interface TimeZoneRegistry
Modifier and Type | Field | Description |
---|---|---|
static Map<String,String> |
ZONE_ALIASES |
|
static Map<String,String> |
ZONE_IDS |
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
Clears all registered timezones.
|
static ZoneId |
getGlobalZoneId(String tzId) |
|
TimeZone |
getTimeZone(String id) |
Returns a timezone with the specified identifier.
|
String |
getTzId(String zoneId) |
|
ZoneId |
getZoneId(String tzId) |
|
Map<String,ZoneRules> |
getZoneRules() |
|
void |
register(TimeZone timezone) |
Registers a new timezone for use with iCalendar objects.
|
void |
register(TimeZone timezone,
boolean update) |
Registers a new timezone for use with iCalendar objects.
|
void register(TimeZone timezone)
timezone
- a timezone to be registered for use with iCalendar
objectsvoid register(TimeZone timezone, boolean update)
timezone
- a timezone to be registered for use with iCalendar
objectsupdate
- attempt to update the definition from any specified TZURL
property if truevoid clear()
TimeZone getTimeZone(String id)
id
- a timezone identifier