DayOfWeek | CF 1.0, serializable |
System (mscorlib.dll) | enum |
This enumeration is used by
the
DateTime.DayOfWeek property.
public enum DayOfWeek {
Sunday = 0,
Monday = 1,
Tuesday = 2,
Wednesday = 3,
Thursday = 4,
Friday = 5,
Saturday = 6
}
Hierarchy
Object
ValueType Enum(IComparable,
IFormattable, IConvertible)
DayOfWeek
Returned By
DateTime.DayOfWeek,
System.Globalization.Calendar.GetDayOfWeek( ),
System.Globalization.DateTimeFormatInfo.FirstDayOfWeek
Passed To
System.Globalization.Calendar.GetWeekOfYear( ),
System.Globalization.DateTimeFormatInfo.{FirstDayOfWeek,
GetAbbreviatedDayName( ), GetDayName(
)}
|