Interface PlatformLocaleSupport


  • public interface PlatformLocaleSupport
    Locale information.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Locale getCurrentLocale()
      Gets currently active locale - either that of the current user session, or default, if the user locale is not available.
      java.util.Locale getDefaultLocale()
      Gets default locale (system settings).
    • Method Detail

      • getDefaultLocale

        java.util.Locale getDefaultLocale()
        Gets default locale (system settings).
        Returns:
        default locale
      • getCurrentLocale

        java.util.Locale getCurrentLocale()
        Gets currently active locale - either that of the current user session, or default, if the user locale is not available.
        Returns:
        locale