Options
All
  • Public
  • Public/Protected
  • All
Menu

Indian calendars

Holidays for the National Stock Exchange (data from http://www.nse-india.com/):

  • Saturdays
  • Sundays
  • Republic Day, January 26th
  • Good Friday
  • Ambedkar Jayanti, April 14th
  • May Day, May 1st
  • Independence Day, August 15th
  • Gandhi Jayanti, October 2nd
  • Christmas, December 25th

Other holidays for which no rule is given (data available for 2005-2014 only:)

  • Bakri Id
  • Moharram
  • Mahashivratri
  • Holi
  • Ram Navami
  • Mahavir Jayanti
  • Id-E-Milad
  • Maharashtra Day
  • Buddha Pournima
  • Ganesh Chaturthi
  • Dasara
  • Laxmi Puja
  • Bhaubeej
  • Ramzan Id
  • Guru Nanak Jayanti

Hierarchy

Index

Constructors

constructor

Properties

Protected _impl

_impl: Impl

Static impl

impl: NseImpl

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