Duration.toHours

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

@return the number of hours _in the duration, may be negative

class Duration
long
toHours
()

Meta