code: public ArrayList<Double> segmentBaselineCost(ProjectFile file, List<TimephasedCost> cost, TimescaleUnits rangeUnits, ArrayList<DateRange> dateList)
     {
        return segmentCost(file.getBaselineCalendar(), cost, rangeUnits, dateList);
     }
docs: This is the main entry point used to convert the internal representation
  of timephased baseline cost into an external form which can
  be displayed to the user.
  
  @param file parent project file
  @param cost timephased resource assignment data
  @param rangeUnits timescale units
  @param dateList timescale date ranges
  @return list of durations, one per timescale date range