I\'m not trying to format the date in YYYY-MM-DD or dd/MM/YYYY. I\'m asking about the literal format of LocalDate.
I just started learning Java and I am using this IDE c
Try converting the LocalDate in the call, such as:
TestPaper (2018-05-30, LocalDate.parse("2018/05/30"), 30/05/2018);
There are other static methods within LocalDate you can use. See here for more examples.
From your comment above, don't forget your import:
import java.time.LocalDate;