|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.fortuna.ical4j.model.TimeZoneRegistryImpl
public class TimeZoneRegistryImpl
$Id: TimeZoneRegistryImpl.java,v 1.26 2011/02/20 03:12:32 fortuna Exp $
Created on 18/09/2005
The default implementation of a TimeZoneRegistry. This implementation will search the classpath for
applicable VTimeZone definitions used to back the provided TimeZone instances.
| Constructor Summary | |
|---|---|
TimeZoneRegistryImpl()
Default constructor. |
|
TimeZoneRegistryImpl(java.lang.String resourcePrefix)
Creates a new instance using the specified resource prefix. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears all registered timezones. |
TimeZone |
getTimeZone(java.lang.String id)
Returns a timezone with the specified identifier. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeZoneRegistryImpl()
public TimeZoneRegistryImpl(java.lang.String resourcePrefix)
resourcePrefix - a prefix prepended to classpath resource lookups for default timezones| Method Detail |
|---|
public final void register(TimeZone timezone)
register in interface TimeZoneRegistrytimezone - a timezone to be registered for use with iCalendar
objects
public final void register(TimeZone timezone,
boolean update)
register in interface TimeZoneRegistrytimezone - a timezone to be registered for use with iCalendar
objectsupdate - attempt to update the definition from any specified TZURL
property if truepublic final void clear()
clear in interface TimeZoneRegistrypublic final TimeZone getTimeZone(java.lang.String id)
getTimeZone in interface TimeZoneRegistryid - a timezone identifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||