Skip to main content

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

  • From: Martin Desruisseaux < >
  • To:
  • Subject: Which Quantity sub-types to include in a standard API?
  • Date: Thu, 14 Aug 2014 15:33:30 +0200
  • Organization: Geomatys

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