DayCountFactor class
The day count factor applied to the associated cash flow.
Constructors
-
DayCountFactor(double factor, List<
String> operandLog) -
const
Properties
- factor → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
operandLog
→ List<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toFoldedString(
) → String - Provides a compressed string representation of the factor equation, whilst maintaining formulae integrity. This is achieved by counting the number of whole year operands and representing them as a single number.
-
toString(
) → String -
Provides a string representation of the factor equation,
with the factor displayed to 8 decimal points
e.g. '(31/360) = 0.08611111'
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
operandsToString(
int numerator, int denominator) → String - Provides formatted text containing the operands used in deriving the factor. The operands are transformed into whole years and fractions of years to support compact rendering.