Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.joda.time.tz
Class UTCProvider

    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
Author:
  Brian S O'Neill

Constructor Summary
`UTCProvider()` Constructor.

Method Summary
`java.util.Set` | `getAvailableIDs()` Returns a singleton collection containing only `"UTC"`.
`DateTimeZone` | `getZone(java.lang.String id)` Returns `UTC` 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 DateTimeZone getZone(java.lang.String id)

  Returns `UTC` for `"UTC"`, null otherwise.

  Specified by:
    `getZone` in interface `Provider`
  Returns:
    null if not found

### getAvailableIDs

    public java.util.Set getAvailableIDs()

  Returns a singleton collection containing only `"UTC"`.

  Specified by:
    `getAvailableIDs` in interface `Provider`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD