org.joda.time.tz
Interface NameProvider

All Known Implementing Classes:
DefaultNameProvider

public interface NameProvider

Service provider factory for localized time zone names.

Since:
1.0
Author:
Brian S O'Neill

Method Summary
 String getName(Locale locale, String id, String nameKey)
          Returns a localized name, or null if not found.
 String getShortName(Locale locale, String id, String nameKey)
          Returns a localized short name, or null if not found.
 

Method Detail

getShortName

public String getShortName(Locale locale,
                           String id,
                           String nameKey)
Returns a localized short name, or null if not found.

Parameters:
locale - locale to use for selecting name set
id - time zone id
nameKey - time zone name key

getName

public String getName(Locale locale,
                      String id,
                      String nameKey)
Returns a localized name, or null if not found.

Parameters:
locale - locale to use for selecting name set
id - time zone id
nameKey - time zone name key


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