METHOD_0 ( ) { try { java . util . Date res = IDENT_0 . util . IDENT_1 . METHOD_1 ( STRING_0 , STRING_1 ) ; "<AssertPlaceHolder>" ; } catch ( IDENT_0 . exception . IDENT_2 e ) { org . junit . Assert . fail ( ( STRING_2 + ( e . getMessage ( ) ) ) ) ; e . printStackTrace ( ) ; } } METHOD_1 ( java . lang . String , java . lang . String ) { if ( ! ( IDENT_0 . util . IDENT_1 . METHOD_2 ( value ) ) ) { return null ; } java . util . Calendar c = java . util . Calendar . getInstance ( ) ; java . lang . String IDENT_3 = value . toLowerCase ( ) ; if ( IDENT_3 . startsWith ( IDENT_0 . util . IDENT_1 . IDENT_4 ) ) { IDENT_0 . util . IDENT_1 . METHOD_3 ( value , IDENT_3 , c ) ; } else if ( IDENT_3 . startsWith ( IDENT_0 . util . IDENT_1 . IDENT_5 ) ) { IDENT_0 . util . IDENT_1 . METHOD_4 ( value , IDENT_3 , c ) ; } else { throw new IDENT_0 . exception . METHOD_5 ( ( ( STRING_3 + value ) + STRING_4 ) ) ; } java . util . Date IDENT_6 = c . getTime ( ) ; if ( ( IDENT_7 == null ) || ( ( IDENT_7 . length ( ) ) == 0 ) ) { throw new IDENT_0 . exception . METHOD_5 ( STRING_5 ) ; } else if ( IDENT_7 . equalsIgnoreCase ( STRING_6 ) ) { return new java . sql . METHOD_6 ( IDENT_6 . getTime ( ) ) ; } else if ( IDENT_7 . equalsIgnoreCase ( STRING_7 ) ) { return new java . sql . METHOD_7 ( IDENT_6 . getTime ( ) ) ; } else if ( ( IDENT_7 . equalsIgnoreCase ( STRING_8 ) ) || ( IDENT_7 . equalsIgnoreCase ( STRING_9 ) ) ) { return new java . sql . Date ( IDENT_6 . getTime ( ) ) ; } else { throw new IDENT_0 . exception . METHOD_5 ( ( ( STRING_10 + IDENT_7 ) + STRING_11 ) ) ; } }
org . junit . Assert . assertTrue ( ( res instanceof java . sql . METHOD_6 ) )