|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.joda.time.tz.UTCProvider
public final class UTCProvider
Simple time zone provider that supports only UTC.
UTCProvider is thread-safe and immutable.
| Constructor Summary | |
|---|---|
UTCProvider()
Constructor. |
|
| Method Summary | |
|---|---|
Set<String> |
getAvailableIDs()
Returns a singleton collection containing only "UTC". |
DateTimeZone |
getZone(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 |
|---|
public UTCProvider()
| Method Detail |
|---|
public DateTimeZone getZone(String id)
UTC for "UTC", null
otherwise.
getZone in interface Providerpublic Set<String> getAvailableIDs()
"UTC".
getAvailableIDs in interface Provider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||