final Date tTodaysDate = new Date(2000, 12, 25); final Date tNoelDate = new Date(2000, 12, 25); final boolean tIsChristmasDay = tTodaysDate.equals(tNoelDate);
public boolean equals(final Date pDate) { return iYear==pDate.iYear && iMonth==pDate.iMonth && iDay==pDate.iDay; }
Hashtable | contains, containsKey, get, put, remove |
Vector | contains, indexOf |
List | contains, indexOf, remove |
Map | containsKey, containsValue, get, put, remove |
Set | add, contains, remove |