<s>[INST] determines the difference in days between d and this date . for example , if this date is 12/15/1997 and d is 12/14/1997 , the difference is 1 . if this date occurs before d , the result is negative . concode_field_sep int month concode_elem_sep int year concode_elem_sep int day concode_field_sep int daysInMonth concode_elem_sep int beginOfTime concode_elem_sep int dayInYear concode_elem_sep boolean isLeapYear concode_elem_sep boolean isValidDate concode_elem_sep String toString concode_elem_sep void main concode_elem_sep int daysInYear concode_elem_sep boolean isAfter concode_elem_sep boolean isBefore [/INST] int function ( Date arg0 ) { int loc0 ; int loc1 = Math . abs ( arg0 . beginOfTime ( ) - this . beginOfTime ( ) ) ; if ( this . isBefore ( arg0 ) ) { loc0 = - 1 ; } else if ( this . isAfter ( arg0 ) ) { loc0 = 1 ; } else { loc0 = 0 ; } return loc0 * loc1 ; </s>