public ArrayList<Duration> segmentBaselineWork(ProjectFile file, List<TimephasedWork> work, TimescaleUnits rangeUnits, ArrayList<DateRange> dateList)
   {
      return segmentWork(file.getBaselineCalendar(), work, rangeUnits, dateList);
   }
public ArrayList < Duration > segmentBaselineWork ( ProjectFile file , List < TimephasedWork > work , TimescaleUnits rangeUnits , ArrayList < DateRange > dateList ) { return segmentWork ( file . getBaselineCalendar ( ) , work , rangeUnits , dateList ) ; }
This is the main entry point used to convert the internal representation
of timephased baseline work into an external form which can
be displayed to the user.

@param file parent project file
@param work timephased resource assignment data
@param rangeUnits timescale units
@param dateList timescale date ranges
@return list of durations, one per timescale date range