Meaningless Drivel is fun!
The moose likes Beginning Java and the fly likes Date Comparisons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Date Comparisons" Watch "Date Comparisons" New topic

Date Comparisons

Krish Yeruva
Ranch Hand

Joined: Sep 17, 2008
Posts: 58
I want to compare two dates like greaterthanorequalto and lessthanorequalto?
We can do greaterthan or lessthan by using before() or after() methods.
But I want to compare like greaterthanorequalto and lessthanorequalto?
Can anyone suggest me how I can do that Please?

Thanks In Advance

Thanks & Regards
James Sabre
Ranch Hand

Joined: Sep 07, 2004
Posts: 781

or maybe

Do these give you any ideas?

Retired horse trader.
 Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
I agree. Here's the link:
subject: Date Comparisons
It's not a secret anymore!