I am in module 2 and getting successful input for endDate which is available in the JSON response, I gone through the forum and got to know that I need to increase the date so that it’s a working date and then print the output, I am weak in Java, so I’m finding it very difficult to execute it.
I know that “endDate.plusDays(1)” increases the date, I tried to implement it using do while loop. (to keep increasing the date until I hit a working day), but I’m getting stuck on various issues of endDate variable.
I’ve attached a screenshot showing the error.
and the below link of the similar article executing do-while loop with try catch block.
https://stackoverflow.com/questions/18838647/while-loop-with-exception-handling
Why can’t I increase the endDate??
PLEASE HELP AS I WANT TO GRADUATE AS SOON AS POSSIBLE (qmoney modules 2-5 are yet to be finished). OR CAN YOU PLEASE SHARE HINTS HOW TO EXECUTE THE INCREAMENT OF THE ENDDATE??