CAS 6


New user functions isbusinessdayfederal and isbusinessdaybond

Function returns 1 or 0 if the date is a holiday or holiday observance for the calendar type. Non-holidays and invalid dates return blanks.

Example:

DATE_FIELD ← 20201225 1324 20210702 20210701 20210703 20210704 20210705 20211224 20210515

isbusinessdayfederal DATE_FIELD
0 0 1 1 0 0 0 0 0

isbusinessdaybond DATE_FIELD
0 0 1 1 0 0 0 0 0

isbusinessdayfederal 20210402 
1 - Good Friday

isbusinessdaybond 20210402 
0 - Good Friday