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