METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { if ( date . METHOD_2 ( STRING_0 8 ) ) { date = date . substring ( 0 , ( ( date . length ( ) ) - 1 ) ) ; } java . lang . String val = "" ; if ( ( date . length ( ) ) < 4 ) { return val ; } else if ( ( date . length ( ) ) == 4 ) { val = date + STRING_1 0 ; } else if ( ( ( date . length ( ) ) == 7 ) || ( ( date . length ( ) ) == 6 ) ) { int IDENT_0 = date . indexOf ( STRING_0 8 ) ; java . lang . String IDENT_1 = date . substring ( ( IDENT_0 + 1 ) , date . length ( ) ) ; if ( ( IDENT_1 . length ( ) ) == 1 ) { IDENT_1 = STRING_0 1 + IDENT_1 ; } if ( IDENT_1 . equals ( STRING_0 6 ) ) { val = ( ( ( date . substring ( 0 , 4 ) ) + STRING_0 8 ) + IDENT_1 ) + STRING_2 ; } else if ( ( ( ( IDENT_1 . equals ( STRING_0 9 ) ) || ( IDENT_1 . equals ( STRING_3 ) ) ) || ( IDENT_1 . equals ( STRING_1 ) ) ) || ( IDENT_1 . equals ( STRING_4 ) ) ) { val = ( ( ( date . substring ( 0 , 4 ) ) + STRING_0 8 ) + IDENT_1 ) + STRING_0 4 ; } else { int IDENT_2 = java . lang . Integer . METHOD_3 ( IDENT_1 ) ; if ( ( IDENT_2 > 12 ) || ( IDENT_2 < 1 ) ) { IDENT_1 = STRING_0 ; } val = ( ( ( date . substring ( 0 , 4 ) ) + STRING_0 8 ) + IDENT_1 ) + STRING_5 ; } } else { int IDENT_0 = date . indexOf ( STRING_0 8 ) ; int IDENT_3 = date . METHOD_4 ( STRING_0 8 ) ; java . lang . String IDENT_1 = date . substring ( ( IDENT_0 + 1 ) , ( IDENT_0 + 3 ) ) ; try { int IDENT_2 = java . lang . Integer . METHOD_3 ( IDENT_1 ) ; if ( ( IDENT_2 > 12 ) || ( IDENT_2 < 1 ) ) { val = ( ( date . substring ( 0 , 4 ) ) + STRING_0 3 ) + ( date . substring ( ( IDENT_0 + 3 ) , date . length ( ) ) ) ; } java . lang . String IDENT_4 = date . substring ( ( IDENT_3 + 1 ) , ( IDENT_3 + 3 ) ) ; int IDENT_5 = java . lang . Integer . METHOD_3 ( IDENT_4 ) ; if ( ( IDENT_5 > INT_0 ) || ( IDENT_5 < 1 ) ) { val = ( date . substring ( 0 , 8 ) ) + STRING_0 7 ; } } catch ( java . lang . Exception e ) { } val = date . trim ( ) ; } val = val . replace ( STRING_0 2 , STRING_6 ) ; if ( ( ! ( val . matches ( STRING_0 0 ) ) ) || ( ( ( java . lang . Integer . METHOD_3 ( val . substring ( 0 , 4 ) ) ) < ( fr . IDENT_6 . IDENT_7 . commons . IDENT_8 . IDENT_9 . IDENT_10 ) ) || ( ( fr . IDENT_6 . IDENT_7 . commons . IDENT_8 . IDENT_9 . IDENT_11 ) < ( java . lang . Integer . METHOD_3 ( val . substring ( 0 , 4 ) ) ) ) ) ) { val = "" ; } return val ; }
org . junit . Assert . assertThat ( fr . IDENT_6 . IDENT_7 . commons . IDENT_8 . IDENT_9 . METHOD_1 ( "" ) , org . hamcrest . CoreMatchers . is ( "" ) )