check if provided arrival and departure dates diff more than 40 minutes then return true concode_field_sep Calendar calendar concode_elem_sep SimpleDateFormat dateFormat concode_elem_sep String DEFAULT_DATE_TIME_PATTERN concode_elem_sep int MIN_FLIGHT_GAP_IN_MINUTES concode_field_sep Date getDateFromString concode_elem_sep Date getDateFromString concode_elem_sep Date getIntervalDay
boolean function ( final Date arg0 , final Date arg1 ) { long loc0 = arg1 . getTime ( ) - arg0 . getTime ( ) ; return TimeUnit . MILLISECONDS . toMinutes ( loc0 ) >= MIN_FLIGHT_GAP_IN_MINUTES ; }