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/daycounters/one"
OneDayCounter
Class OneDayCounter
1/1 day count convention
Hierarchy
DayCounter
OneDayCounter
Index
Classes
Impl
Constructors
constructor
Properties
_impl
Accessors
is
Disposed
Methods
day
Count
dispose
empty
name
year
Fraction
equal
Constructors
constructor
new
One
Day
Counter
(
)
:
OneDayCounter
Returns
OneDayCounter
Properties
Protected
_impl
_impl
:
Impl
Accessors
is
Disposed
get
isDisposed
(
)
:
boolean
Returns
boolean
Methods
day
Count
day
Count
(
d1
:
Date
, d2
:
Date
)
:
number
Parameters
d1:
Date
d2:
Date
Returns
number
dispose
dispose
(
)
:
void
Returns
void
empty
empty
(
)
:
boolean
Returns
boolean
name
name
(
)
:
string
Returns
string
year
Fraction
year
Fraction
(
d1
:
Date
, d2
:
Date
, refPeriodStart
?:
Date
, refPeriodEnd
?:
Date
)
:
Time
Parameters
d1:
Date
d2:
Date
Default value
refPeriodStart:
Date
= null
Default value
refPeriodEnd:
Date
= null
Returns
Time
Static
equal
equal
(
d1
:
DayCounter
, d2
:
DayCounter
)
:
boolean
Parameters
d1:
DayCounter
d2:
DayCounter
Returns
boolean
Globals
"ql/time/daycounters/one"
One
Day
Counter
Impl
constructor
_impl
is
Disposed
day
Count
dispose
empty
name
year
Fraction
equal
1/1 day count convention