question: convert a duration to the number of seconds . the result will be rounded towards 0 to the nearest second . e.g. , if the duration represents -1 nanosecond , it will be rounded to 0 . concode_field_sep long DURATION_SECONDS_MAX concode_elem_sep long DURATION_SECONDS_MIN concode_elem_sep Duration MAX_VALUE concode_elem_sep Duration MIN_VALUE concode_elem_sep Comparator<Duration> COMPARATOR concode_field_sep Duration add concode_elem_sep int compare concode_elem_sep Duration fromNanos concode_elem_sep boolean isValid concode_elem_sep boolean isValid concode_elem_sep Duration checkValid concode_elem_sep Duration subtract concode_elem_sep Duration parse concode_elem_sep Duration fromSeconds concode_elem_sep Comparator<Duration> comparator concode_elem_sep long toNanos concode_elem_sep Duration fromMillis concode_elem_sep Duration fromMicros concode_elem_sep String toString concode_elem_sep long toMillis concode_elem_sep long toMicros concode_elem_sep Duration normalizedDuration
target: long function ( Duration arg0 ) { return checkValid ( arg0 ) . getSeconds ( ) ; }