code: public List<TimephasedCost> getTimephasedCost()
     {
        if (m_timephasedCost == null)
        {
           Resource r = getResource();
           ResourceType type = r != null ? r.getType() : ResourceType.WORK;
  
           //for Work and Material resources, we will calculate in the normal way
           if (type != ResourceType.COST)
           {
              if (m_timephasedWork != null && m_timephasedWork.hasData())
              {
                 if (hasMultipleCostRates())
                 {
                    m_timephasedCost = getTimephasedCostMultipleRates(getTimephasedWork(), getTimephasedOvertimeWork());
                 }
                 else
                 {
                    m_timephasedCost = getTimephasedCostSingleRate(getTimephasedWork(), getTimephasedOvertimeWork());
                 }
              }
           }
           else
           {
              m_timephasedCost = getTimephasedCostFixedAmount();
           }
  
        }
        return m_timephasedCost;
     }
docs: Retrieves the timephased breakdown of cost.
  
  @return timephased cost