getDatesList(startDate, startDate, datePattern, 60) in this startDate is repeated 
is this intended ?