Data Java jest równa innej daty
// date1 and date2 are Date objects
if(date1.compareTo(date2)==0){
// the dates are equal
}
Karamolegkos
// date1 and date2 are Date objects
if(date1.compareTo(date2)==0){
// the dates are equal
}