Date completedDate = getDate(json, "completedDate"); if (completedDate != null) invocation.setCompletedDate(completedDate);
Invocation wfInvocation = new Invocation("wf0", null, wfReport); wfInvocation.setStartedDate(date(2013,1,2,14,51)); wfInvocation.setCompletedDate(date(2013,12,30,23,50)); pInvocation.setCompletedDate(date(2013,2,2,13,0));