infix fun Date.at(time: Time): DateTime
Combine a Date with a Time to create a DateTime.
(iosArm64, iosX64, jvm, macosX64)infix fun DateTime.at(offset: UtcOffset): OffsetDateTimeinfix fun Date.at(offsetTime: OffsetTime): OffsetDateTimeinfix fun Instant.at(offset: UtcOffset): OffsetDateTime(iosArm64, iosX64, jvm, macosX64)
infix fun Time.at(offset: UtcOffset): OffsetTime
Create an OffsetTime by combining a Time with a UtcOffset.
(iosArm64, iosX64, jvm, macosX64)infix fun Year.at(month: Month): YearMonth
Combine a year and month to get a YearMonth.
(iosArm64, iosX64, jvm, macosX64)infix fun DateTime.at(zone: TimeZone): ZonedDateTime
Get the ZonedDateTime corresponding to the local date and time in a particular time zone.
Due to daylight savings time transitions, there a few complexities to be aware of. If the local time falls within a gap (meaning it doesn't exist), it will adjusted forward by the length of the gap. If it falls within an overlap (meaning the local time exists twice), the earlier offset will be used.
(iosArm64, iosX64, jvm, macosX64)infix fun Instant.at(zone: TimeZone): ZonedDateTime
Get the ZonedDateTime representing an instant in a particular time zone.