orNow

如果 this 为 null,返回 Clock.System.now,否则返回 this 本身。


@JvmName(name = "orNowNotNull")
fun Instant.orNow(): Instant(source)

Deprecated (with error)

orNow() on a non-null Instant is redundant

Replace with

this