Class Poland
The Polish calendar.
public sealed class Poland : Calendar, IEquatable<Calendar>
- Inheritance
-
Poland
- Implements
- Inherited Members
Remarks
Holidays:
- Saturdays
- Sundays
- Easter Monday
- Corpus Christi
- New Year's Day, January 1st
- Epiphany, January 6th (since 2011)
- May Day, May 1st
- Constitution Day, May 3rd
- Assumption of the Blessed Virgin Mary, August 15th
- All Saints Day, November 1st
- Independence Day, November 11th
- Christmas, December 25th
- 2nd Day of Christmas, December 26th
Constructors
Poland(PolandMarket)
Initializes a new instance of the Poland class for the given market.
public Poland(PolandMarket market = PolandMarket.Settlement)
Parameters
marketPolandMarketThe market whose holidays the calendar follows.
Exceptions
- ArgumentOutOfRangeException
The market isn't a member of the enum.
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.