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

Extensions for java.time.DayOfWeek

asInt

fun DayOfWeek.asInt(): Int

Return the integer value for this DayOfWeek.