Back Forward Business day

A business day is a day that is not identified as a holiday nor identified as a weekday with no work, on the Schedule tab of a calendar data instance (Data-Admin-Calendar).

Standard functions in the Pega-RULES:BusinessCalendar library use business day and holiday information. For example, you can compute the number of business days (based on a specific calendar) between two dates.

If your application includes multiple calendar data instances, a non-business day for some users may be a business day for others.

CautionBe sure to create calendar instances in advance for every future year (and every district, country, or jurisdiction) needed by your application. Business calendar functions such as isBusinessDay() fail with a Java exception when a date more than one year in the future is referenced and no calendar instance is found. OLSOK clinic 12/9/05 and BUG-767 resolved-enhancement

Unless your application uses such library functions, work object processing does not rely on business day information. For example, users may sign on during a day that is not a business day, enter work objects, resolve work objects, schedule future events, and so on.

Related PDN articles

See the Pega Developer Network article PDNPRKB-25981 How BusinessCalendar functions AddDays() and AddTime() treat holidays, weekends, and time zones.

Definitions calendar, library
Related topics About Calendar data instances

UpDefinitions — B