Options
All
  • Public
  • Public/Protected
  • All
Menu

United States calendars

Public holidays (see: http://www.opm.gov/fedhol/):

  • Saturdays
  • Sundays
  • New Year's Day, January 1st (possibly moved to Monday if actually on Sunday, or to Friday if on Saturday)
  • Martin Luther King's birthday, third Monday in January (since 1983)
  • Presidents' Day (a.k.a. Washington's birthday), third Monday in February
  • Memorial Day, last Monday in May
  • Independence Day, July 4th (moved to Monday if Sunday or Friday if Saturday)
  • Labor Day, first Monday in September
  • Columbus Day, second Monday in October
  • Veterans' Day, November 11th (moved to Monday if Sunday or Friday if Saturday)
  • Thanksgiving Day, fourth Thursday in November
  • Christmas, December 25th (moved to Monday if Sunday or Friday if Saturday)

Note that since 2015 Independence Day only impacts Libor if it falls on a weekday (see https://www.theice.com/iba/libor, https://www.theice.com/marketdata/reports/170 and https://www.theice.com/publicdocs/LIBOR_Holiday_Calendar_2015.pdf for the fixing and value date calendars).

Holidays for the stock exchange (data from http://www.nyse.com):

  • Saturdays
  • Sundays
  • New Year's Day, January 1st (possibly moved to Monday if actually on Sunday)
  • Martin Luther King's birthday, third Monday in January (since 1998)
  • Presidents' Day (a.k.a. Washington's birthday), third Monday in February
  • Good Friday
  • Memorial Day, last Monday in May
  • Independence Day, July 4th (moved to Monday if Sunday or Friday if Saturday)
  • Labor Day, first Monday in September
  • Thanksgiving Day, fourth Thursday in November
  • Presidential election day, first Tuesday in November of election years (until 1980)
  • Christmas, December 25th (moved to Monday if Sunday or Friday if Saturday)
  • Special historic closings (see http://www.nyse.com/pdfs/closings.pdf)

Holidays for the government bond market (data from http://www.bondmarkets.com):

  • Saturdays
  • Sundays
  • New Year's Day, January 1st (possibly moved to Monday if actually on Sunday)
  • Martin Luther King's birthday, third Monday in January (since 1983)
  • Presidents' Day (a.k.a. Washington's birthday), third Monday in February
  • Good Friday
  • Memorial Day, last Monday in May
  • Independence Day, July 4th (moved to Monday if Sunday or Friday if Saturday)
  • Labor Day, first Monday in September
  • Columbus Day, second Monday in October
  • Veterans' Day, November 11th (moved to Monday if Sunday or Friday if Saturday)
  • Thanksgiving Day, fourth Thursday in November
  • Christmas, December 25th (moved to Monday if Sunday or Friday if Saturday)

Holidays for the North American Energy Reliability Council (data from http://www.nerc.com/~oc/offpeaks.html):

  • Saturdays
  • Sundays
  • New Year's Day, January 1st (possibly moved to Monday if actually on Sunday)
  • Memorial Day, last Monday in May
  • Independence Day, July 4th (moved to Monday if Sunday)
  • Labor Day, first Monday in September
  • Thanksgiving Day, fourth Thursday in November
  • Christmas, December 25th (moved to Monday if Sunday)

test the correctness of the returned results is tested against a list of known holidays.

Hierarchy

Index

Constructors

constructor

Properties

Protected _impl

_impl: Impl

Static federalreserveImpl

federalreserveImpl: FederalReserveImpl

Static governmentImpl

governmentImpl: GovernmentBondImpl

Static liborImpactImpl

liborImpactImpl: LiborImpactImpl

Static nercImpl

nercImpl: NercImpl

Static nyseImpl

nyseImpl: NyseImpl

Static settlementImpl

settlementImpl: SettlementImpl

Accessors

isDisposed

  • get isDisposed(): boolean

Methods

addHoliday

  • addHoliday(d: Date): void
  • Parameters

    • d: Date

    Returns void

adjust

advance1

advance2

  • Parameters

    Returns Date

businessDaysBetween

  • businessDaysBetween(from: Date, to: Date, includeFirst?: boolean, includeLast?: boolean): Day
  • Parameters

    • from: Date
    • to: Date
    • Default value includeFirst: boolean = true
    • Default value includeLast: boolean = false

    Returns Day

dispose

  • dispose(): void
  • Returns void

empty

  • empty(): boolean
  • Returns boolean

endOfMonth

  • endOfMonth(d: Date): Date
  • Parameters

    • d: Date

    Returns Date

isBusinessDay

  • isBusinessDay(d: Date): boolean
  • Parameters

    • d: Date

    Returns boolean

isEndOfMonth

  • isEndOfMonth(d: Date): boolean
  • Parameters

    • d: Date

    Returns boolean

isHoliday

  • isHoliday(d: Date): boolean
  • Parameters

    • d: Date

    Returns boolean

isWeekend

name

  • name(): string
  • Returns string

removeHoliday

  • removeHoliday(d: Date): void
  • Parameters

    • d: Date

    Returns void

Static equal

  • Parameters

    Returns boolean

Static holidayList

  • holidayList(calendar: Calendar, from: Date, to: Date, includeWeekEnds?: boolean): Date[]
  • Parameters

    • calendar: Calendar
    • from: Date
    • to: Date
    • Default value includeWeekEnds: boolean = false

    Returns Date[]

Static isColumbusDay

  • Parameters

    Returns boolean

Static isLaborDay

  • Parameters

    Returns boolean

Static isMemorialDay

  • Parameters

    Returns boolean

Static isVeteransDay

  • Parameters

    Returns boolean

Static isVeteransDayNoSaturday

  • Parameters

    Returns boolean

Static isWashingtonBirthday

  • Parameters

    Returns boolean