METHOD_0 ( ) { java . lang . String format = STRING_0 ; java . lang . String source = STRING_1 ; java . text . IDENT_0 IDENT_1 = new java . text . METHOD_1 ( STRING_2 ) ; java . sql . IDENT_2 date = new java . sql . METHOD_2 ( IDENT_1 . parse ( STRING_3 ) . getTime ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String , java . lang . String ) { if ( source == null ) return null ; java . lang . String IDENT_3 = ( format == null ) ? null : format . METHOD_4 ( ) ; try { if ( ( IDENT_3 == null ) || ( ( format . startsWith ( STRING_4 ) ) && ( ! ( IDENT_3 . METHOD_5 ( STRING_5 ) ) ) ) ) { return java . sql . METHOD_2 . valueOf ( source ) ; } } catch ( java . lang . IllegalArgumentException e ) { } org . joda . time . IDENT_4 IDENT_5 = com . splicemachine . IDENT_6 . utils . IDENT_7 . METHOD_6 ( source , format ) ; if ( ( IDENT_3 != null ) && ( IDENT_3 . METHOD_5 ( STRING_5 ) ) ) return new java . sql . METHOD_2 ( IDENT_5 . METHOD_7 ( ) ) ; else { return new java . sql . METHOD_2 ( ( ( IDENT_5 . METHOD_8 ( ) ) - INT_0 ) , ( ( IDENT_5 . METHOD_9 ( ) ) - 1 ) , IDENT_5 . METHOD_10 ( ) , IDENT_5 . METHOD_11 ( ) , IDENT_5 . METHOD_12 ( ) , IDENT_5 . METHOD_13 ( ) , ( ( IDENT_5 . METHOD_14 ( ) ) * INT_1 ) ) ; } }
org . junit . Assert . assertEquals ( date , com . splicemachine . IDENT_6 . utils . IDENT_7 . METHOD_3 ( source , format ) )