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 DefaultLocaleProvider()
public Locale getLocale(CoreSession repo)
getLocale
in interface LocaleProvider
public Locale getLocale(DocumentModel userProfileDoc)
LocaleProvider
getLocale
in interface LocaleProvider
public TimeZone getTimeZone(CoreSession repo)
getTimeZone
in interface LocaleProvider
Copyright © 2016 Nuxeo SA. All rights reserved.