Duration.toSeconds

Gets the number of seconds _in this duration. !(p) This returns the total number of whole seconds _in the duration. !(p) This instance is immutable and unaffected by this method call.

@return the whole seconds part of the length of the duration, positive or negative @since 9

class Duration
long
toSeconds
()

Meta