Class SouthKorea
The South Korean calendars.
public sealed class SouthKorea : Calendar, IEquatable<Calendar>
- Inheritance
-
SouthKorea
- Implements
- Inherited Members
Remarks
Public holidays:
- Saturdays
- Sundays
- New Year's Day, January 1st
- Independence Day, March 1st
- Arbour Day, April 5th (until 2005)
- Labour Day, May 1st
- Children's Day, May 5th
- Memorial Day, June 6th
- Constitution Day, July 17th (until 2007)
- Liberation Day, August 15th
- National Fondation Day, October 3th
- Hangeul Day, October 9th (from 2013)
- Christmas Day, December 25th
Other holidays for which no rule is given (data available for 2004-2050 only:)
- Lunar New Year, the last day of the previous lunar year
- Election Days
- National Assemblies
- Presidency
- Regional Election Days
- Buddha's birthday
- Harvest Moon Day
Holidays for the Korea exchange (data from http://eng.krx.co.kr/ or http://www.dooriworld.com/daishin/holiday/holiday.html https://www.law.go.kr/%EB%B2%95%EB%A0%B9/%EA%B4%80%EA%B3%B5%EC%84%9C%EC%9D%98%20%EA%B3%B5%ED%9C%B4%EC%9D%BC%EC%97%90%20%EA%B4%80%ED%95%9C%20%EA%B7%9C%EC%A0%95):
- Public holidays as listed above
- Year-end closing
- Occasional closing days
The 2025 presidential election day, June 3rd, 2025, is a holiday, as QuantLib's master has it since 1.44 (#2894); QuantLib 1.44 misses it: a documented divergence.
Constructors
SouthKorea(SouthKoreaMarket)
Initializes a new instance of the SouthKorea class for the given market.
public SouthKorea(SouthKoreaMarket market = SouthKoreaMarket.KRX)
Parameters
marketSouthKoreaMarketThe 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.