kotest-property / io.kotest.property.arbitrary / period

period

fun Arb.Companion.period(maxYear: Int = 10): Arb<Period>

Arberates a random Periods.

This generator creates randomly generated Periods, with years less than or equal to maxYear.

If maxYear is 0, only random months and days will be generated.

Months will always be in range 0..11 Days will always be in range 0..31