public static int compare ( Date left , double right ) { return compare ( left . getTime ( ) / 1000 , DateTimeUtil . getInstance ( ) . toDateTime ( right ) . getTime ( ) / 1000 ) ; }
compares a Date with a double