quantlib.time.daycounters.simple.SimpleDayCounter¶
- class SimpleDayCounter¶
Bases:
DayCounter
- __init__()¶
Methods
__init__
()day_count
(self, Date date1, Date date2)Returns the number of days between two dates.
from_name
(cls, name)year_fraction
(self, Date date1, Date date2, ...)Returns the period between two dates as a fraction of year.
Attributes
name