Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.18 KB

-time.md

File metadata and controls

20 lines (14 loc) · 1.18 KB

//astronomy/io.github.cosinekitty.astronomy/Time/Time

Time

fun Time(ut: Double)

fun Time(year: Int, month: Int, day: Int, hour: Int, minute: Int, second: Double)

Creates a Time object from a UTC year, month, day, hour, minute and second.

Parameters

year The UTC year value.
month The UTC month value 1..12.
day The UTC day of the month 1..31.
hour The UTC hour value 0..23.
minute The UTC minute value 0..59.
second The UTC second in the half-open range [0, 60).