copy

Returns a copy of this time with the values of any individual components replaced by the new values specified.

fun copy(hour: Int, minute: Int, second: Int, nanosecond: Int): Time