Duration function ( int arg0 ) { return createDuration ( 0 , arg0 , 0 , 0 ) ; }
creates a new duration instance having just the specified number of months . all the other fields are 0 . concode_field_sep Duration WEEK concode_elem_sep Duration MONTH concode_elem_sep Duration YEAR concode_elem_sep Duration DAY concode_field_sep Duration createDuration concode_elem_sep Duration createYears concode_elem_sep Duration getYEAR concode_elem_sep Duration createDays concode_elem_sep Duration getMONTH concode_elem_sep Duration getWEEK concode_elem_sep Duration createWeeks concode_elem_sep Duration getDAY