src/org/kocakosm/pitaya/time/Dates.java
public static boolean isSameInstant(Calendar cal1, Calendar cal2)
	{
		return isSameInstant(cal1.getTime(), cal2.getTime());
	}
public static boolean isSameInstant(Calendar cal1, Calendar cal2)
	{
		return isSameInstant(cal1.getTime(), cal2.getTime());
	}
public static boolean isSameInstant ( Calendar cal1 , Calendar cal2 ) { return isSameInstant ( cal1 . getTime ( ) , cal2 . getTime ( ) ) ; }
Returns whether the given {@code Calendar}s represent the same instant.

@param cal1 the first {@code Calendar}.
@param cal2 the second {@code Calendar}.

@return whether the given {@code Calendar}s represent the same instant.

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