Java 8 Date API vs Calendar / Date / DateFormat
There is this new-n-cool Date API in Java 8, the java.time package . I understand that it is better designed, less ambiguous and more thread-safe than the old classes. Still, I am not sure how to go about using it: Should I use it exclusively instead of the old classes? Should I replace existing usages of old classes whereever I spot them because the new stuff is so much better? Should I refrain from using java.util.Calendar, java.util.Date , java.sql.Date and java.text.DateFormat in favor of the new API all together OR are there use cases where the old classes are still preferable ? Has the