I was looking thru java Date libraries
1. java.util.Date,
2. Date4J
3. Joda-time
to find out whether I can perform time subtraction to two Date Objects, to the precision of milliseconds.
I receive 2011-05-29T22:50:12.692 as a String, and convert it into a Date object by parsing it with SimpleDateFormat.
The other Date object will also be received a String. and I want to subtract from two Date objects.
Any ideas?
Basically i want to get an interval between the two Date objects, to the precision of milliseconds.
Try using Date.getTime()
EDIT
This assumes that
d2is chronologically afterd1.