baseUnit

The base unit for this unit's measurement system. This is found by traversing the parent chain until reaching a unit with no parent. For example:

  • Seconds.baseUnit returns Seconds (it has no parent)

  • Milliseconds.baseUnit returns Seconds (direct parent is base)

  • Hours.baseUnit returns Seconds (traverses: Hours -> Minutes -> Seconds)

  • Days.baseUnit returns Seconds (traverses: Days -> Hours -> Minutes -> Seconds)

All units in the same measurement system share the same base unit.