WeekDate ClassA Sandcastle Documented Class Library
A week date on the format YYYY-Www-D, as defined by ISO 8601. ISO 8601 defines week numbers in the following way. The week with the year's first Thursday in it is called week 01. Weeks are numbered from 01 to 52 or 53. ISO 8601 also defines numbers for day of week. Monday is number 1, Tuesday number 2 and so on up to Sunday which is number 7. Use the Weekday enumeration to convert between day numbers and day names.
Inheritance Hierarchy

SystemObject
  Apptus.ESales.Connector.TimeIsoDate
    Apptus.ESales.Connector.TimeWeekDate

Namespace:  Apptus.ESales.Connector.Time
Assembly:  Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.3.0
Syntax

C#
public class WeekDate : IsoDate

The WeekDate type exposes the following members.

Constructors

  NameDescription
Public methodWeekDate
Creates a new week date with the specified year, week and day of week. Day of week may be omitted, causing less precision. If day of week is omitted, then week number may also be omitted. However, year is required.
Top
Properties

  NameDescription
Public propertyDayOfWeek
The day of week. May be null.
Public propertyWeek
The week number. May be null.
Public propertyYear
The week year.
(Overrides IsoDateYear.)
Top
Methods

  NameDescription
Public methodStatic memberDayOfWeekFromNumber
Returns the day of week for corresponding to the specified day number according to ISO 8601.
Public methodEquals (Inherited from IsoDate.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from IsoDate.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberNumberForDayOfWeek
Returns the ISO 8601 number for a specific day of week.
Public methodToString (Overrides ObjectToString.)
Public methodToTimePoint
Returns a point in time represented by that date and a supplied time of day. If the date or time lacks precision, or if the time is omitted, then the smallest valid point in time for this specification is returned.
(Overrides IsoDateToTimePoint(Time, TimeZoneInfo).)
Top
See Also

Reference