Since Kotlin 2.3.0, Instant is stable.
By changing FileMetadata.createdAtMillis,
FileMetadata.lastModifiedAtMillis, and
FileMetadata.lastAccessedAtMillis to Instant and renaming them to
createdAt, lastModifiedAt, and lastAccessedAt, we avoid losing
nanosecond precision.
We can still provide deprecated extension properties that return the
millisecond value from the corresponding Instant.
Since Kotlin 2.3.0,
Instantis stable.By changing
FileMetadata.createdAtMillis,FileMetadata.lastModifiedAtMillis, andFileMetadata.lastAccessedAtMillistoInstantand renaming them tocreatedAt,lastModifiedAt, andlastAccessedAt, we avoid losingnanosecond precision.
We can still provide deprecated extension properties that return the
millisecond value from the corresponding
Instant.