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 .