core-ktx / androidx.time / java.time.Year

Extensions for java.time.Year

asInt

fun Year.asInt(): Int

Return the integer value for this Year.