public static boolean after ( final Date point , final Date when ) { final Calendar pointCalendar = Calendar . getInstance ( ) ; pointCalendar . setTime ( point ) ; final Calendar whenCalendar = Calendar . getInstance ( ) ; whenCalendar . setTime ( when ) ; return pointCalendar . after ( whenCalendar ) ; }
Returns true if the given from Date is after the given when Date otherwise false .