Companion

object Companion

Functions

equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

MAX
Link copied to clipboard
common

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

val MAX: YearMonth
MIN
Link copied to clipboard
common

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

val MIN: YearMonth

Extensions

now
Link copied to clipboard

Gets the current YearMonth from the provided clock.

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

Gets the current YearMonth from the system clock.

common
fun YearMonth.Companion.now(): YearMonth

Gets the current YearMonth from the provided clock.

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