EssentialsDateYear Class

Version 1.1.28
.NET Framework 4.8
This class has been marked as obsolete: Use the EssentialsYear class instead.
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll
Visibility Public
Inheritance Object

Class representing a year in the Gregorian calendar.

[Obsolete("Use the EssentialsYear class instead.")]
public class EssentialsDateYear { }

Properties

Type Name Summary
int Year

Gets the year of this instance.

bool IsLeapYear

Gets whether the year is a leap year.

int Days

Gets the amount of days in the yeay - 366 if EssentialsDateYear.IsLeapYear is true, otherwise 365.

DateTime PalmSunday

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

DateTime GetMoundyThursday

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

DateTime GetGoodFriday

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

DateTime GetHolySaturday

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

DateTime EasterSunday

Gets the date of Easter Sunday.

DateTime EasterMonday

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

DateTime StoreBededag

Gets the date of General Prayer Day (or Store Bededag in Danish) - a national holiday in Denmark. It falls on the 4th Friday after Easter.

DateTime AscensionDay

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

DateTime WhitSunday

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).

DateTime WhitMonday

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).