Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`java.lang.String` | `getName(java.util.Locale locale, java.lang.String id, java.lang.String nameKey)` Returns a localized name, or null if not found.
`java.lang.String` | `getShortName(java.util.Locale locale, java.lang.String id, java.lang.String nameKey)` Returns a localized short name, or null if not found.

Method Detail

### getShortName

    java.lang.String getShortName(java.util.Locale locale,
                                  java.lang.String id,
                                  java.lang.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

    java.lang.String getName(java.util.Locale locale,
                             java.lang.String id,
                             java.lang.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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD