Skip to main content
All docs
V18.2

TimeOfDayInterval.ToTimeInterval(DateTime) Method

Converts the TimeOfDayInterval value to the DevExpress.Mvvm.DateTimeRange type starting from the specified date.

Namespace: DevExpress.UI.Xaml.Scheduler

Assembly: DevExpress.UI.Xaml.Scheduler.v18.2.dll

Declaration

public DateTimeRange ToTimeInterval(
    DateTime date
)

Parameters

Name Type Description
date DateTime

A System.DateTime value representing the start date for the new time interval value.

Returns

Type Description
DateTimeRange

A DevExpress.Mvvm.DateTimeRange object.

See Also