Package org.joda.time.tz
Interface Provider
-
- All Known Implementing Classes:
UTCProvider
,ZoneInfoProvider
public interface Provider
Service provider factory for time zones.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<java.lang.String>
getAvailableIDs()
Returns an unmodifiable set of ids.DateTimeZone
getZone(java.lang.String id)
Retrieves a DateTimeZone for the given id.
-
-
-
Method Detail
-
getZone
DateTimeZone getZone(java.lang.String id)
Retrieves a DateTimeZone for the given id. All providers must at least support id "UTC".- Returns:
- null if not found
-
getAvailableIDs
java.util.Set<java.lang.String> getAvailableIDs()
Returns an unmodifiable set of ids. All providers must at least support id "UTC".
-
-