src/org/kocakosm/pitaya/time/Dates.java
public static boolean isSameWeek(Date date1, Date date2)
	{
		return isSameWeek(toCalendar(date1), toCalendar(date2));
	}
public static boolean isSameWeek(Date date1, Date date2)
	{
		return isSameWeek(toCalendar(date1), toCalendar(date2));
	}
public static boolean isSameWeek ( Date date1 , Date date2 ) { return isSameWeek ( toCalendar ( date1 ) , toCalendar ( date2 ) ) ; }
Returns whether the given {@code Date}s represent the same week.

@param date1 the first {@code Date}.
@param date2 the second {@code Date}.

@return whether the given {@code Date}s represent the same week.

@throws NullPointerException if one of the arguments is {@code null}.
Returns whether the given { @code Date } s represent the same week .