Quantity/Formatter Java Objects

Open source project by the PC Automation Inc. software development team.

September, 2002.

 

This open-source project involves the development of quantity/formatter java classes under the model/delegate paradigm. We currently have 5 quantities/formatters:

 

Currency.java – quantity class for currency

CurrencyFormat.java – formatter class for currency objects; includes: formatter for scale and conversion on currency-type ($ CDN, $US, Euro and $AUS)

CurrencyTest.java – regression test class for Currency and Currency Format.

 

Distance.java – quantity class for distance

DistanceFormat.java – formatter class for distance objects; includes: formatter for scale and conversion on imperial and metric measurements

DistanceTest.java – regression test class for Distance and DistanceFormat

 

ElapsedTime.java – quantity class for elapsed time

ElapsedTimeFormat.java – formatter class for elapsed time objects; includes: formatter for scale and conversion of date/time into (and from) user-supplied date/time patterns

ElapsedTimeTest.java – regression test class for ElapsedTime and ElapsedTimeFormat

 

Temperature.java – quantity class for temperature

TemperatureFormat.java – formatter class for temperature objects; includes: formatter for scale and conversion on Kelvin, Fahrenheit and Celsius

TemperatureTest.java – regression test class for Temperature and TemperatureFormat

 

Weight.java – quantity class for weight

WeightFormat.java – formatter class for weight objects; includes: formatter for scale and conversion on imperial and metric measurements

WeightTest.java – regression test class for Weight and WeightFormat

 

These classes are free for use and download under the Mozilla Public License version 1.1 (MPL 1.1). Please visit our SourceForge repository to download or contribute to the latest class libraries and JavaDocs.

SourceForge Logo

PC Automation Inc. Logo