private void populateCalendarHours(Record record, ProjectCalendarHours hours) throws MPXJException
   {
      hours.setDay(Day.getInstance(NumberHelper.getInt(record.getInteger(0))));
      addDateRange(hours, record.getTime(1), record.getTime(2));
      addDateRange(hours, record.getTime(3), record.getTime(4));
      addDateRange(hours, record.getTime(5), record.getTime(6));
   }
private void populateCalendarHours ( Record record , ProjectCalendarHours hours ) throws MPXJException { hours . setDay ( Day . getInstance ( NumberHelper . getInt ( record . getInteger ( 0 ) ) ) ) ; addDateRange ( hours , record . getTime ( 1 ) , record . getTime ( 2 ) ) ; addDateRange ( hours , record . getTime ( 3 ) , record . getTime ( 4 ) ) ; addDateRange ( hours , record . getTime ( 5 ) , record . getTime ( 6 ) ) ; }
Populates a calendar hours instance.

@param record MPX record
@param hours calendar hours instance
@throws MPXJException