Open davedelong opened 6 months ago
Thinking about this some more, I think I could get away with an actual Week
unit type; it would be GTOEDay
and LTOEMonth
. It would require significant verification that the current generic extensions to Fixed<Unit>
apply correctly.
However, it would mean that it should get most functionality "for free".
Desired functionality:
Fixed<LTOEDay>
, get the week (Array<Fixed<Day>>
) that contains itFixed<GTOEMonth>
, get an array of weeks in it, with an option to pad out week arrays so they're all 7 days