Use Advanced Search to search the entire archive.
[jsr363-experts] Re: Trivial formatting proposals
- From: Werner Keil <
>
- To:
- Subject: [jsr363-experts] Re: Trivial formatting proposals
- Date: Sun, 14 Dec 2014 11:51:29 +0100
The spec explains that, but implementors in the US could chose differently.
As of now we don't usually return a name, just "m".
While UnitFormat in environments like SE could use a Locale, that's not
available in ME. So strictly speaking we might have to cut back on the RI,
e.g. just use the locale neutral UCUM one would be an option. Since
"format" is optional for a good reason, maybe we simply have to break the
RI up into modules (until we come to devices too tiny for the ~30k JAR we
could avoid it for the API as long as those remain optional;-) then some
can be used on ME, some on SE Embedded.
Werner
Am 14.12.2014 06:17 schrieb "Martin Desruisseaux" <
>:
>
Le 14/12/14 12:45, Martin Desruisseaux a écrit :
>
>
Either we provide a Locale argument, or we specify in the Javadoc which
>
symbol or name shall be used. For SI it sound easy: the symbols as defined
>
by BIPM. But for imperial units?
>
>
>
E.g. should the javadoc specifies that we use "metre", not "meter" ?
>
>
Martin
>
>