Ok, I see, the Date.compareTo(Date) method does work in this case... (returns 0 for same time, -1/1 if date is in the past/future) Still, different time formats are not useful here. And I don't know, why equals(.) doesn't work....
Ok, I see, the Date.compareTo( Date) method does work in this case... (returns 0 for same time, -1/1 if date is in the past/future)
Still, different time formats are not useful here.
And I don't know, why equals(.) doesn't work....