Class Norway
The Norwegian calendar.
public sealed class Norway : Calendar, IEquatable<Calendar>
- Inheritance
-
Norway
- Implements
- Inherited Members
Remarks
Holidays:
- Saturdays
- Sundays
- Holy Thursday
- Good Friday
- Easter Monday
- Ascension
- Whit(Pentecost) Monday
- New Year's Day, January 1st
- May Day, May 1st
- National Independence Day, May 17th
- Christmas Eve, December 24th
- Christmas, December 25th
- Boxing Day, December 26th
Constructors
Norway()
Initializes a new instance of the Norway class.
public Norway()
Properties
Name
Gets the calendar's name, used for output and comparison; not meant for switch-on-type code.
public override string Name { get; }
Property Value
Methods
IsBusinessDayCore(Date)
Whether the date is a business day by the calendar's own rules, before added and removed holidays.
protected override bool IsBusinessDayCore(Date date)
Parameters
dateDate
Returns
IsWeekend(Weekday)
Whether the weekday is part of the weekend for the given market.
public override bool IsWeekend(Weekday w)
Parameters
wWeekdayThe weekday.