|
||||||||||
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
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. |
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 timezonesMethod Detail |
---|
public final void register(TimeZone timezone)
TimeZoneRegistry
register
in interface TimeZoneRegistry
timezone
- a timezone to be registered for use with iCalendar
objectspublic final void clear()
TimeZoneRegistry
clear
in interface TimeZoneRegistry
public final TimeZone getTimeZone(java.lang.String id)
TimeZoneRegistry
getTimeZone
in interface TimeZoneRegistry
id
- a timezone identifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |