SyntaxFix
Write A Post
Hire A Developer
Questions
Using Apache commons you can do:
import org.apache.commons.lang3.time.DateUtils DateUtils.truncatedEquals(first, second, Calendar.DAY_OF_MONTH)