| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| Java-units.1.89.J01.tar.gz | 2012-04-06 | 330.7 kB | |
| README | 2012-04-06 | 1.4 kB | |
| Totals: 2 Items | 332.1 kB | 0 | |
Java-units 1.89.J01
-------------------
This release mimicks version 1.89e of GNU units by offering
three new features:
1. Conversion to mixed units, for example, meters to feet and inches,
or time to hours, minutes and seconds, like these:
2 m = 6 ft + 6 in + 6|8in (rounded up to nearest 1|8in)
2 years = 17531 hours + 37 min + 31.949357 sec
To save typing, patterns used for such conversions may be defined
in units data file as 'unit list aliases'.
2. Unicode support. Java works internally with double-byte Unicode
characters. The units data file must now use the UTF-8 encoding,
so you can use Unicode characters in unit names.
However, the access to them is restricted by the GUI font,
the encoding used by the operating system for command-line
input and output, and by what you can enter from the keyboard.
You can change the font and encoding using properties
and command-line options.
3. Unit names may end with a digit other than zero, if the digit
is preceded by an underscore, e.g. 'NO_2'.
Internally, a generated parser is now used to read the units data file,
and a lot of code clean-up has been done.
Because of the extensive changes, you may regard this release
as a beta-version, and are welcome to report any problems
at the SourceForge page, or directly to roman.redz at swipnet.se.