LocalDate - Java
We have been using java.util.Date for a very long time. There have been times when the basic Date class was not sufficient enough and hence, for my complex project related requirements I often used Joda or Calendar classes etc. for the same. While the inbuilt Date, Calendar etc. classes were provided, I used to write a lot of code for complicated tasks. Using third party libraries was always an option but I am not a very string advocate of using third party libraries until it is absolutely required and save my coding and testing time by a huge margin. One of the reason when I came across java.time.LocalDate() in JDK8, I was very excited. Coming to point straightaway, LocalDate object carries information about date, namely year, month, date. It has operations that help us do certain modifications on date. If we quote java documentation LocalDate is an immutable date-time object that represents a date, often viewed as year-month-day. Other date fields, such as day-of-yea...