toNSDate

fun Instant.toNSDate(): NSDate(source)

Converts the Instant to an instance of NSDate.

The conversion is lossy: Darwin uses millisecond precision to represent dates, and Instant allows for nanosecond resolution.