String function ( Date arg0 , String arg1 ) { if ( arg0 == null ) throw new IllegalArgumentException ( "srini_string" ) ; if ( arg1 == null ) throw new IllegalArgumentException ( "srini_string" ) ; SimpleDateFormat loc0 = DateFormatHolder . formatFor ( arg1 ) ; return loc0 . format ( arg0 ) ; }
formats the given date according to the specified pattern . the pattern must conform to that used by the simpledateformat simple dateformat class . concode_field_sep String PATTERN_RFC1123 concode_elem_sep Date DEFAULT_TWO_DIGIT_YEAR_START concode_elem_sep TimeZone GMT concode_elem_sep String[] DEFAULT_PATTERNS concode_elem_sep String PATTERN_RFC1036 concode_elem_sep ThreadLocal<SoftReference<Map<String,SimpleDateFormat>>> THREADLOCAL_FORMATS concode_elem_sep String PATTERN_ASCTIME concode_field_sep Date parseDate concode_elem_sep Date parseDate concode_elem_sep Date parseDate concode_elem_sep SimpleDateFormat formatFor concode_elem_sep SoftReference<Map<String,SimpleDateFormat>> initialValue