Joda Time API

org.joda.time.tz
Interface Provider

All Known Implementing Classes:
ZoneInfoProvider

public interface Provider

Service provider factory for time zones.

Author:
Brian S O'Neill

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

Method Detail

getDateTimeZone

public DateTimeZone getDateTimeZone(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

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


Joda Time API

Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.