File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
jvm/src/aws/smithy/kotlin/runtime/time
native/src/aws/smithy/kotlin/runtime/time Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import kotlin.time.Duration
2525import kotlin.time.toKotlinDuration
2626import java.time.Duration as jtDuration
2727import java.time.Instant as jtInstant
28- import kotlinx.datetime .Instant as KtInstant
28+ import kotlin.time .Instant as KtInstant
2929
3030// FIXME Consider making this multiplatform (`common`) using kotlinx.datetime
3131public actual class Instant (internal val value : jtInstant) : Comparable<Instant> {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import kotlinx.datetime.format.char
1717import kotlinx.datetime.format.optional
1818
1919/* *
20- * [DateTimeFormat<DateTimeComponents>] for use with [kotlinx.datetime .Instant]
20+ * [DateTimeFormat<DateTimeComponents>] for use with [kotlin.time .Instant]
2121 */
2222internal object DateTimeFormats {
2323
Original file line number Diff line number Diff line change 55
66package aws.smithy.kotlin.runtime.time
77
8- import kotlinx.datetime .Clock
8+ import kotlin.time .Clock
99import kotlinx.datetime.LocalDate
1010import kotlinx.datetime.TimeZone
1111import kotlinx.datetime.atStartOfDayIn
1212import kotlinx.datetime.format
1313import kotlin.time.Duration
14- import kotlinx.datetime .Instant as KtInstant
14+ import kotlin.time .Instant as KtInstant
1515
1616private fun TimestampFormat.asDateTimeFormat () = when (this ) {
1717 TimestampFormat .RFC_5322 -> DateTimeFormats .RFC_5322
You can’t perform that action at this time.
0 commit comments