ClassDateSpan
A class that represents time range.
Definition
Namespace:Telerik.Windows.Controls.ScheduleView
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class DateSpan : ViewModelBase, INotifyPropertyChanged, IDisposable, IDateSpan
Inheritance: objectViewModelBaseDateSpan
Derived Classes:
Implements:
Inherited Members
Constructors
DateSpan()
Initializes a new instance of the DateSpan class.
Declaration
public DateSpan()
DateSpan(DateTime, DateTime)
Initializes a new instance of the DateSpan class with the given start and end time.
DateSpan(DateTime, TimeSpan)
Initializes a new instance of the DateSpan class with the given start time and duration.
DateSpan(IDateSpan)
Initializes a new instance of the DateSpan class from another date span instance.
Declaration
public DateSpan(IDateSpan other)
Parameters
other
Another date span instance that is used to create a new instance.
Properties
Methods
Equals(object)
Determines whether the specified object is equal to this instance.
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
A hash code for the current System.Object.
Overrides
ToString()
Returns a string that represents this instance.