private static void SetLastRegularPeriodEndDate(InterestRateStream stream,
                                                 DateTime lastRegularPeriodEndDate)
 {
     if (lastRegularPeriodEndDate != new DateTime())
     {
         XsdClassesFieldResolver.CalculationPeriodDatesSetLastRegularPeriodEndDate(
             stream.calculationPeriodDates, lastRegularPeriodEndDate);
     }
 }