Options
All
  • Public
  • Public/Protected
  • All
Menu

Mexican calendars

Holidays for the Mexican stock exchange (data from http://www.bmv.com.mx/):

  • Saturdays
  • Sundays
  • New Year's Day, January 1st
  • Constitution Day, first Monday in February (February 5th before 2006)
  • Birthday of Benito Juarez, third Monday in February (March 21st before 2006)
  • Holy Thursday
  • Good Friday
  • Labour Day, May 1st
  • National Day, September 16th
  • Revolution Day, third Monday in November (November 20th before 2006)
  • Our Lady of Guadalupe, December 12th
  • Christmas, December 25th

Hierarchy

Index

Constructors

constructor

Properties

Protected _impl

_impl: Impl

Static impl

impl: BmvImpl

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