Options
All
  • Public
  • Public/Protected
  • All
Menu

partial calendar implementation

This class provides the means of determining the Easter Monday for a given year, as well as specifying Saturdays and Sundays as weekend days.

Hierarchy

Index

Constructors

constructor

Properties

addedHolidays

addedHolidays: Set<Natural>

removedHolidays

removedHolidays: Set<Natural>

Accessors

isDisposed

  • get isDisposed(): boolean
  • Returns boolean

Methods

dispose

  • dispose(): void
  • Returns void

isBusinessDay

  • isBusinessDay(d: Date): boolean
  • Parameters

    • d: Date

    Returns boolean

isWeekend

name

  • name(): string
  • Returns string

Static easterMonday

  • Parameters

    Returns Day