Version

TimeSpanDaysPerWeek Enumeration

Specifies the number of days in one week for the purposes of formatting and parsing a TimeSpan.
Syntax
'Declaration
 
Public Enum TimeSpanDaysPerWeek 
   Inherits System.Enum
public enum TimeSpanDaysPerWeek : System.Enum 
Members
MemberDescription
FiveA value of "1 week" translates to a TimeSpan which contains five days.
FourA value of "1 week" translates to a TimeSpan which contains four days.
OneA value of "1 week" translates to a TimeSpan which contains one day.
SevenA value of "1 week" translates to a TimeSpan which contains seven days.
SixA value of "1 week" translates to a TimeSpan which contains six days.
ThreeA value of "1 week" translates to a TimeSpan which contains three days.
TwoA value of "1 week" translates to a TimeSpan which contains two days.
Remarks

Each constant's numerical equivalent is the number it represents, and can be cast to/from an integer of the same value.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also