com.github.gwtbootstrap.datepicker.client.ui.util
Class LocaleUtil

java.lang.Object
  extended by 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

Constructor Summary
LocaleUtil()
           
 
Method Summary
static void forceLocale(String locale_)
           
static String getLanguage()
           
static String getLocale()
          Get the string of locale based on user's browser configuration.
static TextResource getLocaleJsResource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleUtil

public LocaleUtil()
Method Detail

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.