//core/io.islandtime/Year/Companion
Companion¶
common
object Companion
Properties¶
Name | Summary |
---|---|
MAX | common val MAX: Year The latest supported Year, which can be used as a "far future" sentinel. |
MAX_VALUE | common const val MAX_VALUE: Int The latest supported year value. |
MIN | common val MIN: Year The earliest supported Year, which can be used as a "far past" sentinel. |
MIN_VALUE | common const val MIN_VALUE: Int The earliest supported year value. |
Functions¶
Name | Summary |
---|---|
now | common fun Year.Companion.now(): Year Gets the current Year from the system clock. common fun Year.Companion.now(clock: Clock): Year Gets the current Year from the provided clock. jvm fun Year.Companion.now(clock: Clock): Year Gets the current Year from the provided clock. |