Skip to main content

DateTimeRange(DateTime, TimeSpan) Constructor

In This Article

Initializes a new DateTimeRange instance with the specified start date and duration.

Namespace: DevExpress.XamarinForms.Scheduler

Assembly: DevExpress.XamarinForms.Scheduler.dll

NuGet Package: DevExpress.XamarinForms.Scheduler

#Declaration

C#
public DateTimeRange(
    DateTime start,
    TimeSpan duration
)

#Parameters

Name Type Description
start DateTime

The start date and time.

duration TimeSpan

The range duration.

See Also