class ManipulacaoDatasUtil {

	@SuppressWarnings("ucd")
	public static boolean isSameYearMonth(Date dateA, Date dateB) {
		
		boolean result = false;
		int[] yearMonthA = null;
		int[] yearMonthB = null;
		
		yearMonthA = getYearMonth(dateA);
		yearMonthB = getYearMonth(dateB);
		result = Arrays.equals(yearMonthA, yearMonthB);
		
		return result;
	}

	private  ManipulacaoDatasUtil();

}