class ManipulacaoDatasUtil {

	@SuppressWarnings("ucd")
	public static boolean isSameYearMonthDay(Date dateA, Date dateB) {
		
		boolean result = false;
		int[] yearMonthDayA = null;
		int[] yearMonthDayB = null;
		
		yearMonthDayA = getYearMonthDay(dateA);
		yearMonthDayB = getYearMonthDay(dateB);
		result = Arrays.equals(yearMonthDayA, yearMonthDayB);
		
		return result;
	}

	private  ManipulacaoDatasUtil();

}