Use Advanced Search to search the entire archive.
Re: Which Quantity sub-types to include in a standard API?
- From: Otávio Gonçalves de Santana <
>
- To:
- Subject: Re: Which Quantity sub-types to include in a standard API?
- Date: Fri, 15 Aug 2014 07:35:22 -0300
I agree with Werner.
On Thu, Aug 14, 2014 at 11:02 AM, Werner Keil
<
>
wrote:
>
"javax.measure.quantity", other than that it sounds good.
>
Please have a look at the (preliminary) draft of the Spec document:
>
https://java.net/downloads/unitsofmeasurement/jsr363.pdf
>
Chapter 5.3 explains supported units and quantities. I believe above links
>
or their content are also covered by the spec.
>
>
We should either under "implementation" or "examples" also give people an
>
idea how to extend the type system with new interfaces they do not find in
>
the JSR.
>
>
Regards,
>
Werner
>
>
On Thu, Aug 14, 2014 at 3:33 PM, Martin Desruisseaux <
>
>
>
wrote:
>
>
> If we agree that some sub-types of Quantity should be part of the
>
> standard API in order to allow declarations like Unit<Time> to be
>
> implementation-neutral, then we need to agree about which quantities to
>
> choose. This should include the international system (SI), but various
>
> resources on the web may give slightly different lists. I think that
>
> Wikipedia or UCUM are useful, but not authoritative references. I
>
> suggest that we officially adopt the BIPM document as our authoritative
>
> reference (BIPM is the international organisation in charge of SI
>
> definition):
>
>
>
> http://www.bipm.org/utils/common/pdf/si_brochure_8_en.pdf
>
> (much shorter summary available at
>
> http://www.bipm.org/utils/common/pdf/si_summary_en.pdf)
>
>
>
>
>
> I suggest that javax.measure.unit.quantity contains subtypes capable to
>
> express the quantity of all units in the BIPM document, no more no less.
>
> I suggest that if there is any difference between the content of
>
> javax.measure.unit.quantity and BIPM document, we identify those
>
> differences and eventually discuss the justification for such differences.
>
>
>
> Any though?
>
>
>
> Martin
>
>
>
>
>
--
Otávio Gonçalves de Santana
blog:
http://otaviosantana.blogspot.com.br/
twitter:
http://twitter.com/otaviojava
site: *
http://about.me/otaviojava <
http://about.me/otaviojava>*
55 (11) 98255-3513