Options
All
  • Public
  • Public/Protected
  • All
Menu

30/360 day count convention

The 30/360 day count can be calculated according to US, European, or Italian conventions.

US (NASD) convention: if the starting date is the 31st of a month, it becomes equal to the 30th of the same month. If the ending date is the 31st of a month and the starting date is earlier than the 30th of a month, the ending date becomes equal to the 1st of the next month, otherwise the ending date becomes equal to the 30th of the same month. Also known as "30/360", "360/360", or "Bond Basis"

European convention: starting dates or ending dates that occur on the 31st of a month become equal to the 30th of the same month. Also known as "30E/360", or "Eurobond Basis"

Italian convention: starting dates or ending dates that occur on February and are grater than 27 become equal to 30 for computational sake.

Hierarchy

Index

Enumerations

Classes

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Parameters

    • Default value c: Convention = Thirty360.Convention.BondBasis

    Returns Thirty360

Properties

Protected _impl

_impl: Impl

Accessors

isDisposed

  • get isDisposed(): boolean

Methods

dayCount

  • dayCount(d1: Date, d2: Date): number
  • Parameters

    • d1: Date
    • d2: Date

    Returns number

dispose

  • dispose(): void

empty

  • empty(): boolean
  • Returns boolean

name

  • name(): string
  • Returns string

yearFraction

  • yearFraction(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

Static implementation

  • Parameters

    Returns Impl