Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
kotlinx-datetime
0.4.1
common
js
jvm
native
switch theme
search in API
kotlinx-datetime
/
kotlinx.datetime
/
LocalDate
/
year
year
common
js
jvm
native
expect
val
year
:
Int
Returns the year component of the date.
actual
val
year
:
Int
actual
val
year
:
Int
actual
val
year
:
Int