Package Summary  Overview Summary

method:of(java.util.Locale) [CHANGED]

  • of

    public static DecimalStyle of​(Locale locale)
    Obtains the DecimalStyle for the specified locale.

    This method provides access to locale sensitive decimal style symbols. If the locale contains "nu" (Numbering System) and/or "rg" (Region Override) Unicode extensions , returned instance will reflect the values specified with those extensions. If both "nu" and "rg" are specified, the value from the "nu" extension supersedes the implicit one from the "rg" extension.

    Parameters:
    locale - the locale, not null
    Returns:
    the decimal style, not null
  • of

    public static DecimalStyle of​(Locale locale)
    Obtains the DecimalStyle for the specified locale.

    This method provides access to locale sensitive decimal style symbols.

    Parameters:
    locale - the locale, not null
    Returns:
    the decimal style, not null
  • of

    public static DecimalStyle of​(Locale locale)
    Obtains the DecimalStyle for the specified locale.

    This method provides access to locale sensitive decimal style symbols. If the locale contains "nu" (Numbering System) and/or "rg" (Region Override) Unicode extensions , returned instance will reflect the values specified with those extensions. If both "nu" and "rg" are specified, the value from the "nu" extension supersedes the implicit one from the "rg" extension.

    Parameters:
    locale - the locale, not null
    Returns:
    the decimal style, not null