Skip to main content

ASPxClientTimeInterval Members

Represents the client-side equivalent of the TimeInterval class.

Constructors

Name Description
constructor(start, duration) Initializes a new instance of the ASPxClientTimeInterval class with the specified start time and duration.

Methods

Name Description
CalculateDuration(start, end) static Calculates the time interval duration.
Contains(interval) Client-side function that determines whether the specified interval is contained within the current one.
Equals(interval) Determines whether the specified object is equal to the current ASPxClientTimeInterval instance.
GetAllDay Gets a value indicating if the time interval is All-Day.
GetDuration Client-side function that returns the duration of the specified time interval.
GetEnd Client-side function that returns the end time of the interval.
GetStart Client-side function that returns the start time of the interval.
IntersectsWith(interval) Checks if the current time interval intersects with the specified time interval.
IntersectsWithExcludingBounds(interval) Checks if the current time interval intersects with the specified time interval. The boundaries of the time intervals are excluded from the check.
SetAllDay(allDayValue) Sets a value specifying if the time interval is All-Day.
SetDuration(value) Client-side function that returns the duration of the specified time interval.
SetEnd(value) Client-side function that sets the end time of the interval.
SetStart(value) Client-side function that sets the start time of the interval.
See Also