Class Calendar.Event.Date_Weekday

Inheritance graph
Calendar.Event.Event Calendar.Event.Day_Event Calendar.Event.Date_Weekday
Description

This class represents the event that a given gregorian date appears a given weekday. For instance, Event.Date_Weekday(12,10,5)->next(Day()) finds the next 12 of October that is a friday.


Inherit Day_Event

inherit Day_Event : Day_Event


Method create

Calendar.Event.Date_Weekday Calendar.Event.Date_Weekday(int month_day, int month, int weekday)

Description

The event is created by a given month day, a month number (1=January, 12=December), and a weekday number (1=Monday, 7=Sunday).

Note

The week day numbers used are the same as the day of week in the ISO calendar - the Gregorian calendar has 1=Sunday, 7=Saturday.