Click or drag to resize

WeekOverviewSelection Class

Represents a selected range within the WeekOverview control. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Controls.OMCWeekOverviewSelection

Namespace:  Dynamicweb.Controls.OMC
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
public sealed class WeekOverviewSelection : IComparable, 
	IComparable<WeekOverviewSelection>

The WeekOverviewSelection type exposes the following members.

Constructors
  NameDescription
Public methodWeekOverviewSelection(DateTime)
Initializes a new instance of an object.
Public methodWeekOverviewSelection(DateTime, DateTime)
Initializes a new instance of an object.
Public methodWeekOverviewSelection(DateTime, DateTime, CultureInfo)
Initializes a new instance of an object.
Top
Properties
  NameDescription
Public propertyCulture
Gets the target culture.
Public propertyDays
Gets the list of days that fall within the given selection.
Public propertyEndDate
Gets the end date.
Public propertyStartDate
Gets the start date.
Public propertyWeek
Gets the year week number.
Top
Methods
  NameDescription
Public methodCompareTo
Compares the current object to the given one.
Public methodStatic memberGetCurrent
Gets the selection that corresponds to the current day.
Public methodStatic memberGetWeekOfYear(DateTime)
Gets year week number for a given date.
Public methodStatic memberGetWeekOfYear(DateTime, CultureInfo)
Gets year week number for a given date.
Public methodStatic memberParse(String)
Parses the week overview selection from the given literal string.
Public methodStatic memberParse(String, CultureInfo)
Parses the week overview selection from the given literal string.
Public methodToString
Returns a string representation of the selection.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether two selections are equal.
Public operatorStatic memberInequality
Determines whether two selections are not equal.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIComparableCompareTo
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Top
Remarks