quantlib.time.date.Period

class Period(*args)

Bases: object

Class providing a Period (length + time unit) class and implements a limited algebra.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

normalize(self)

Normalises the units.

Attributes

frequency

length

units

normalize(self)

Normalises the units.