org.joda.time.tz
Interface Provider

All Known Implementing Classes:
UTCProvider, ZoneInfoProvider

public interface Provider

Service provider factory for time zones.

Since:
1.0
Author:
Brian S O'Neill

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

Method Detail

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

getAvailableIDs

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



Copyright © 2002-2008 Joda.org. All Rights Reserved.