public final class LocaleUtils extends Object
public static Locale toLocale(String localeString)
Locale
class. Accepts both
'_' and '-' as separators for locale components.localeString
- string representation of a localepublic static Locale converterTagLocaleFromString(String name)
name
- name of the localeorg.apache.myfaces.taglib.core.ConvertDateTimeTag#setConverterLocale
,
org.apache.myfaces.taglib.core.ConvertNumberTag#setConverterLocale
Copyright © 2013 Apache Software Foundation. All Rights Reserved.