You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subsequently to #181 , it should be possible to perform simple computations on week days.
Given an epoch, one may wish to find the next Monday or the previous Friday. This could be done with my_epoch.when_next(Weekday::Monday) or my_epoch.when_previous(Weekday::Friday).
This implementation requires computing the day of the week in the current time scale first (and this is a required computation in #181 ).
The text was updated successfully, but these errors were encountered:
Also add `with_hms` and `with_hms_strict` to set the time of a given Epoch
Closesnyx-space#183
Signed-off-by: Christopher Rabotin <christopher.rabotin@gmail.com>
Subsequently to #181 , it should be possible to perform simple computations on week days.
Given an epoch, one may wish to find the next Monday or the previous Friday. This could be done with
my_epoch.when_next(Weekday::Monday)
ormy_epoch.when_previous(Weekday::Friday)
.This implementation requires computing the day of the week in the current time scale first (and this is a required computation in #181 ).
The text was updated successfully, but these errors were encountered: