PMFSeqReqRouteChanges.scheduleNewDate Method
Calculates the new from and to dates based on a specified schedule change.
Syntax
public boolean scheduleNewDate(
utcdatetime _startDateTime,
[utcdatetime _minDateTime,
utcdatetime _maxDateTime,
WrkCtrScheduler_PmfSeq _scheduler])
Run On
Called
Parameters
- _startDateTime
Type: utcdatetime
The initial start date and time for the new schedule.
- _minDateTime
Type: utcdatetime
The minimum date and time for the new schedule (generally the beginning of a campaign period). The default value is the minimum date/time value.
- _maxDateTime
Type: utcdatetime
The maximum date and time for the new schedule (generally the end of a campaign period). The default value is unlimited.
- _scheduler
Type: WrkCtrScheduler_PmfSeq Class
Remarks
This method will log an error and return without changing the schedule if it is unable to schedule a new time. The sequenced route change record field NewFromDateTime will be cleared (DateTimeUtil::minValue).