2.2.3.1 Calendar View Options Type

Calendar View Options Type is a 1-byte value that specifies calendar options for front-end Web server display in the following format.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

FirstDayOfWeek

FirstWeekOfYear

WeekUI

Unused

FirstDayOfWeek (3 bits):  An unsigned integer specifying the first day of the week. The following are valid values for the FirstDayOfWeek value.

Bits

Description

000

Sunday

001

Monday

010

Tuesday

011

Wednesday

100

Thursday

101

Friday

110

Saturday

FirstWeekOfYear (2 bits):  An unsigned integer specifying how the first week of the year is handled. The following are valid values for the FirstWeekOfYear value.

Bits

Description

00

The year starts on January 1.

01

The year starts with the first complete week.

10

The year starts with the first week of at least four days.

WeekUI (1 bit):  If this bit is set, week numbers SHOULD be displayed in the front-end Web server.

Unused (2 bits):  The last 2 bits of this structure are currently unused and MUST both be set to 0.