NOTA: La traducción de esta documentación es un esfuerzo personal y voluntario, no es un documento oficial de Sun Microsystems ni Oracle ni está patrocinado por ninguna de estas empresas. Los documentos originales (en inglés) están disponibles en: http://java.sun.com/docs/books/tutorial/.
Dirija cualquier comentario, petición, felicitación, etc. a tutorialesjava_@RROBA_codexion.com.
Si desea ayudar a mantener en funcionamiento esta web, colaborar con la traducción de estos documentos o necesita que se traduzca algĂșn capĂ­tulo en concreto puede realizar una donación directa mediante Paypal:
Lesson: Formatting (The Java™ Tutorials > Internationalization)
Formatting
Trail: Internationalization
Lesson: Formatting
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:

Numbers and Currencies

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

Dates and Times

This section focuses on 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 page: Previous Lesson
Next page: Numbers and Currencies