Class CalendarUtils
java.lang.Object
overit.geocallapp.wfm.systemsettings.bl.calendar.CalendarUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic YearCalendargetYearCalendar(Long operationCenter, Long year, PoolKit poolKit) Returns the calendar for an operation center or for the company.static booleanstatic DatesumWorkingDays(Date date, int workingDays, Long operationCenter, PoolKit poolKit)
-
Method Details
-
getYearCalendar
public static YearCalendar getYearCalendar(Long operationCenter, Long year, PoolKit poolKit) throws DAException, DAValidateException Returns the calendar for an operation center or for the company.- Parameters:
operationCenter- the operation centeryear- the yearpoolKit- thePoolKit- Returns:
- the
YearCalendar - Throws:
DAExceptionDAValidateException
-
isHoliday
public static boolean isHoliday(Date date, Long operationCenter, PoolKit poolKit) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
sumWorkingDays
public static Date sumWorkingDays(Date date, int workingDays, Long operationCenter, PoolKit poolKit) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-