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/southafrica"
SouthAfrica
Class SouthAfrica
South-African calendar
Holidays:
Saturdays
Sundays
New Year's Day, January 1st (possibly moved to Monday)
Good Friday
Family Day, Easter Monday
Human Rights Day, March 21st (possibly moved to Monday)
Freedom Day, April 27th (possibly moved to Monday)
Workers Day, May 1st (possibly moved to Monday)
Youth Day, June 16th (possibly moved to Monday)
National Women's Day, August 9th (possibly moved to Monday)
Heritage Day, September 24th (possibly moved to Monday)
Day of Reconciliation, December 16th (possibly moved to Monday)
Christmas, December 25th
Day of Goodwill, December 26th (possibly moved to Monday)
Election Days
Hierarchy
Calendar
SouthAfrica
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
South
Africa
(
)
:
SouthAfrica
Returns
SouthAfrica
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/southafrica"
South
Africa
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
South-African calendar
Holidays: