2 ******************************************************************************
\r
3 * Copyright (C) 2007-2009, International Business Machines Corporation and *
\r
4 * others. All Rights Reserved. *
\r
5 ******************************************************************************
\r
8 package com.ibm.icu.impl.duration.impl;
\r
10 import java.util.Collection;
\r
13 * Abstract service for PeriodFormatterData, which defines the localization data
\r
14 * used by period formatters.
\r
16 public abstract class PeriodFormatterDataService {
\r
18 * Returns a PeriodFormatterData for the given locale name.
\r
20 * @param localeName the name of the locale
\r
21 * @return a PeriodFormatterData object
\r
23 public abstract PeriodFormatterData get(String localeName);
\r
26 * Returns a collection of all the locale names supported by this service.
\r
28 * @return a collection of locale names, as String
\r
30 public abstract Collection<String> getAvailableLocales();
\r