|
From: Ferdinando A. <qf...@am...> - 2009-09-01 15:59:06
|
On Tue, Sep 1, 2009 at 3:45 PM, Dima<dim...@go...> wrote: > Wouldn't it make sense to add [to isEndOfMonth]: > if(!isBusinessDay(d)) return false no, it doesn't, at least not in general. E.g. bond maturity date being on a non-business end-of-month day, you might want all other dates to be end-of-month > If I ask for a holiday, such as the 31st of December for the Frankfurt Stock > Exchange > and ask the function if the day isEndOfMonth, I receive true so it would up to you to verify both isEndOfMonth and isBusinessDay ciao -- Nando |