com.force.i18n.LocaleAttributesUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grammaticus Show documentation
Show all versions of grammaticus Show documentation
Localization Framework that allows grammatically correct renaming of nouns
/*
* Copyright (c) 2017, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
package com.force.i18n;
import java.util.Locale;
/**
* Provides extra attributes about Locale instances.
* @author jared.pearson
*/
public interface LocaleAttributesUtil {
/**
* @return true when the specified locale should be considered "formal", in that you should always use the full
* name when addressing a user.
* @param locale the locale to test
*/
public boolean isFormalLocale(Locale locale);
/**
* @return true when the specified locale uses an eastern name order.
* @param locale the locale to test
*/
public boolean useEasternNameOrder(Locale locale);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy