gazzyt commented on issue #262: Fix and tests for tomcat bug #64226
URL: https://github.com/apache/tomcat/pull/262#issuecomment-600542134
 
 
   I did some hacking on the Java 8 `DateTimeFormatter` yesterday and concur 
with @ChristopherSchultz. I found that `DateTimeFormatter` parsing was more 
strict that `SimpleDateFormat` for the same format string and would throw 
exceptions where `SimpleDateFormat` returned success. These differences can be 
overcome - `DateTimeFormatter` does give you a lot more control but the risk of 
regression is there. I'll leave this code at 
https://github.com/gazzyt/tomcat/commits/java8-datetimeformatter in case it is 
useful to anyone.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to