Hi,
I'm using the above method to calculate the finish date of a task given a start date and duration. Is this the right method to use? (or is this actually used for ResourceAssignments and work is actually needed as the input).
If not, I could use a simple calendar method (or task method) to take a start date, a duration and calculate a finish date and the reverse with a finish date and duration and calculate a start date. (helpful for forward and backward passes - I think.)
I could also use a method to take a 'datetime' value and move it forward to the start of the next working day or to the end of the previous working day. (this needs to set the correct 'TimeOfDay' depending upon the direction. ... so 09/08/2010 17:00 would be 10/08/2010 08:00 if going forward or the reverse...
I'm sure that you might already be working on these ... if not something like the above would be of help.
(NOTE: if there are better ways ... please do those..)
Regards, Bruce