public class DefaultLocaleProvider extends Object implements LocaleProvider
| Constructor and Description |
|---|
DefaultLocaleProvider() |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getLocale(CoreSession repo) |
Locale |
getLocale(DocumentModel userProfileDoc)
Gets the locale stored in the given user profile.
|
TimeZone |
getTimeZone(CoreSession repo) |
public Locale getLocale(CoreSession repo) throws ClientException
getLocale in interface LocaleProviderClientExceptionpublic Locale getLocale(DocumentModel userProfileDoc)
LocaleProvidergetLocale in interface LocaleProviderpublic TimeZone getTimeZone(CoreSession repo) throws ClientException
getTimeZone in interface LocaleProviderClientExceptionCopyright © 2015 Nuxeo SA. All rights reserved.