- Support for Java 8 language features requires a new compiler called
Jack. Jack is supported only on Android Studio 2.1 and higher. So if
you want to use Java 8 language features, you need to use Android
Studio 2.1 to build your app. Source: developer.android.com/guide/platform/j8-jack.html - For date’s and Timestamp you can see the links given below: using [java.util.Date]https://developer.android.com/reference/java/util/Date.html Or By using [java.text.SimpleDateFormat] https://developer.android.com/reference/java/text/SimpleDateFormat.html
solved What is best option for dealing with date types in Android?