Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.joda.time.tz
Class UTCProvider  view UTCProvider download UTCProvider.java

java.lang.Object
  extended byorg.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

Constructor Summary
UTCProvider()
          Constructor.
 
Method Summary
 java.util.Set getAvailableIDs()
          Returns a singleton collection containing only "UTC".
 org.joda.time.DateTimeZone getZone(java.lang.String id)
          Returns UTC 55 for "UTC", null otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UTCProvider

public UTCProvider()
Constructor.

Method Detail

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