getLocale() is returning a Locale object, not a String.
This Locale object can be used in java date utility classes like Calendar, GregorianCalendar etc.
For instance, I see a method in GregorianCalendar class, public GregorianCalendar(Locale aLocale), which probably returns you the date time constructed according to the Locale object you pass.
Hi!
we can call Locale like localization. For instance if the application want's to run in the English, Germany, Italy for that purpose we can go for the Locale. But my problems is different i want to findout the user timezone without the help of the javascript. As per u if i use the request.getLocale i will get the user locale object there is no doubt
For instance if the user runs the application from FRANCE in the KOREA LANGUAGE and I WILL GET THE LOCALE OBJECT AS a KOREA LOCALE not the FRANCE LOCALE. So i think this is not possible thru Locale object and if it's please give me a code. Thanks in Advance.