Table of Contents

Class Calendar.WesternImpl

Namespace
NanoQL.Time
Assembly
NanoQL.dll

The Western calendars' weekend (Saturday and Sunday) and Easter Monday.

protected static class Calendar.WesternImpl
Inheritance
Calendar.WesternImpl
Inherited Members

Methods

EasterMonday(int)

Easter Monday, as a day of the year.

public static int EasterMonday(int y)

Parameters

y int

The year, 1901 to 2199.

Returns

int

The day of the year, one-based.

IsWeekend(Weekday)

Whether the weekday is a Western weekend day: Saturday or Sunday.

public static bool IsWeekend(Weekday w)

Parameters

w Weekday

The weekday.

Returns

bool

true on Saturday and Sunday.