The i18n Cookbook - recipies for a global society

  • java cookbook
  • about the author
Home › Java Internationalization Cookbook

Java Cookbook

  • Java Internationalization Cookbook
    • Locales
    • Dates and Times
      • Calendars
      • Formating dates and times
    • Numerical Systems
    • Misc
    • Resource Bundles
    • Unicode, Transliteration, and Charactersets

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...

  • Calendars
  • Formating dates and times
‹ Create an ICU4J ULocale up Calendars ›
  • calendar
  • date format
  • icu4j
  • Java
  • Printer-friendly version
  • Add new comment

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

Google
Custom Search

Search

Tags in Tags

calendar date icu4j Java Locale number format numberformat parse spellout timezone transliteration transliterator
more tags

User login

  • Create new account
  • Request new password
  • java cookbook
  • about the author