Date endDate = new Date(Long.parseLong(endTime));