What are the alternative classes for localTime and localDate in Android? [duplicate]
问题 This question already has answers here : Android date-time manipulation library (5 answers) How to get current time and date in Android (40 answers) Closed 4 years ago . I want to use long value I got from android API that return me dates as longs, represented as milliseconds since Epoch. I need to use methods like isBefore() plusDays() isAfter() Cursor managedCursor = getContentResolver().query(CallLog.Calls.CONTENT_URI, new String[]{"number", "type", "date", "duration", "name"}, null, null,