//core/io.islandtime/OffsetDateTime/adjustedTo
adjustedTo¶
common
fun adjustedTo(newOffset: UtcOffset): OffsetDateTime
Returns this date-time with a new UTC offset, adjusting the date and time components such that the instant represented by it remains the same.