Options
All
  • Public
  • Public/Protected
  • All
Menu

Predetermined cash flow

this cash flow pays a fractional amount at a given date.

Hierarchy

Index

Constructors

constructor

Properties

Protected _date

_date: Date

_isDisposed

_isDisposed: boolean = false

Protected _nominal

_nominal: Real

_observers

_observers: Set<Observer>

Protected _rate

_rate: Real

Accessors

isDisposed

  • get isDisposed(): boolean

Methods

accept

amount1

amount2

date

  • date(): Date

dispose

  • dispose(): void
  • Returns void

exCouponDate

  • exCouponDate(): Date

hasOccurred

  • hasOccurred(refDate?: Date, includeRefDate?: boolean): boolean
  • returns true if an event has already occurred before a date overloads Event::hasOccurred in order to take Settings.includeTodaysCashflows in account

    Parameters

    • Default value refDate: Date = null
    • Default value includeRefDate: boolean = null

    Returns boolean

nominal

  • Returns Real

notifyObservers

  • notifyObservers(): void
  • This method should be called at the end of non-const methods or when the programmer desires to notify any changes.

    Returns void

rate

  • Returns Real

registerObserver

tradingExCoupon

  • tradingExCoupon(refDate?: Date): boolean
  • returns true if the cashflow is trading ex-coupon on the refDate

    Parameters

    • Default value refDate: Date = null

    Returns boolean

unregisterObserver