EU200848EC class

The European Union Directive 2008/48/EC (Consumer Credit Directive) day count convention, used exclusively within EU member states in the computation of the Annual Percentage Rate of Charge (APRC) for consumer credit agreements.

An APRC is used as a measure of the total cost of the credit to the consumer, expressed as an annual percentage of the total amount of credit.

The document containing the rules for determining time intervals can be found at https://ec.europa.eu/info/sites/info/files/guidelines_final.pdf (see ANNEX 1, section 4.1.1)

Constructors

EU200848EC({EUTimePeriod timePeriod = EUTimePeriod.month})
Provides an instance of the 2008/48/EC day count convention object for solving the Annual Percentage Rate (APR) of charge for consumer credit transactions throughout the European Union.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
includeNonFinancingFlows bool
Determines whether non-financing cash flows, such as charges or fees, within a cash flow profile are to be included in the computation of periodic factors.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timePeriod EUTimePeriod
final
usePostDates bool
Defines whether the days counted between cash flows are computed using cash flow post dates (true), or cash flow value dates (false).
finalinherited
useXirrMethod bool
Determines whether to use the XIRR method of determining time periods between cash flow dates (true).
finalinherited

Methods

computeFactor(DateTime d1, DateTime d2) → DayCountFactor
Computes the time interval between dates, expressed in periods defined by the cash flow series frequency. Where the interval between dates used in the calculation cannot be expressed in whole periods, the interval is expressed in whole periods and remaining number of days divided by 365 (or 366 in a leap-year), calculated backwards from the cash flow date to the initial drawdown date.
dayCountOrigin() DayCountOrigin
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited