FpcDaysOfWeek Enumeration
The FpcDaysOfWeek enumerated type contains bit values that describe the days of the week.
Syntax
typedef enum FpcDaysOfWeek {
fpcNone = 0x00000000,
fpcSundayBit = 0x00000001,
fpcMondayBit = 0x00000002,
fpcTuesdayBit = 0x00000004,
fpcWednesdayBit = 0x00000008,
fpcThursdayBit = 0x00000010,
fpcFridayBit = 0x00000020,
fpcSaturdayBit = 0x00000040
} FpcDaysOfWeek;
Constants
fpcNone
No day.fpcSundayBit
Sunday.fpcMondayBit
Monday.fpcTuesdayBit
Tuesday.fpcWednesdayBit
Wednesday.fpcThursdayBit
Thursday.fpcFridayBit
Friday.fpcSaturdayBit
Saturday.
Remarks
You can combine these bit values using the Or operator to obtain a value that specifies two or more days of the week. For example, combining the binary values for Sunday (1), Tuesday (100), and Thursday (10000) results in the binary value 10101. The right bit represents Sunday, the next bit represents Monday, and so on. Thus, the bits corresponding to Sunday, Tuesday, and Thursday are set, while the bits corresponding to Monday and Wednesday are not set. This binary value is equal to the hexadecimal value 0x15 (which corresponds to the decimal value 21).
Requirements
Client | Requires Windows 7 or Windows Vista. |
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
Header | Declared in Comenum.h. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010