I am coding an Android application, which should receive a java.time.LocalDateTime object through an HTTP REST API that I developed in the server side.
The problem is that Android is still in Java 7, and java.time is only available in Java 8.
Having that said, what is the best way to represent a variable that contains date and time in Android? I prefer not to use sql.timestamp.
Thank you!