Working with DateFormat for Date and Time Parsing in Java Microservices