org.joda.time.tz

Interface Provider

Known Implementing Classes:
UTCProvider, ZoneInfoProvider

public interface Provider

Service provider factory for time zones.
Author:
Brian S O'Neill
Since:
1.0

Method Summary

Set
getAvailableIDs()
Returns an unmodifiable set of ids.
DateTimeZone
getZone(String id)
Retrieves a DateTimeZone for the given id.

Method Details

getAvailableIDs

public Set getAvailableIDs()
Returns an unmodifiable set of ids. All providers must at least support id "UTC".

getZone

public DateTimeZone getZone(String id)
Retrieves a DateTimeZone for the given id. All providers must at least support id "UTC".
Returns:
null if not found

Copyright (c) 2001-2006 - Joda.org