Appendium/objectlabkit

LocalDateBackwardHandler doesn't work properly

yogi21jan opened this issue · 1 comments

I am using Date calculator JDK API. I can see problem in LocalDateBackwardHandler.
Let's say 1/11/2018 and 2/11/2018 is a custom holiday and 3/11/2018 and 4/11/2018 are a holiday. I am trying to calculate a business date one day before 5/11/2018. But I am getting the next business date as 5/11/2018. Although I have instantiated LocalDateBackwardHandler. Problem is adjustDate(), which is implemented in LocalDateForwardHandler. LocalDateBackwardHandler doesn't have its own adjustDate().
So it doesn't calculate the business date properly