METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String IDENT_1 = STRING_1 ; final java . lang . String start = STRING_2 ; final java . lang . String output = org . IDENT_2 . IDENT_3 . util . IDENT_4 . IDENT_5 . METHOD_1 ( context , IDENT_6 , IDENT_1 , start , end , IDENT_7 . IDENT_8 , null ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( android . content . Context , java . util . Date , java . lang . String , java . lang . String , java . lang . String , org . IDENT_2 . IDENT_3 . model . api . IDENT_7 , java . lang . String ) { final java . lang . IDENT_9 IDENT_10 ; if ( org . IDENT_2 . IDENT_3 . util . IDENT_4 . IDENT_5 . METHOD_2 ( IDENT_6 , start ) ) { if ( IDENT_1 != null ) { final java . util . Date IDENT_11 = org . IDENT_2 . IDENT_3 . util . IDENT_12 . METHOD_3 ( IDENT_1 ) ; final long IDENT_13 ; if ( IDENT_6 . METHOD_4 ( IDENT_11 ) ) { IDENT_13 = ( IDENT_6 . getTime ( ) ) - ( IDENT_11 . getTime ( ) ) ; } else { IDENT_13 = ( IDENT_11 . getTime ( ) ) - ( IDENT_6 . getTime ( ) ) ; } if ( org . IDENT_2 . IDENT_3 . util . IDENT_4 . IDENT_5 . METHOD_2 ( IDENT_6 , IDENT_1 ) ) { if ( IDENT_13 > ( org . IDENT_2 . IDENT_3 . util . IDENT_4 . IDENT_5 . IDENT_14 ) ) { IDENT_10 = org . IDENT_2 . IDENT_3 . util . IDENT_15 . METHOD_5 ( context . METHOD_6 ( ) , IDENT_16 . string . IDENT_17 , STRING_3 , org . IDENT_2 . IDENT_3 . util . IDENT_12 . METHOD_7 ( IDENT_11 . getTime ( ) ) ) ; } else { final java . lang . IDENT_9 IDENT_18 = android . text . format . IDENT_19 . METHOD_8 ( IDENT_11 . getTime ( ) , IDENT_6 . getTime ( ) , IDENT_19 . IDENT_20 , IDENT_19 . IDENT_21 ) . toString ( ) . toLowerCase ( ) ; IDENT_10 = org . IDENT_2 . IDENT_3 . util . IDENT_15 . METHOD_5 ( context . METHOD_6 ( ) , IDENT_16 . string . IDENT_22 , STRING_3 , IDENT_18 ) ; } } else { if ( IDENT_13 > ( org . IDENT_2 . IDENT_3 . util . IDENT_4 . IDENT_5 . IDENT_14 ) ) { IDENT_10 = org . IDENT_2 . IDENT_3 . util . IDENT_15 . METHOD_5 ( context . METHOD_6 ( ) , IDENT_16 . string . IDENT_23 , STRING_3 , org . IDENT_2 . IDENT_3 . util . IDENT_12 . METHOD_7 ( IDENT_11 . getTime ( ) ) ) ; } else { final java . lang . IDENT_9 IDENT_18 = android . text . format . IDENT_19 . METHOD_8 ( IDENT_11 . getTime ( ) , IDENT_6 . getTime ( ) , IDENT_19 . IDENT_20 , IDENT_19 . IDENT_21 ) . toString ( ) . toLowerCase ( ) ; IDENT_10 = org . IDENT_2 . IDENT_3 . util . IDENT_15 . METHOD_5 ( context . METHOD_6 ( ) , IDENT_16 . string . IDENT_24 , STRING_3 , IDENT_18 ) ; } } } else { final java . util . Date IDENT_25 = org . IDENT_2 . IDENT_3 . util . IDENT_12 . METHOD_3 ( end ) ; if ( IDENT_25 == null ) { return null ; } else if ( org . IDENT_2 . IDENT_3 . util . IDENT_4 . IDENT_5 . METHOD_2 ( IDENT_6 , end ) ) { IDENT_10 = org . IDENT_2 . IDENT_3 . util . IDENT_15 . METHOD_5 ( context . METHOD_6 ( ) , IDENT_16 . string . IDENT_26 , STRING_3 , org . IDENT_2 . IDENT_3 . util . IDENT_12 . METHOD_7 ( IDENT_25 . getTime ( ) ) ) ; } else { IDENT_10 = org . IDENT_2 . IDENT_3 . util . IDENT_15 . METHOD_5 ( context . METHOD_6 ( ) , IDENT_16 . string . IDENT_27 , STRING_3 , org . IDENT_2 . IDENT_3 . util . IDENT_12 . METHOD_7 ( IDENT_25 . getTime ( ) ) ) ; } } } else { if ( ( IDENT_28 == ( org . IDENT_2 . IDENT_3 . model . api . IDENT_7 . IDENT_8 ) ) && ( ! ( android . text . IDENT_29 . isEmpty ( start ) ) ) ) { final java . util . Date IDENT_30 = org . IDENT_2 . IDENT_3 . util . IDENT_12 . METHOD_3 ( start ) ; IDENT_10 = org . IDENT_2 . IDENT_3 . util . IDENT_15 . METHOD_5 ( context . METHOD_6 ( ) , IDENT_16 . string . IDENT_31 , STRING_3 , org . IDENT_2 . IDENT_3 . util . IDENT_12 . METHOD_7 ( IDENT_30 . getTime ( ) ) ) ; } else if ( ( IDENT_28 == ( org . IDENT_2 . IDENT_3 . model . api . IDENT_7 . IDENT_32 ) ) && ( ! ( android . text . IDENT_29 . isEmpty ( IDENT_33 ) ) ) ) { IDENT_10 = org . IDENT_2 . IDENT_3 . util . IDENT_15 . METHOD_5 ( context . METHOD_6 ( ) , IDENT_16 . string . IDENT_31 , STRING_3 , IDENT_33 ) ; } else { IDENT_10 = org . IDENT_2 . IDENT_3 . util . IDENT_15 . METHOD_5 ( context . METHOD_6 ( ) , IDENT_16 . string . IDENT_31 , STRING_3 , context . getString ( IDENT_16 . string . IDENT_34 ) ) ; } } return IDENT_10 . toString ( ) ; }
org . junit . Assert . assertEquals ( IDENT_0 , output )