public static boolean isSameLocalTime(Date date1, Date date2) {
    """
	Returns whether the given {@code Date}s represent the same local time.
	
	@param date1 the first {@code Date}.
	@param date2 the second {@code Date}.
	
	@return whether the given {@code Date}s represent the same local time.
	
	@throws NullPointerException if one of the arguments is {@code null}.
    """
		return isSameLocalTime(toCalendar(date1), toCalendar(date2));
	}
public static boolean isSameLocalTime(Date date1, Date date2)
	{
		return isSameLocalTime(toCalendar(date1), toCalendar(date2));
	}
public static boolean isSameLocalTime ( Date date1 , Date date2 ) { return isSameLocalTime ( toCalendar ( date1 ) , toCalendar ( date2 ) ) ; }
Returns whether the given {@code Date}s represent the same local time.

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

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

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