//
core
/
io.islandtime
/
DateTime
/
DateTime
common
DateTime
Creates a
DateTime
.
fun
DateTime
(year:
Int
, month:
Month
, day:
Int
, hour:
Int
, minute:
Int
, second:
Int
, nanosecond:
Int
)
Content copied to clipboard
fun
DateTime
(year:
Int
, monthNumber:
Int
, day:
Int
, hour:
Int
, minute:
Int
, second:
Int
, nanosecond:
Int
)
Content copied to clipboard
fun
DateTime
(year:
Int
, dayOfYear:
Int
, hour:
Int
, minute:
Int
, second:
Int
, nanosecond:
Int
)
Content copied to clipboard
Creates a
DateTime
by combining a
Date
and
Time
.
Parameters
date
the date
time
the time
fun
DateTime
(date:
Date
, time:
Time
)
Content copied to clipboard