Date :: addWorkingDays - Add number of working days
The function adds the number of working days passed in iDays to the date value. This is a simplified version of the function, which considers all days from Monday to Friday as working days. Passing a negative value in iDays the number of days will be subtracted ( subtractWorkingDays() ).
In order to obtain the nearest working day (after), one may pass 0 in iDays . When the day in the date value is a working day already, it remains unchanged in this case.
Return value: Date ( odaba::Date & )
The date contains day, month and year, but not the time.
Implementation details
odaba::Date &
Date  :: addWorkingDays ( int32 iDays )
- iDays
- Set date from days
The function calculates the date from the number of days passed in iDays . The value must be greater than 0 .