try to get a date from the given string . according to rfc 2068 we have to read 3 formats . concode_field_sep SimpleDateFormat sdf2 concode_elem_sep long offset concode_elem_sep SimpleDateFormat sdf3 concode_elem_sep SimpleDateFormat sdf4 concode_elem_sep SimpleDateFormat sdf1 concode_field_sep void compare concode_elem_sep String getDateString concode_elem_sep void setOffset concode_elem_sep void main
Date function ( final String arg0 ) { if ( arg0 == null ) return null ; Date loc0 = getDate ( arg0 , sdf1 , offset ) ; if ( loc0 == null ) { loc0 = getDate ( arg0 , sdf2 , offset ) ; if ( loc0 == null ) { loc0 = getDate ( arg0 , sdf3 , offset ) ; if ( loc0 == null ) { loc0 = getDate ( arg0 , sdf4 , offset ) ; } } } return loc0 ; }