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/switzerland"
Switzerland
Class Switzerland
Swiss calendar
Holidays:
Saturdays
Sundays
New Year's Day, January 1st
Berchtoldstag, January 2nd
Good Friday
Easter Monday
Ascension Day
Whit Monday
Labour Day, May 1st
National Day, August 1st
Christmas, December 25th
St. Stephen's Day, December 26th
Hierarchy
Calendar
Switzerland
Index
Classes
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
Switzerland
(
)
:
Switzerland
Returns
Switzerland
Properties
Protected
_impl
_impl
:
Impl
Static
impl
impl
:
Impl
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/switzerland"
Switzerland
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
Swiss calendar
Holidays: