CalendarHelper Class

Version 1.1.28
.NET Framework 4.8
This class has been marked as obsolete: Use the CalendarUtils class instead.
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.

[Obsolete("Use the CalendarUtils class instead.")]
public static class CalendarHelper { }

Methods

Gets the date of Ascension Day, which is celebrated on a Thursday, the fortieth day of Easter (the 6th Thursday after Moundy Thursday).

Gets an instance of DateTime representing the date of Boxing Day (26th of December).

Gets an instance of DateTime representing the date of Christmas Day (25th of December).

Gets an instance of DateTime representing the date of Christmas Eve (24th of December).

Gets the date of Easter Monday, which falls on the Monday after Easter.

Calculates the date of Easter Sunday in the specified year according to Western Christianity and the Gregorian calendar.

Gets the date of Good Friday, which falls on the Friday before Easter.

Gets an instance of DateTime representing Groundhog Day (2nd of February).

Gets the date of Holy Saturday, which falls on the Saturday before Easter.

Gets the date of Moundy Thursday, which falls on the Thursday before Easter.

Gets an instance of DateTime representing New Year's Day (1st of January).

Gets an instance of DateTime representing the date of New Year's Eve (31st of December).

Gets the date of Palm Sunday, which falls on the Sunday before Easter.

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 year, Whit Monday falls within the period from the 11th of May to the 14th of June (both inclusive).

Gets the date of Whit Sunday, which is celebrated on the 7th Sunday after Easter.

Depending on the year, Whit Sunday falls within the period from the 10th of May to the 13th of June (both inclusive).

Gets an instance of DateTime representing the date of Saint Lucy's Day (13th of December).

Gets an instance of DateTime representing Saint Patrick's Day. Saint Partick'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.