Skip to main content

Module day_of_week

Module day_of_week 

Expand description

Day-of-week primitive, and the weekday-in-month arithmetic the roll families are written in.

Enums§

DayOfWeek
A day of the week (FpML DayOfWeekEnum).

Functions§

next_weekday
The first weekday on or after date. Returns date when it already falls on that day. Calendar-blind: the result may be a holiday.
nth_weekday
The nth occurrence of weekday in (year, month), counting from one.