Skip to main content
A newer version of this page is available. .

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.v19.2.Core.dll

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