Offset Date Time
fun OffsetDateTime(year: Int, month: Month, dayOfMonth: Int, hour: Int, minute: Int, second: Int, nanosecond: Int, offset: UtcOffset)
Content copied to clipboard
Creates an OffsetDateTime.
Throws
if the date-time or offset is invalid
Creates an OffsetDateTime by combining a DateTime and UtcOffset.
Parameters
date Time
the local date and time of day
offset
the offset from UTC