Class Calendar.WesternImpl
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
yintThe 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
wWeekdayThe weekday.