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/experimental/commodities/pricingperiod"
PricingPeriod
Class PricingPeriod
Time pricingperiod described by a number of a given time unit
Hierarchy
DateInterval
PricingPeriod
Index
Constructors
constructor
Properties
_end
Date
_payment
Date
_quantity
_start
Date
Methods
end
Date
equal
init
intersection
is
Date
Between
payment
Date
quantity
start
Date
Constructors
constructor
new
Pricing
Period
(
startDate
:
Date
, endDate
:
Date
, paymentDate
:
Date
, quantity
:
Quantity
)
:
PricingPeriod
Parameters
startDate:
Date
endDate:
Date
paymentDate:
Date
quantity:
Quantity
Returns
PricingPeriod
Properties
_end
Date
_end
Date
:
Date
Private
_payment
Date
_payment
Date
:
Date
Private
_quantity
_quantity
:
Quantity
_start
Date
_start
Date
:
Date
Methods
end
Date
end
Date
(
)
:
Date
Returns
Date
equal
equal
(
rhs
:
DateInterval
)
:
boolean
Parameters
rhs:
DateInterval
Returns
boolean
init
init
(
startDate
:
Date
, endDate
:
Date
)
:
DateInterval
Parameters
startDate:
Date
endDate:
Date
Returns
DateInterval
intersection
intersection
(
di
:
DateInterval
)
:
DateInterval
Parameters
di:
DateInterval
Returns
DateInterval
is
Date
Between
is
Date
Between
(
date
:
Date
, includeFirst
?:
boolean
, includeLast
?:
boolean
)
:
boolean
Parameters
date:
Date
Default value
includeFirst:
boolean
= true
Default value
includeLast:
boolean
= true
Returns
boolean
payment
Date
payment
Date
(
)
:
Date
Returns
Date
quantity
quantity
(
)
:
Quantity
Returns
Quantity
start
Date
start
Date
(
)
:
Date
Returns
Date
Globals
"ql/experimental/commodities/pricingperiod"
Pricing
Period
constructor
_end
Date
_payment
Date
_quantity
_start
Date
end
Date
equal
init
intersection
is
Date
Between
payment
Date
quantity
start
Date
Pricing
Periods
Time pricingperiod described by a number of a given time unit