Date function ( String arg0 ) { if ( arg0 == null ) { return new Date ( ) ; } Date loc0 = useDefaultFormatter ( arg0 ) ; int loc1 = 0 ; while ( loc0 == null && loc1 < DATE_FORMATS . length ) { loc0 = getDate ( arg0 , DATE_FORMATS [ loc1 ++ ] ) ; } return loc0 == null ? new Date ( ) : loc0 ; }
return a date object from a given string . if the date could not be parsed , the current time is used . concode_field_sep String[] DATE_FORMATS concode_field_sep Date toDate concode_elem_sep Date toDate concode_elem_sep Date toDate concode_elem_sep Date toDate concode_elem_sep Date toDate concode_elem_sep String format concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep Date getDate concode_elem_sep CustomDateFormatter getFormatter concode_elem_sep Date useDefaultFormatter