to Kotlin Instant
Converts the NSDate to the corresponding Instant.
Note that the NSDate stores a Double value. This means that the results of this conversion may be imprecise. For example, if the NSDate only has millisecond or microsecond precision logically, due to conversion artifacts in Double values, the result may include non-zero nanoseconds.
Converts this java.time.Instant value to a kotlinx.datetime.Instant value.