Share via


FpcDaysOfWeek enumeration

Applies to: desktop apps only

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Comenum.h

See also

Enumerated Types

 

 

Build date: 7/12/2010