| Return Type | Function name | Arguments |
|---|---|---|
| uint32_t | IsHoliday | (hzXDate&,uint32_t,) |
Declared in file: hzCron.h
Defined in file : hzCron.cpp
Function Logic:
Function body:
uint32_t IsHoliday (hzXDate& date)uint32_t holFlags,
{
// Arguments: 1) date Full form date
// 2) holFlags By default, this will select UK public holidays
//
// Returns: >0 A bitwise value indicating which holiday the given date is
// 0 If the given date is not a holiday
hzSDate sd ; // Short form date
sd.SetDate(date.NoDays()) ;
return IsHoliday(sd, holFlags) ;
}