JuliaFinance / DayCounts.jl

Day count convention calculations
Other
11 stars 4 forks source link

startdate after enddate #5

Closed simonbyrne closed 5 years ago

simonbyrne commented 5 years ago

Should we have the property that:

yearfrac(startdate, enddate, dc) == -yearfrac(enddate, startdate, dc)

? If so, we should have tests for this.

(note that this is different from Excel, which gives the absolute value)