Need some help on following items regarding functions in Qunatlib:
- Is there any function available to calculate time between two dates with specific day count convention. For Example, I want to know time between D1 and D2 using 30/360, Act/360, etc day count convention.
- Can we know previous and next coupon dates for bonds on particular date using schedule or some other function in Quantlib. I see schedule provides all cash flow dates but need something which gives previous and next cash flow dates.