DateTime

Creates a DateTime.

fun DateTime(year: Int, month: Month, day: Int, hour: Int, minute: Int, second: Int, nanosecond: Int)
fun DateTime(year: Int, monthNumber: Int, day: Int, hour: Int, minute: Int, second: Int, nanosecond: Int)
fun DateTime(year: Int, dayOfYear: Int, hour: Int, minute: Int, second: Int, nanosecond: Int)

Creates a DateTime by combining a Date and Time.

Parameters

date

the date

time

the time

fun DateTime(date: Date, time: Time)