]> gitweb.fperrin.net Git - Dictionary.git/blob - jars/icu4j-4_2_1-src/src/com/ibm/icu/impl/duration/impl/PeriodFormatterDataService.java
icu4jsrc
[Dictionary.git] / jars / icu4j-4_2_1-src / src / com / ibm / icu / impl / duration / impl / PeriodFormatterDataService.java
1 /*\r
2 ******************************************************************************\r
3 * Copyright (C) 2007, International Business Machines Corporation and   *\r
4 * others. All Rights Reserved.                                               *\r
5 ******************************************************************************\r
6 */\r
7 \r
8 package com.ibm.icu.impl.duration.impl;\r
9 \r
10 import java.util.Collection;\r
11 \r
12 /**\r
13  * Abstract service for PeriodFormatterData, which defines the\r
14  * localization data used by period formatters.\r
15  */\r
16 public abstract class PeriodFormatterDataService {\r
17   /**\r
18    * Returns a PeriodFormatterData for the given locale name.\r
19    *\r
20    * @param localeName the name of the locale\r
21    * @return a PeriodFormatterData object\r
22    */\r
23   public abstract PeriodFormatterData get(String localeName);\r
24 \r
25   /**\r
26    * Returns a collection of all the locale names supported by this\r
27    * service.\r
28    *\r
29    * @return a collection of locale names, as String\r
30    */\r
31   public abstract Collection getAvailableLocales();\r
32 }\r