Fix typo in docs for FixOf where Duration should be Tenor

This commit is contained in:
verymahler 2017-02-20 16:36:26 +01:00 committed by Mike Hearn
parent ade32b16cb
commit ecbed715ad
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ Here is an extract from the ``NodeInterestRates.Oracle`` class and supporting ty
.. sourcecode:: kotlin
/** A [FixOf] identifies the question side of a fix: what day, tenor and type of fix ("LIBOR", "EURIBOR" etc) */
data class FixOf(val name: String, val forDay: LocalDate, val ofTenor: Duration)
data class FixOf(val name: String, val forDay: LocalDate, val ofTenor: Tenor)
/** A [Fix] represents a named interest rate, on a given day, for a given duration. It can be embedded in a tx. */
data class Fix(val of: FixOf, val value: BigDecimal) : CommandData

View File

@ -104,7 +104,7 @@ Here is an extract from the ``NodeInterestRates.Oracle`` class and supporting ty
.. sourcecode:: kotlin
/** A [FixOf] identifies the question side of a fix: what day, tenor and type of fix ("LIBOR", "EURIBOR" etc) */
data class FixOf(val name: String, val forDay: LocalDate, val ofTenor: Duration)
data class FixOf(val name: String, val forDay: LocalDate, val ofTenor: Tenor)
/** A [Fix] represents a named interest rate, on a given day, for a given duration. It can be embedded in a tx. */
data class Fix(val of: FixOf, val value: BigDecimal) : CommandData