CalendarUtils Class
Namespace | Skybrud.Essentials.Time |
---|---|
Assembly | Skybrud.Essentials.dll |
Visibility | Public |
Keywords | Static |
Inheritance | Object |
Utility class used for calculating the dates of varios international and national days.
public static class CalendarUtils { }
Methods
GetAscensionDay(int)
(static)
Gets the date of Ascension Day, which is celebrated on a Thursday, the fortieth day of Easter (the 6th Thursday after Moundy Thursday). |
GetBoxingDay(int)
(static)
Gets an instance of DateTime representing the date of Boxing Day (26th of December). |
GetChristmasDay(int)
(static)
Gets an instance of DateTime representing the date of Christmas Day (25th of December). |
GetChristmasEve(int)
(static)
Gets an instance of DateTime representing the date of Christmas Eve (24th of December). |
GetEasterMonday(int)
(static)
Gets the date of Easter Monday, which falls on the Monday after Easter. |
GetEasterSunday(int)
(static)
Calculates the date of Easter Sunday in the specified |
GetGoodFriday(int)
(static)
Gets the date of Good Friday, which falls on the Friday before Easter. |
GetGroundhogDay(int)
(static)
Gets an instance of DateTime representing the date of Groundhog Day (2nd of February). |
GetHolySaturday(int)
(static)
Gets the date of Holy Saturday, which falls on the Saturday before Easter. |
GetMoundyThursday(int)
(static)
Gets the date of Moundy Thursday, which falls on the Thursday before Easter. |
GetNewYearsDay(int)
(static)
Gets an instance of DateTime representing the date of New Year's Day (1st of January). |
GetNewYearsEve(int)
(static)
Gets an instance of DateTime representing the date of New Year's Eve (31st of December). |
GetPalmSunday(int)
(static)
Gets the date of Palm Sunday, which falls on the Sunday before Easter. |
GetWhitMonday(int)
(static)
Gets the date of Whit Monday, which is celebrated the day after Whit Sunday. Whit Sunday is the 7th Sunday after Easter. Depending on the |
GetWhitSunday(int)
(static)
Gets the date of Whit Sunday, which is celebrated on the 7th Sunday after Easter. Depending on the |
SaintLucysDay(int)
(static)
Gets an instance of DateTime representing the date of Saint Lucy's Day (13th of December). |
SaintPatricksDay(int)
(static)
Gets an instance of DateTime representing the date of Saint Patrick's Day. Saint Patrick's Day is a cultural and religious celebration held on 17 March, the traditional death date of Saint Patrick, the foremost patron saint of Ireland. |