[jboss-user] [JBoss jBPM] - Re: problem with business days for duedate attribute of task

amit_verma22 do-not-reply at jboss.com
Fri Jul 14 04:22:29 EDT 2006

I changed the add method of DayPart class.
I changed the way "dayPartEndDate" object was being created as shown below.

Date dayPartEndDate = new Date(date.getTime() + duration.milliseconds);

has been changed to 

Date dayPartEndDate = new Date(date.getTime() + millisecondsInThisDayPart);

The variable "millisecondsInThisDayPart" represents the duration of dayPart not duration.milliseconds, which represent the entire duration scheduled for the task

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957998#3957998

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957998

More information about the jboss-user mailing list