now¶
jvm
fun Instant.Companion.now(clock: Clock): Instant
Gets the current Instant from the provided clock.
jvm
fun Year.Companion.now(clock: Clock): Year
Gets the current Year from the provided clock.
jvm
fun YearMonth.Companion.now(clock: Clock): YearMonth
Gets the current YearMonth from the provided clock.
jvm
fun Date.Companion.now(clock: Clock): Date
Gets the current Date from the provided clock.
jvm
fun DateTime.Companion.now(clock: Clock): DateTime
Gets the current DateTime from the provided clock.
jvm
fun OffsetDateTime.Companion.now(clock: Clock): OffsetDateTime
Gets the current OffsetDateTime from the provided clock.
jvm
fun ZonedDateTime.Companion.now(clock: Clock): ZonedDateTime
Gets the current ZonedDateTime from the provided clock.
jvm
fun Time.Companion.now(clock: Clock): Time
Gets the current Time from the provided clock.
jvm
fun OffsetTime.Companion.now(clock: Clock): OffsetTime
Gets the current OffsetTime from the provided clock.