Using Gosu methods to work with holidays
You can write Gosu code to set business days differently for various tasks.
For example, after auto-assigning a task to be completed in a certain number of business days, Gosu code can take into account the holiday schedule of the assignee.
Use Gosu methods that use holiday Type and Zone to determine the correct number of business days.
Gosu holiday methods that use zones and types
The methods getConfiguredHolidays,
addBusinessDays, and businessDaysBetween on the Date entity get lists of holidays,
add business days to dates, or compute business days between dates. Depending
on the parameters, these methods can take into consideration holiday
types or zones. You can find these methods in gw.util.GWBaseDateEnhancement,
and you call them by using a Date
object.
Because PolicyCenter does not support zones, PolicyCenter ignores the location parameter. The application always behaves as if Applies to All Zones is Yes.
See also
