Interface TimeBasedRateTypeHandler<R extends TimeBasedRateParameters,​D extends TimeBasedRateParametersDTO>

    • Method Detail

      • getInitValue

        Date getInitValue​(Currency currency,
                          Date date)
        Reads the raw initialization value of the rate in case a null rate is encountered. The initialization fields are looked up on the currency. The actual initialization of the rates only takes place when a new ClosedAccountBalance is created. This method does NOT initialized rates, it only reads the initialization values.
        Parameters:
        currency -
        date - the date for which this init value is valid
        Returns:
        the value on which the rate is initialized. Returns null if the rate was not enabled at the given date.