AppointmentFormControllerBase.ValidateLimitInterval(DateTime, TimeSpan, DateTime, TimeSpan) Method
Checks whether the specified date and time values produce the time interval which falls within the interval specified by the LimitInterval property of the SchedulerControl.
Namespace: DevExpress.XtraScheduler.UI
Assembly: DevExpress.XtraScheduler.v26.1.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
Declaration
public bool ValidateLimitInterval(
DateTime startDate,
TimeSpan startTime,
DateTime endDate,
TimeSpan endTime
)
Parameters
| Name | Type | Description |
|---|---|---|
| startDate | DateTime | A DateTime value, representing the date component of the interval’s start. |
| startTime | TimeSpan | A TimeSpan value, representing the time component of the interval’s start. |
| endDate | DateTime | A DateTime value, representing the date component of the interval’s end. |
| endTime | TimeSpan | A DateTime value, representing the time component of the interval’s end. |
Returns
| Type | Description |
|---|---|
| Boolean | True, if the time interval is within limits; otherwise, false. |
See Also