Class PropertySetUserLocaleStore

java.lang.Object
com.atlassian.jira.user.PropertySetUserLocaleStore
All Implemented Interfaces:
UserLocaleStore

public class PropertySetUserLocaleStore extends Object implements UserLocaleStore
Since:
v6.2.3
  • Constructor Details

  • Method Details

    • getDefaultLocale

      @Nonnull public Locale getDefaultLocale()
      Description copied from interface: UserLocaleStore
      Return the Locale to use for a user without a locale.
      Specified by:
      getDefaultLocale in interface UserLocaleStore
      Returns:
      the default locale of JIRA.
    • getLocale

      @Nonnull public Locale getLocale(ApplicationUser user)
      Description copied from interface: UserLocaleStore
      Return the Locale associated with the passed user.
      Specified by:
      getLocale in interface UserLocaleStore
      Parameters:
      user - the user for the query.
      Returns:
      the Locale associated with the passed user.