CalendarHelper.GetEasterSunday method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll

GetEasterSunday(int)

Static

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

public static DateTime GetEasterSunday(int year)

Parameters

year int

The year.

Returns

An instance of DateTime representing the date of Easter Sunday.