Skip to main content

SchedulerPrintAdapter.GetWorkTime(TimeInterval, Resource) Method

Gets a report’s work times for a specified time interval and resource.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public TimeOfDayIntervalCollection GetWorkTime(
    TimeInterval interval,
    Resource resource
)

Parameters

Name Type Description
interval TimeInterval

A TimeInterval object specifying the queried time interval.

resource Resource

A Resource specifying the resource for which the work times are queried.

Returns

Type Description
TimeOfDayIntervalCollection

A TimeIntervalCollection collection containing work times for a single day.

Remarks

The GetWorkTime raises the SchedulerPrintAdapter.ValidateWorkTime event, so it returns correct work times.

See Also