dib
returns the days in base, that is the number of days used to
define one year.
dib(x)
a Daycount object.
A numeric with daycount's days in base, the number of days in a year used in the convention.
The method dib
returns the days in base for a daycount convention.
Since we work with annual rates the days in base define the amount of days
in a year used in the convention.
dc <- daycount("actual/360")
dib(dc)
#> [1] 360