ClassDateRange
A class that represents time range.
Definition
Namespace:Telerik.Maui.Controls.Scheduler
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class DateRange : NotifyPropertyChangedBase, INotifyPropertyChanged, IDateRange
Inheritance: objectNotifyPropertyChangedBaseDateRange
Derived Classes:
Implements:
Inherited Members
Constructors
DateRange()
Initializes a new instance of the DateRange class.
Declaration
public DateRange()
DateRange(DateTime, DateTime)
Initializes a new instance of the DateRange class with the given start and end time.
DateRange(DateTime, TimeSpan)
Initializes a new instance of the DateRange class with the given start time and duration.
DateRange(IDateRange)
Initializes a new instance of the DateRange class from another date span instance.
Declaration
public DateRange(IDateRange other)
Parameters
other
Another date span instance that is used to create a new instance.
Properties
End
Gets or sets the end DateTime of the IDateRange.
Start
Gets or sets the start DateTime of the IDateRange.
Declaration
public DateTime Start { get; set; }
Property Value
Implements
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.