plusHours

open fun plusHours(hours: Long): GlobalDateTime

Return a new dateTime which is the specified number of hours ahead of this dateTime.

Return

A new dateTime which is the specified number of hours ahead of this dateTime.

Parameters

hours

Number of hours to add. Can be negative, zero or positive.