Previous | Next | Trail Map | Internationalization | Contents

Formatting

This lesson describes how to format numbers, currencies, dates, times, and text messages. Because these data elements are visible by end-users, their format must conform to various cultural conventions. By following the examples in this lesson you'll learn how to:

Numbers and Currencies

This section explains how to use the NumberFormat, DecimalFormat, and DecimalFormatSymbols classes.

Dates and Times

In this section you'll learn about the DateFormat, SimpleDateFormat, and DateFormatSymbols classes.

Messages

This section shows how the MessageFormat and ChoiceFormat classes can help you solve some of the problems you might encounter when formatting text messages.


Previous | Next | Trail Map | Internationalization | Contents