Java Cookbook
Dates and Times
Calendars and date formatting are central to a properly internationalized application. Java provides several classes that are very useful to the localization developer for handling dates and times.
Java's Calendar class and its sub-classes handle the complex date calculations that go with Chinese, Islamic, Hebrew, and Gregorian calendars, as well as a number of others.
Java's DateFormat class handles formatting dates and times in a locale appropriate manner.
The DateFormatSymbols class contains localized information for date parts like weekdays, eras, months, etc...
If you are testing any of these recipes in Eclipse and the characters are not displaying correctly in your console visit http://i18ncookbook.com/eclipse_settings.
This site is ad supported. I hope you find something among our sponsors worth clicking. ;)
i18n search