droolsjbpm/jbpm — pull request #103 by mswiderski (2012-05-07 14:38:40+00:00)
Title: JBPM-3600 Add Business Calendar in jbpm 5.x

Initial implementation of business calendar that is integrated with timer functionality in processes. BusinessCalendarImpl is the default implementation that can be configured with simple property file that instructs the calendar about:
* business.hours.per.week - specifies number of working days per week (default 5)
* business.hours.per.day - specifies number of working hours per day (default 8)
* business.start.hour - specifies starting hour of work day (default 9AM)
* business.end.hour - specifies ending hour of work day (default 5PM)
* business.holidays - specifies holidays (see format section for details on how to configure it)
* business.holiday.date.format - specifies holiday date format used (default yyyy-DD-mm)
* business.weekend.days - specifies days of the weekend (default Saturday and Sunday)
* business.cal.timezone - specifies time zone to be used (if not given uses default of the system it runs on)

Note: it requires to be integrated with human task deadline capabilities.