All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.icu.impl.duration.impl.PeriodFormatterDataService Maven / Gradle / Ivy

There is a newer version: 2.12.15
Show newest version
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html#License
/*
 ******************************************************************************
 * Copyright (C) 2007-2009, International Business Machines Corporation and   *
 * others. All Rights Reserved.                                               *
 ******************************************************************************
 */

package com.ibm.icu.impl.duration.impl;

import java.util.Collection;

/**
 * Abstract service for PeriodFormatterData, which defines the localization data
 * used by period formatters.
 */
public abstract class PeriodFormatterDataService {
    /**
     * Returns a PeriodFormatterData for the given locale name.
     * 
     * @param localeName the name of the locale
     * @return a PeriodFormatterData object
     */
    public abstract PeriodFormatterData get(String localeName);

    /**
     * Returns a collection of all the locale names supported by this service.
     * 
     * @return a collection of locale names, as String
     */
    public abstract Collection getAvailableLocales();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy