Noda Time
GetCopticCalendar Method (minDaysInFirstWeek)
NamespacesNodaTimeCalendarSystemGetCopticCalendar(Int32)
Returns a Coptic calendar system, which defines every fourth year as leap, much like the Julian calendar. The year is broken down into 12 months, each 30 days in length. An extra period at the end of the year is either 5 or 6 days in length. In this implementation, it is considered a 13th month.
Declaration Syntax
C#Visual BasicVisual C++
public static CalendarSystem GetCopticCalendar(
	int minDaysInFirstWeek
)
Public Shared Function GetCopticCalendar ( _
	minDaysInFirstWeek As Integer _
) As CalendarSystem
public:
static CalendarSystem^ GetCopticCalendar(
	int minDaysInFirstWeek
)
Parameters
minDaysInFirstWeek (Int32)
The minimum number of days in the first week of the year. When computing the WeekOfWeekYear and WeekYear properties of a particular date, this is used to decide at what point the week year changes.
Return Value
A suitable Coptic calendar reference; the same reference may be returned by several calls as the object is immutable and thread-safe.
Remarks

Year 1 in the Coptic calendar began on August 29, 284 CE (Julian), thus Coptic years do not begin at the same time as Julian years. This calendar is not proleptic, as it does not allow dates before the first Coptic year.

This implementation defines a day as midnight to midnight exactly as per the ISO calendar. Some references indicate that a Coptic day starts at sunset on the previous ISO day, but this has not been confirmed and is not implemented.

Assembly: NodaTime (Module: NodaTime) Version: 1.0.0.0 (1.0.1)