I need to convert java.util.Date to String in yyyy-MM-dd format in a big amounts.I have just moved to java 8 and want to know how to do it properly. When using java 7 I was using
When creating a new LocalDateTime using LocalDateTime.now() on my Mac and Windows machine i get a nano precision of 6 on my Mac and a nano precision of 3 on my Windows machine. Both are running jdk-1.8.0-172.
I wish to remove the Joda-Time library from my project.I am trying to convert a two digit year to full year. The following code from Joda-Time can fulfil the purpose. Below is the following code of joda-time