/src/main/java/net/finmath/time/ScheduleFromPeriods.java
periodEndTimes = new double[null.size( ) ];
periodEndTimes = new double[periods.size ( ) ];
this.referenceDate = referenceDate; this.periods = periods; this.daycountconvention = daycountconvention; fixingTimes = new double[periods.size()]; paymentTimes = new double[periods.size()]; periodStartTimes = new double[periods.size()]; <extra_id_0> periodLength = new double[periods.size()]; for(int periodIndex=0; periodIndex < periods.size(); periodIndex++) { fixingTimes[periodIndex] = FloatingpointDate.getFloatingPointDateFromDate(referenceDate, periods.get(periodIndex).getFixing()); paymentTimes[periodIndex] = FloatingpointDate.getFloatingPointDateFromDate(referenceDate, periods.get(periodIndex).getPayment()); periodStartTimes[periodIndex] = FloatingpointDate.getFloatingPointDateFromDate(referenceDate, periods.get(periodIndex).getPeriodStart()); periodEndTimes[periodIndex] = FloatingpointDate.getFloatingPointDateFromDate(referenceDate, periods.get(periodIndex).getPeriodEnd());