Skip to main content

Re: Which Quantity sub-types to include in a standard API?

  • From: Werner Keil < >
  • To:
  • Subject: Re: Which Quantity sub-types to include in a standard API?
  • Date: Thu, 14 Aug 2014 16:02:53 +0200

"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
>
>


Which Quantity sub-types to include in a standard API?

Martin Desruisseaux 08/14/2014

Re: Which Quantity sub-types to include in a standard API?

Werner Keil 08/14/2014

Re: Which Quantity sub-types to include in a standard API?

Otávio Gonçalves de Santana 08/15/2014

Re: Which Quantity sub-types to include in a standard API?

Werner Keil 08/19/2014
 
 
Close
loading
Please Confirm
Close