|
From: Grześ A. <gan...@gm...> - 2013-02-18 11:01:48
|
Hi, I have the following code: Real t = nextEvent();//years Date eventDate = start+t*Years; but this seems to be incorrect, because Period rounds t to an Integer. In the opposite direction I can get a year fraction using dayCounter.yearFraction(). How can I get a date, when I know the start date and the year fraction (possibly greater than 1)? Regards, Grzegorz |