🌈 搜索
📅  最后修改于: 2022-03-11 14:52:22.893000             🧑  作者: Mango
// date1 and date2 are Date objects if(date1.compareTo(date2)==0){ // the dates are equal }