Skip to content

Make UnitOfMeasure a subclass of Magnitude. (Formerly: Undesirable redundancy with gist:_millisecond and gist:_one_millisecond and similar.) #61

@uscholdm

Description

@uscholdm

We now have:

  • gist:_one_millisecond a gist:Magnitude
  • gist:_millisecond a gist:UnitOfMeasure

Intuitively, they mean exactly the same thing, so it would be nice to only have one URI. With Magnitude and UnitOfMeasure currently disjoint, we are forced to do this. But what if we could view a unit of measure as simply a magnitude whose decimalValue is 1 and whose unit of measure is itself?

If this can be made to work, we can avoid this unseemly redundancy. I'm looking for a way to do this.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions