Skip to main content

Module weekdays

Module weekdays 

Source
Expand description

upstream calculation/weekdays.ts.

Enums§

WeekdayModifier
The "this" | "next" | "last" modifier word.

Functions§

create_parsing_components_at_weekday
createParsingComponentsAtWeekday(reference, weekday, modifier).
get_backward_days_to_weekday
getBackwardDaysToWeekday(refDate, weekday).
get_days_forward_to_weekday
getDaysForwardToWeekday(refDate, weekday).
get_days_to_weekday
getDaysToWeekday(refDate, weekday, modifier).
get_days_to_weekday_closest
getDaysToWeekdayClosest(refDate, weekday).