The Week type exposes the following members.

Constructors

  NameDescription
Public methodWeek
Initializes a new instance of the Week class

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberFirstDayOfWeek()()()()
Gets the first day of this week. Based on current culture.
Public methodStatic memberFirstDayOfWeek(DateTime)
Gets the first day of a week where day (parameter) belongs. Based on current culture.
Public methodStatic memberFirstDayOfWeek(DateTime, DayOfWeek)
Gets the first day of a week where day (parameter) belongs. weekStart (parameter) specifies the starting day of week.
Public methodStatic memberFirstWorkingDayOfWeek(DateTime)
Returns Monday of the week.
Public methodStatic memberFirstWorkingDayOfWeek(DateTime, DayOfWeek)
Returns Monday of the week.
Public methodStatic memberGetDayNames()()()()
Returns day names (using current culture).
Public methodStatic memberGetDayNames(String)
Returns day names (using current culture).
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberMonday
Public methodToString (Inherited from Object.)
Public methodStatic memberWeekNrISO8601
Calculates week number for the specified date according to ISO 8601.

See Also