Hi Experts,
I have a small JAVA code written for string to data conversion for my requirement but its not executed and giving error. Can you please check and let me know if there is anything wrong in the code, please.
//private List<LocalDateTime> content;
//ArrayList <String> al = new ArrayList<String>(Arrays.asList(StrDate));
int[] DateTime = new int[StrDate.length];
for( int i=0; i<StrDate.length; i++)
{
DateTime[i] = StrDate[i];
}
ArrayList<int> mylist = new ArrayList<int>();
mylist.add(StrDate);
int sMinutes=15;
LocalDateTime start = LocalDateTime.of(2019, 11, 20, 00, 00);
LocalDateTime end = LocalDateTime.of(2019, 11, 20, 23, 59);
for (LocalDateTime date = start; date.isBefore(end); date = date.plusMinutes(15))
{
LocalDateTime lStart = date;
LocalDateTime lEnd = date.plusMinutes(sMinutes);
findDataBetween(lStart, lEnd,DateTime);
}