Tenor - corda

corda / net.corda.finance.contracts / Tenor

# Tenor

`data class Tenor`

Placeholder class for the Tenor datatype - which is a standardised duration of time until maturity

### Types

#### TimeUnit | `enum class TimeUnit`

### Constructors

#### <init> | Placeholder class for the Tenor datatype - which is a standardised duration of time until maturity `Tenor(name: String)`

### Properties

#### name | `val name: String`

### Functions

#### daysToMaturity | `fun daysToMaturity(startDate: LocalDate, calendar: BusinessCalendar): Int`
#### toString | `fun toString(): String`