Pages

29 June 2011

Simple Java Formatting Tool

Representation of numbers, currencies, percentage, date and time values generally varies between countries(e.g. today is in Italy 28-giu-2011, but in Ireland 28-Jun-2011). Instead of customizing each date, time, number etc. format for what local area required, java formatting api should be used. Not only localization but also custom formatting date, time and numbers are possible with this api.

I implemented a simple java desktop application that has text fields with default values(123456789)  that indicates:
  • how date and time will be formatted in selected format style and country
  • how date and number will be for with given formats
  • how currency, number and percentage should be represented in selected country

Java Formatting Demo Application
Java Formatting Demo Application
Download Java Formatting Demo Application with Netbeans Project

No comments:

Post a Comment

Thx for reading! Comments are appreciated...