java.lang.Object | |
↳ | org.joda.time.tz.ZoneInfoProvider |
ZoneInfoProvider loads compiled data files as generated by
ZoneInfoCompiler
.
ZoneInfoProvider is thread-safe and publicly immutable.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ZoneInfoProvider searches the given directory for compiled data files.
| |||||||||||
ZoneInfoProvider searches the given ClassLoader resource path for
compiled data files.
| |||||||||||
ZoneInfoProvider searches the given ClassLoader resource path for
compiled data files.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets a list of all the available zone ids.
| |||||||||||
If an error is thrown while loading zone data, uncaughtException is
called to log the error and null is returned for this and all future
requests.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called if an exception is thrown from getZone while loading zone data.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.joda.time.tz.Provider
|
ZoneInfoProvider searches the given directory for compiled data files.
IOException | if directory or map file cannot be read |
---|
ZoneInfoProvider searches the given ClassLoader resource path for compiled data files. Resources are loaded from the ClassLoader that loaded this class.
IOException | if directory or map file cannot be read |
---|
ZoneInfoProvider searches the given ClassLoader resource path for compiled data files.
loader | ClassLoader to load compiled data files from. If null, use system ClassLoader. |
---|
IOException | if directory or map file cannot be read |
---|
Gets a list of all the available zone ids.
If an error is thrown while loading zone data, uncaughtException is called to log the error and null is returned for this and all future requests.
id | the id to load |
---|
Called if an exception is thrown from getZone while loading zone data.
ex | the exception |
---|