Use Advanced Search to search the entire archive.
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