#include <wx/datetime.h>
Holiday authority that returns holidays common to all Christian religions.
This includes:
Protected Member Functions | |
bool | DoIsHoliday (const wxDateTime &dt) const override |
Override which returns true if provided date is Easter or Christmas. More... | |
size_t | DoGetHolidaysInRange (const wxDateTime &dtStart, const wxDateTime &dtEnd, wxDateTimeArray &holidays) const override |
Override to determine the holidays within a date range. More... | |
Additional Inherited Members | |
![]() | |
static wxDateTime | GetEaster (int year) |
Returns the date for Easter for a given year. More... | |
static wxDateTime | GetThursdayAscension (int year) |
Returns the date for Ascension for a given year. More... | |
static wxDateTime | GetSundayAscension (int year) |
Returns the date for Ascension for a given year. More... | |
![]() | |
static bool | IsHoliday (const wxDateTime &dt) |
Returns true if the given date is a holiday. More... | |
static size_t | GetHolidaysInRange (const wxDateTime &dtStart, const wxDateTime &dtEnd, wxDateTimeArray &holidays) |
Fills the provided array with all holidays in the given range, returns the number of them. More... | |
static void | ClearAllAuthorities () |
Clears the list of holiday authorities. More... | |
static void | AddAuthority (wxDateTimeHolidayAuthority *auth) |
Adds a new holiday authority. More... | |
|
overrideprotectedvirtual |
Override to determine the holidays within a date range.
Reimplemented from wxDateTimeUSCatholicFeasts.
|
overrideprotectedvirtual |
Override which returns true if provided date is Easter or Christmas.
Reimplemented from wxDateTimeUSCatholicFeasts.