Start of Tutorial > Start of Trail | Search |
This lesson explains how to format numbers, currencies, dates, times, and text messages. Because end users can see these data elements, their format must conform to various cultural conventions. Following the examples in this lesson will teach you how to:
- Format data elements in a locale-sensitive manner
- Keep your code locale-independent
- Avoid the need to write formatting routines for specific locales
This section explains how to use theNumberFormat
,DecimalFormat
, andDecimalFormatSymbols
classes.
This section focuses on theDateFormat
,SimpleDateFormat
, andDateFormatSymbols
classes.
This section shows how theMessageFormat
andChoiceFormat
classes can help you solve some of the problems you might encounter when formatting text messages.
Start of Tutorial > Start of Trail | Search |