Companion

object Companion

Properties

MAX
Link copied to clipboard
common
val MAX: YearMonth

The latest supported YearMonth, which may be used to indicate the "far future".

MIN
Link copied to clipboard
common
val MIN: YearMonth

The earliest supported YearMonth, which may be used to indicate the "far past".

Extensions

now
Link copied to clipboard
fun YearMonth.Companion.now(clock: Clock): YearMonth

Gets the current YearMonth from the provided clock.

common
fun YearMonth.Companion.now(): YearMonth

Gets the current YearMonth from the system clock.

common
fun YearMonth.Companion.now(clock: Clock): YearMonth

Gets the current YearMonth from the provided clock.