If you truly want a date without any time portion and no time zone, then use the LocalDate class in Joda-Time. That class provides methods of comparison ... ... <看更多>
The equals() method definition is effectively fixed. It has to check the effective state of the date (LocalDate or FooDate). That means it ... ... <看更多>