2.2.2.14 Workdays Flag

Workdays Flag is a 2-byte, bit mask that is used to specify the workdays in a week for display in a calendar. The workdays are specified as the sum or bitwise OR of the bit flags specifying each day of the week. For example, if the first day of the week is a Sunday and the workdays are Monday through Friday, the combined flags value would be 0x003E, or 62. The only valid values of the Workdays Flag bits are specified as follows.

Value

Description

0x0001

Saturday is a workday.

0x0002

Friday is a workday.

0x0004

Thursday is a workday.

0x0008

Wednesday is a workday.

0x0010

Tuesday is a workday.

0x0020

Monday is a workday.

0x0040

Sunday is a workday.

0xFF80X

Unused and MUST NOT be set.