Answers for "java date equals"

0

java date equals other date

// date1 and date2 are Date objects
if(date1.compareTo(date2)==0){
	// the dates are equal
}
Posted by: Guest on June-02-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language