How to Compare Two Dates in Java4
How to Compare Two Dates in Java
Use getTime.
minutes
days
Create the long time objects.
days
hours
Do a less than comparison.
hours
days
Do a greater than comparison.
days
days
Do an equals comparison.
days
hours