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

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

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

@throws NullPointerException if one of the arguments is {@code null}.