returns the duration length in milliseconds . because the length of a month or year may vary depending on the year , the startinstant parameter is used to specify the duration offset . concode_field_sep PlaceHolder placeHolder concode_field_sep Duration add concode_elem_sep Duration normalizeWith concode_elem_sep int compare concode_elem_sep boolean isSet concode_elem_sep Duration subtract concode_elem_sep Number getField concode_elem_sep boolean isLongerThan concode_elem_sep int getMonths concode_elem_sep QName getXMLSchemaType concode_elem_sep int getMinutes concode_elem_sep int getHours concode_elem_sep int getDays concode_elem_sep int getSeconds concode_elem_sep boolean isShorterThan concode_elem_sep int getSign concode_elem_sep int getYears concode_elem_sep Duration negate concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void addTo concode_elem_sep void addTo concode_elem_sep String toString concode_elem_sep Duration multiply concode_elem_sep Duration multiply
long function ( Calendar arg0 ) { Calendar loc0 = ( Calendar ) arg0 . clone ( ) ; long loc1 = loc0 . getTimeInMillis ( ) ; addTo ( loc0 ) ; long loc2 = loc0 . getTimeInMillis ( ) ; return loc2 - loc1 ; }