This module defines various units used for measuring, counting, and converting between days, months, years, weekdays, and weeks of the year.
The units are organized into types representing these time-related concepts, with operations provided to facilitate conversions and manipulations between them.
@[inline]
Convert Week.Offset
into Day.Offset
.
Equations
Instances For
@[inline]
Convert Day.Offset
into Week.Offset
.
Equations
- day.toWeeks = Std.Time.Internal.UnitVal.ediv day 7