Internationalization and localization tools


Locale-Sensitive Java Method

java.util.Calendar

protected Calendar();

protected Calendar(TimeZone zone, Locale aLocale);

Internationalization (I18n) Method Overview

The Calendar constructor creates a Calendar object which produces all the time field values needed to implement the date/time formatting for a particular language and calendar style.

I18n Issues

Calling the Calendar constructor without parameters results in using the default time zone and locale. To ensure proper date/time formatting, use the constructor that requires TimeZone and Locale arguments.

Calendar myCalendar = new Calendar(TimeZone,Locale);

where Locale is the locale of the user. Please see Times and Dates for more information.

Locale-Sensitive Java Methods

 

Lingoport internationalization and localization services and software