Time

fun Time(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