The Week type exposes the following members.

Constructors

  NameDescription
Public methodWeek
Initializes a new instance of the Week class

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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
Returns Monday of the week where day (parameter) belongs.
Public methodStatic memberGetDayNames()()()()
Returns day names (using current culture).
Public methodStatic memberGetDayNames(String)
Returns day names (using current culture).
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberMonday
Public methodStatic memberResolve
Public methodStatic memberResolveAsInt
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberWeekNrISO8601
Calculates week number for the specified date according to ISO 8601.

See Also