O'Reilly logo

Special Edition Using Java 2 Standard Edition by Geoff Friesen, Chuck Cavaness, Brian Keeton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Internationalization Formatting

In most cases, the work that must be done to provide support for internationalization of a Java application is in the formatting of output data for a specific locale. Numbers, dates, and other text can all require formatting before they are displayed. Java provides a set of easy to use classes for formatting data based on standard locale formatting rules. The support for internationalization formatting is provided through the Format class and its specialized set of format classes.

Format Class

The java.text.Format class is an abstract base class that provides support for formatting dates, times, numbers, and other locale sensitive objects into strings and also for parsing strings back into the corresponding objects. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required