Class Germany
The German calendars.
public sealed class Germany : Calendar, IEquatable<Calendar>
- Inheritance
-
Germany
- Implements
- Inherited Members
Remarks
Public holidays:
- Saturdays
- Sundays
- New Year's Day, January 1st
- Good Friday
- Easter Monday
- Ascension Thursday
- Whit Monday
- Corpus Christi
- Labour Day, May 1st
- National Day, October 3rd
- Christmas Eve, December 24th
- Christmas, December 25th
- Boxing Day, December 26th
Holidays for the Frankfurt Stock exchange (data from http://deutsche-boerse.com/):
- Saturdays
- Sundays
- New Year's Day, January 1st
- Good Friday
- Easter Monday
- Labour Day, May 1st
- Christmas' Eve, December 24th
- Christmas, December 25th
- Christmas Holiday, December 26th
Holidays for the Xetra exchange (data from http://deutsche-boerse.com/):
- Saturdays
- Sundays
- New Year's Day, January 1st
- Good Friday
- Easter Monday
- Labour Day, May 1st
- Christmas' Eve, December 24th
- Christmas, December 25th
- Christmas Holiday, December 26th
Holidays for the Eurex exchange (data from http://www.eurexchange.com/index.html):
- Saturdays
- Sundays
- New Year's Day, January 1st
- Good Friday
- Easter Monday
- Labour Day, May 1st
- Christmas' Eve, December 24th
- Christmas, December 25th
- Christmas Holiday, December 26th
- New Year's Eve, December 31st
Holidays for the Euwax exchange (data from http://www.boerse-stuttgart.de):
- Saturdays
- Sundays
- New Year's Day, January 1st
- Good Friday
- Easter Monday
- Labour Day, May 1st
- Whit Monday
- Christmas' Eve, December 24th
- Christmas, December 25th
- Christmas Holiday, December 26th
Constructors
Germany(GermanyMarket)
Initializes a new instance of the Germany class for the given market.
public Germany(GermanyMarket market = GermanyMarket.FrankfurtStockExchange)
Parameters
marketGermanyMarketThe 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.