kotest-property / io.kotest.property.arbitrary / localDate

localDate

fun Arb.Companion.localDate(minYear: Int = 1970, maxYear: Int = 2030): Arb<LocalDate>

Arberates a stream of random LocalDates

This generator creates randomly generated LocalDates, in the range [minYear,maxYear].

If any of the years in the range contain a leap year, the date 29/02/YEAR will always be a constant value of this generator.

See Also

localDateTime

localTime