Options
All
  • Public
  • Public/Protected
  • All
Menu

Japanese calendar

Holidays:

  • Saturdays
  • Sundays
  • New Year's Day, January 1st
  • Bank Holiday, January 2nd
  • Bank Holiday, January 3rd
  • Coming of Age Day, 2nd Monday in January
  • National Foundation Day, February 11th
  • Vernal Equinox
  • Greenery Day, April 29th
  • Constitution Memorial Day, May 3rd
  • Holiday for a Nation, May 4th
  • Children's Day, May 5th
  • Marine Day, 3rd Monday in July
  • Mountain Day, August 11th (from 2016 onwards)
  • Respect for the Aged Day, 3rd Monday in September
  • Autumnal Equinox
  • Health and Sports Day, 2nd Monday in October
  • National Culture Day, November 3rd
  • Labor Thanksgiving Day, November 23rd
  • Emperor's Birthday, December 23rd
  • Bank Holiday, December 31st
  • a few one-shot holidays

Holidays falling on a Sunday are observed on the Monday following except for the bank holidays associated with the new year.

Hierarchy

Index

Constructors

constructor

Properties

Protected _impl

_impl: Impl

Static impl

impl: Impl

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[]