I have no experience with Java, and I suspect that the issue is with Java as you have the dates formatted correctly in Excel. I did a quick google search and found this link which may be helpful

https://www.udemy.com/blog/java-date-format/