long timeEnd = pdsIntv.getIntervalTimeEnd();
int[] intv = pds.getForecastTimeInterval();
long startDate = Grib2Pds.makeDate(gr.getReferenceTime().getTime(), pds.getTimeUnit(), intv[0], cal);
long endDate = Grib2Pds.makeDate(gr.getReferenceTime().getTime(), pds.getTimeUnit(), intv[1], cal);
System.out.printf(" intv=[%s, %s] = [%d,%d]%n", df.toDateTimeStringISO(new Date(startDate)),
df.toDateTimeStringISO(new Date(endDate)), intv[0], intv[1]);
System.out.printf(" timeEnd=%s", df.toDateTimeStringISO(new Date(timeEnd)));
if (timeEnd == startDate)
System.out.printf(" agrees with intv start");