public final class

UTCProvider

extends Object
implements Provider
java.lang.Object
   ↳ org.joda.time.tz.UTCProvider

Class Overview

Simple time zone provider that supports only UTC.

UTCProvider is thread-safe and immutable.

Summary

Public Constructors
UTCProvider()
Constructor.
Public Methods
Set getAvailableIDs()
Returns a singleton collection containing only "UTC".
DateTimeZone getZone(String id)
Returns UTC for "UTC", null otherwise.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.joda.time.tz.Provider

Public Constructors

public UTCProvider ()

Constructor.

Public Methods

public Set getAvailableIDs ()

Returns a singleton collection containing only "UTC".

public DateTimeZone getZone (String id)

Returns UTC for "UTC", null otherwise.

Returns
  • null if not found