TimeInterval current = (TimeInterval) uncovered.next();
TimeSpan current = (TimeSpan) uncovered.next();
  protected boolean checkProviderCompletelyCovered(Role role) {    Collection c =       getCurrentlyUncoveredIntervals(SDFactory.DEFAULT_START_TIME, 				     SDFactory.DEFAULT_END_TIME,				     role);    if (myLoggingService.isDebugEnabled()) {      myLoggingService.debug(getAgentIdentifier() +			     " checkProviderCompletelyCovered: " + 			     " uncovered intervals for " + role +			     " = " + c);    }    //check the personal history time interval (if it exists)    //instead of the default interval    ServiceRequestHistory srh =       (ServiceRequestHistory) myServiceRequestHistories.get(role);    if (srh != null) {      c = 	getCurrentlyUncoveredIntervals(srh.requestedTimeInterval.getStartTime(),				       srh.requestedTimeInterval.getEndTime(),				       role);      if (myLoggingService.isDebugEnabled()) {	myLoggingService.debug(getAgentIdentifier() +			       " checkProviderCompletelyCovered: " + 			       " uncovered intervals from service request history " + 			       srh  + " = " + c);      }    }    for (Iterator uncovered = c.iterator(); uncovered.hasNext();) {      TimeInterval current = (TimeInterval) uncovered.next();      if (current.getStartTime() < current.getEndTime()) {        if (myLoggingService.isDebugEnabled()) {            myLoggingService.debug(getAgentIdentifier() +                                   " checkProviderCompletelyCovered has millisec difference of: "                                   + (current.getEndTime() - current.getStartTime()) +                                   " start " + current.getStartTime() + " end " +                                   current.getEndTime() + " for role " + role);        }        return false;      }    }    return true;  }