java.lang.Object
org.joda.time.tz.UTCProvider
- All Implemented Interfaces:
- Provider
- public final class UTCProvider
- extends java.lang.Object
- implements Provider
Simple time zone provider that supports only UTC.
UTCProvider is thread-safe and immutable.
- Since:
- 1.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UTCProvider
public UTCProvider()
- Constructor.
getZone
public org.joda.time.DateTimeZone getZone(java.lang.String id)
- Returns UTC 55 for
"UTC", null
otherwise.
- Specified by:
getZone in interface Provider
getAvailableIDs
public java.util.Set getAvailableIDs()
- Returns a singleton collection containing only
"UTC".
- Specified by:
getAvailableIDs in interface Provider