code: private void processRanges(List<DateRange> ranges, ProjectCalendarDateRanges container)
     {
        if (ranges != null)
        {
           for (DateRange range : ranges)
           {
              container.addRange(range);
           }
        }
     }
docs: Populate time ranges.
  
  @param ranges time ranges from a Synchro table
  @param container time range container