Is there any method en Date or Calendar class to know the milliseconds remaining from the time of the query to a particular Date object?
I’m using Alarmmanager for reschedule the alarms and would be important for me.
The solucion that I have at the moment is get the milliseconds of the existing object and deduct the current milliseconds.
Any better solution?
Thanks!
If you want how many milliseconds two
Datevalues differ by, that’s really easy usingDate.getTime: