quantlib.time.date.Period.length

Period.length

The length of the period.