In order to make time-based Measurement objects easier to
use, add initializers to convert between TimeIntervals and
Measurements.
This allows us to create Measurment objects that specify
their own units, pass them around in our code, and then
easily create TimeIntervals when needed to pass to APIs
that require them.
In order to make time-based Measurement objects easier to use, add initializers to convert between TimeIntervals and Measurements.
This allows us to create Measurment objects that specify their own units, pass them around in our code, and then easily create TimeIntervals when needed to pass to APIs that require them.