Closed rauschma closed 4 weeks ago
Currently there's no plans for mixed units with more than one minor value. However, this is an artifact of Measure having originally emerged from Smart Units, which only needs foot-and-inch, stone-and-pound, pound-and-ounce, and meter-and-centimeter. That said, the revision I'm currently working on does in fact use an array rather than separate major/minor unit properties, firstly because Measure has a lot of use beyond that original context, secondly because it's on the whole cleaner.
I believe a method similar to the split
method from UnitMath would make the most sense, as it would allow for custom unit minor values to be specified.
updated version committed
Measure
: hours-minutes-seconds and degrees-minutes-seconds.value
could become an Array with one or more elements and.minorValue
could be removed.