net.fortuna.ical4j.model
Class TimeZoneRegistryImpl
java.lang.Object
net.fortuna.ical4j.model.TimeZoneRegistryImpl
- TimeZoneRegistry
public class TimeZoneRegistryImpl
extends java.lang.Object
implements TimeZoneRegistry
$Id: TimeZoneRegistryImpl.java,v 1.13 2008/12/28 13:12:17 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.
TimeZoneRegistryImpl
public TimeZoneRegistryImpl()
Default constructor.
TimeZoneRegistryImpl
public TimeZoneRegistryImpl(String resourcePrefix)
Creates a new instance using the specified resource prefix.
resourcePrefix
- a prefix prepended to classpath resource lookups for default timezones
clear
public final void clear()
getTimeZone
public final TimeZone getTimeZone(String id)
register
public final void register(TimeZone timezone)