Package org.joda.time.tz
Class UTCProvider
java.lang.Object
org.joda.time.tz.UTCProvider
- All Implemented Interfaces:
Provider
Simple time zone provider that supports only UTC.
UTCProvider is thread-safe and immutable.
- Since:
- 1.0
- Author:
- Brian S O'Neill
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a singleton collection containing only"UTC"
.ReturnsUTC
for"UTC"
, null otherwise.
-
Constructor Details
-
UTCProvider
public UTCProvider()Constructor.
-
-
Method Details
-
getZone
ReturnsUTC
for"UTC"
, null otherwise. -
getAvailableIDs
Returns a singleton collection containing only"UTC"
.- Specified by:
getAvailableIDs
in interfaceProvider
-