public boolean isWorkingDate ( Date date ) { Calendar cal = DateHelper . popCalendar ( date ) ; Day day = Day . getInstance ( cal . get ( Calendar . DAY_OF_WEEK ) ) ; DateHelper . pushCalendar ( cal ) ; return isWorkingDate ( date , day ) ; }
This method allows the caller to determine if a given date is a working day . This method takes account of calendar exceptions .