UtcOffset

Creates a UTC offset of hours, minutes, and seconds. Each component must be within its valid range and without any mixed positive and negative values.

Return

Parameters

hours

hours to offset by, within +/-18

minutes

minutes to offset by, within +/-59

seconds

seconds to offset by, within +/-59

fun UtcOffset(hours: IntHours, minutes: IntMinutes, seconds: IntSeconds): UtcOffset