]> gitweb.fperrin.net Git - Dictionary.git/blob - jars/icu4j-52_1/main/classes/core/src/com/ibm/icu/impl/duration/PeriodFormatterService.java
Clean up imports.
[Dictionary.git] / jars / icu4j-52_1 / main / classes / core / src / com / ibm / icu / impl / duration / PeriodFormatterService.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;
9
10 import java.util.Collection;
11
12 /**
13  * Provider of Factory instances for building PeriodBuilders, PeriodFormatters,
14  * and DurationFormatters.
15  */
16 public interface PeriodFormatterService {
17
18     /**
19      * Creates a new factory for creating DurationFormatters.
20      * 
21      * @return a new DurationFormatterFactory.
22      */
23     DurationFormatterFactory newDurationFormatterFactory();
24
25     /**
26      * Creates a new factory for creating PeriodFormatters.
27      * 
28      * @return a new PeriodFormatterFactory
29      */
30     PeriodFormatterFactory newPeriodFormatterFactory();
31
32     /**
33      * Creates a new factory for creating PeriodBuilders.
34      * 
35      * @return a new PeriodBuilderFactory
36      */
37     PeriodBuilderFactory newPeriodBuilderFactory();
38
39     /**
40      * Return the names of locales supported by factories produced by this
41      * service.
42      * 
43      * @return a collection of String (locale names)
44      */
45     Collection<String> getAvailableLocaleNames();
46 }