String function ( Date arg0 , Date arg1 ) { if ( arg0 == null || arg1 == null || arg0 . getTime ( ) > arg1 . getTime ( ) ) { return "srini_string" ; } return getDuration ( ( arg1 . getTime ( ) - arg0 . getTime ( ) ) / 1000 ) ; }
calculates the duration between two dates and returns a string in the format hhh : mm : ss concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder