String function ( Date arg0 ) { LocalDate loc0 = new LocalDate ( arg0 ) ; LocalDate loc1 = new LocalDate ( ) ; Months loc2 = Months . monthsBetween ( loc0 , loc1 ) ; int loc3 = loc2 . getMonths ( ) ; if ( loc3 < 24 ) return Integer . toString ( loc3 ) + "srini_string" ; else return Integer . toString ( loc3 / 12 ) + "srini_string" ; }
gets the integer age of a patient , then appends `` yo '' or `` mo '' depending on if the patient age is in years adult or months baby concode_field_sep PlaceHolder placeHolder concode_field_sep int calculateYears concode_elem_sep DateTime getCurrentDateTime concode_elem_sep String getFriendlyDateMonthYear concode_elem_sep Integer getYearsInteger concode_elem_sep String getFriendlyDate concode_elem_sep String getFriendlyDate concode_elem_sep float getAgeAsOfDateFloat concode_elem_sep Integer getMonthsInteger concode_elem_sep String getFriendlyInternationalDate concode_elem_sep String getCurrentDateTimeString