com.github.gwtbootstrap.datepicker.client.ui.util
Class LocaleUtil
java.lang.Object
com.github.gwtbootstrap.datepicker.client.ui.util.LocaleUtil
public class LocaleUtil
- extends Object
A utility class to get the User's Browser Locale.
- Since:
- 2.0.4.0
- Author:
- Carlos A Becker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocaleUtil
public LocaleUtil()
getLanguage
public static String getLanguage()
getLocale
public static String getLocale()
- Get the string of locale based on user's browser configuration.
- Returns:
getLocaleJsResource
public static TextResource getLocaleJsResource()
forceLocale
public static final void forceLocale(String locale_)
Copyright © 2012 gwtbootstrap. All Rights Reserved.