toyears
, tomonths
and todays
functions convert Term objects according
to Daycount.
toyears(x, t)
tomonths(x, t)
todays(x, t)
a Daycount object.
a Term object.
A Term object converted to the units accordingly the used function.
toyears
returns the given Term in years units.
tomonths
returns the given Term in months units.
todays
returns the given Term in days units.