Convert Date to LocalDate and LocalDateTime Java 8

This Convert Date to LocalDate and LocalDateTime Java 8 tutorial shows you my knowledge about conversion ways between the classic java.util.Date, LocalDate, and LocalDateTime. I shows aslo you how to convert LocalDate and LocalDateTime to java.util.Date. As you know the class java.util.Date represents a specific instant in time, with millisecond precision. It means that java.util.Date … Read more

How to convert String to LocalDate Java 8

How to convert String to LocalDate Java 8 are popular questions in any java interviews. We can do it quite easily by using the parse() method of the LocalDate and DateTimeFormatter classes. Let’s begin: Convert a String into to LocalDate using below syntax:

if your string is formatted like ISO_LOCAL_DATE (format=yyyy-MM-dd), you can parse … Read more

[Java 8 Tutorial] Lambda Expressions and Functional Interfaces

Lambda Expressions and Functional Interfaces tutorial bring you to functional programming concepts in Java 8 change. Lambda Expressions and Functional Interfaces are coherent relation each other and it is reason why i put both of them into the post. Lambda Expressions are the biggest and most waited language change in the whole Java 8 release. … Read more

Please share it if you found this useful
Hide Buttons