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.v20.1.Core.dll

Declaration

public TimeOfDayIntervalCollection GetWorkTime(
    TimeInterval interval,
    Resource resource
)
Public Function GetWorkTime(
    interval As TimeInterval,
    resource As Resource
) As TimeOfDayIntervalCollection

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.

Implements

DevExpress.XtraScheduler.Reporting.ISchedulerTimeIntervalProvider.GetWorkTime(TimeInterval, Resource)
See Also