com.ibm.icu.impl.duration.impl.PeriodFormatterDataService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
// © 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 - 2025 Weber Informatics LLC | Privacy Policy