EssentialsYear Class
Namespace | Skybrud.Essentials.Time |
---|---|
Assembly | Skybrud.Essentials.dll |
Visibility | Public |
Inheritance |
Class describing a year.
public class EssentialsYear : EssentialsPeriod { }
Properties
Type | Name | Summary |
---|---|---|
int | Year |
Gets the year. |
bool | IsLeapYear |
Gets whether the year is a leap year. |
int | Days |
Gets the amount of days in the yeay - |
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). |
EssentialsTime | Start (inherited from EssentialsPeriod) |
Gets a reference to the timestamp representing the start of the period. |
bool | HasStart (inherited from EssentialsPeriod) |
Gets whether the EssentialsPeriod.Start property has a value. |
EssentialsTime | End (inherited from EssentialsPeriod) |
Gets a reference to the timestamp representing the end of the period. |
bool | HasEnd (inherited from EssentialsPeriod) |
Gets whether the EssentialsPeriod.End property has a value. |