docs
4.12
customSourceSet
docs
/
net.corda.finance.contracts
/
Tenor
Tenor
data
class
Tenor
(
val
name
:
String
)
Placeholder class for the Tenor datatype - which is a standardised duration of time until maturity
Members
Constructors
Tenor
Link copied to clipboard
constructor
(
name
:
String
)
Types
Time
Unit
Link copied to clipboard
enum
TimeUnit
:
Enum
<
Tenor.TimeUnit
>
Properties
name
Link copied to clipboard
val
name
:
String
Functions
days
To
Maturity
Link copied to clipboard
fun
daysToMaturity
(
startDate
:
LocalDate
,
calendar
:
BusinessCalendar
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String