String function ( String arg0 , String arg1 ) { if ( arg0 == null ) { return "srini_string" ; } arg0 = cleanupPersidno ( arg0 ) ; if ( arg0 . length ( ) != 10 ) { return "srini_string" ; } return arg0 . substring ( 0 , 6 ) + arg1 + arg0 . substring ( 6 ) ; }
returns a persidno , formatted by inserting the specified delimiter after the birthdate . eturns an empty string if persidno is not valid . concode_field_sep String DEFAULT_PERSIDNO_DELIMITER concode_field_sep String cleanupPersidno concode_elem_sep Integer ageFromPersidno concode_elem_sep Integer birthMonthFromPersidno concode_elem_sep Integer birthDayFromPersidno concode_elem_sep Date nextBirthday concode_elem_sep boolean isIndividualPersidno concode_elem_sep Date birthdateFromPersidno concode_elem_sep boolean isCompanyPersidno concode_elem_sep boolean validatePersidno concode_elem_sep Integer birthyearFromPersidno