The nextOpenDate function returns an open date given a targetDate by considering the includeCalendar, excludeCalendar, and maxShifts. If no open date is found with the given inputs, the result is null.
Syntax
dtNextOpenDate = nextOpenDate(targetDate, includeCalendar, excludeCalendar, maxshift)
Arguments
Specifies the desired date.
Specifies the path of the include calendar object.
Specifies the path of the exclude calendar object.
Specifies the maximum acceptable number of shifts when searching for an open date. Specify positive numbers to increment the date and negative numbers to decrement the date. The system caps the maximum number of shifts at 5.
Return Value
|
Copyright © 2014 CA.
All rights reserved.
|
|