visad/src/main/java/ucar/nc2/iosp/gempak/AbstractGempakStationFileReader.java
public List<Date> getDates() {
    if ((dates == null || dates.isEmpty()) && !dateList.isEmpty()) {
      dates = new ArrayList<>(dateList.size());
      dateFmt.setTimeZone(TimeZone.getTimeZone("GMT"));
      for (String dateString : dateList) {
        Date d = dateFmt.parse(dateString, new ParsePosition(0));
        //DateFromString.getDateUsingSimpleDateFormat(dateString,
        //    DATE_FORMAT);
        dates.add(d);
      }
    }
    return dates;
  }
public List<Date> getDates() {
    if ((dates == null || dates.isEmpty()) && !dateList.isEmpty()) {
      dates = new ArrayList<>(dateList.size());
      dateFmt.setTimeZone(TimeZone.getTimeZone("GMT"));
      for (String dateString : dateList) {
        Date d = dateFmt.parse(dateString, new ParsePosition(0));
        //DateFromString.getDateUsingSimpleDateFormat(dateString,
        //    DATE_FORMAT);
        dates.add(d);
      }
    }
    return dates;
  }
public List < Date > getDates ( ) { if ( ( dates == null || dates . isEmpty ( ) ) && ! dateList . isEmpty ( ) ) { dates = new ArrayList <> ( dateList . size ( ) ) ; dateFmt . setTimeZone ( TimeZone . getTimeZone ( "GMT" ) ) ; for ( String dateString : dateList ) { Date d = dateFmt . parse ( dateString , new ParsePosition ( 0 ) ) ; //DateFromString.getDateUsingSimpleDateFormat(dateString, //    DATE_FORMAT); dates . add ( d ) ; } } return dates ; }
Get the list of dates in this file.

@return list of dates.
Get the list of dates in this file .