public static boolean truncatedEquals ( final Date date1 , final Date date2 , final int field ) { return truncatedCompareTo ( date1 , date2 , field ) == 0 ; }
Determines if two dates are equal up to no more than the specified most significant field .