Search
Preparing search index...
The search index is not available
quantlib.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ql/time/calendars/mexico"
Mexico
Class Mexico
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
Calendar
Mexico
Index
Enumerations
Market
Classes
Bmv
Impl
Impl
Orthodox
Impl
Western
Impl
Constructors
constructor
Properties
_impl
impl
Accessors
is
Disposed
Methods
add
Holiday
adjust
advance1
advance2
business
Days
Between
dispose
empty
end
OfMonth
is
Business
Day
is
End
OfMonth
is
Holiday
is
Weekend
name
remove
Holiday
equal
holiday
List
Constructors
constructor
new
Mexico
(
market
?:
Market
)
:
Mexico
Parameters
Default value
market:
Market
= Mexico.Market.BMV
Returns
Mexico
Properties
Protected
_impl
_impl
:
Impl
Static
impl
impl
:
BmvImpl
Accessors
is
Disposed
get
isDisposed
(
)
:
boolean
Returns
boolean
Methods
add
Holiday
add
Holiday
(
d
:
Date
)
:
void
Parameters
d:
Date
Returns
void
adjust
adjust
(
d
:
Date
, c
?:
BusinessDayConvention
)
:
Date
Parameters
d:
Date
Default value
c:
BusinessDayConvention
= BusinessDayConvention.Following
Returns
Date
advance1
advance1
(
d
:
Date
, n
:
Integer
, unit
:
TimeUnit
, c
?:
BusinessDayConvention
, endOfMonth
?:
boolean
)
:
Date
Parameters
d:
Date
n:
Integer
unit:
TimeUnit
Default value
c:
BusinessDayConvention
= BusinessDayConvention.Following
Default value
endOfMonth:
boolean
= false
Returns
Date
advance2
advance2
(
d
:
Date
, p
:
Period
, c
?:
BusinessDayConvention
, endOfMonth
?:
boolean
)
:
Date
Parameters
d:
Date
p:
Period
Default value
c:
BusinessDayConvention
= BusinessDayConvention.Following
Default value
endOfMonth:
boolean
= false
Returns
Date
business
Days
Between
business
Days
Between
(
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
end
OfMonth
end
OfMonth
(
d
:
Date
)
:
Date
Parameters
d:
Date
Returns
Date
is
Business
Day
is
Business
Day
(
d
:
Date
)
:
boolean
Parameters
d:
Date
Returns
boolean
is
End
OfMonth
is
End
OfMonth
(
d
:
Date
)
:
boolean
Parameters
d:
Date
Returns
boolean
is
Holiday
is
Holiday
(
d
:
Date
)
:
boolean
Parameters
d:
Date
Returns
boolean
is
Weekend
is
Weekend
(
w
:
Weekday
)
:
boolean
Parameters
w:
Weekday
Returns
boolean
name
name
(
)
:
string
Returns
string
remove
Holiday
remove
Holiday
(
d
:
Date
)
:
void
Parameters
d:
Date
Returns
void
Static
equal
equal
(
c1
:
Calendar
, c2
:
Calendar
)
:
boolean
Parameters
c1:
Calendar
c2:
Calendar
Returns
boolean
Static
holiday
List
holiday
List
(
calendar
:
Calendar
, from
:
Date
, to
:
Date
, includeWeekEnds
?:
boolean
)
:
Date
[]
Parameters
calendar:
Calendar
from:
Date
to:
Date
Default value
includeWeekEnds:
boolean
= false
Returns
Date
[]
Globals
"ql/time/calendars/mexico"
Mexico
Market
Bmv
Impl
Impl
Orthodox
Impl
Western
Impl
constructor
_impl
impl
is
Disposed
add
Holiday
adjust
advance1
advance2
business
Days
Between
dispose
empty
end
OfMonth
is
Business
Day
is
End
OfMonth
is
Holiday
is
Weekend
name
remove
Holiday
equal
holiday
List
Mexican calendars
Holidays for the Mexican stock exchange (data from http://www.bmv.com.mx/):