core / io.islandtime / Time / <init>

<init>

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) <init>(hour: Int, minute: Int, second: Int = 0, nanosecond: Int = 0)

Creates a Time from its individual components.

Parameters

hour - the hour of day

minute - the minute of the hour

second - the second of the minute

nanosecond - the nanosecond of the second

Exceptions

DateTimeException - if the time is invalid

Constructor
Creates a Time from its individual components.