Class France
The French calendars.
public sealed class France : Calendar, IEquatable<Calendar>
- Inheritance
-
France
- Implements
- Inherited Members
Remarks
Public holidays:
- Saturdays
- Sundays
- New Year's Day, January 1st
- Easter Monday
- Labour Day, May 1st
- Armistice 1945, May 8th
- Ascension Thursday
- Whit Monday (Lundi de Pentecôte)
- Fête nationale, July 14th
- Assumption, August 15th
- All Saint's Day, November 1st
- Armistice 1918, November 11th
- Christmas Day, December 25th
Holidays for the stock exchange (data from https://www.stockmarketclock.com/exchanges/euronext-paris/market-holidays/):
- Saturdays
- Sundays
- New Year's Day, January 1st
- Good Friday
- Easter Monday
- Labour Day, May 1st
- Christmas Eve, December 24th
- Christmas Day, December 25th
- Boxing Day, December 26th
- New Year's Eve, December 31st
Ascension and Whit Monday follow Easter, as QuantLib's master has them since 1.44 (#2893); QuantLib 1.44 holds them on May 10th and May 21st, right only when Easter Monday is April 2nd: a documented divergence.
Constructors
France(FranceMarket)
Initializes a new instance of the France class for the given market.
public France(FranceMarket market = FranceMarket.Settlement)
Parameters
marketFranceMarketThe 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.