public interface

UserLocaleStore

com.atlassian.jira.user.UserLocaleStore
Known Indirect Subclasses

Class Overview

Store that deals with an user's configured locale.

Summary

Public Methods
@Nonnull Locale getDefaultLocale()
Return the Locale to use for a user without a locale.
@Nonnull Locale getLocale(ApplicationUser user)
Return the Locale associated with the passed user.

Public Methods

@Nonnull public Locale getDefaultLocale ()

Return the Locale to use for a user without a locale.

Returns
  • the default locale of JIRA.

@Nonnull public Locale getLocale (ApplicationUser user)

Return the Locale associated with the passed user.

Parameters
user the user for the query.
Returns
  • the Locale associated with the passed user.