days
The length of this unit in days.
Samples
import kotlinx.datetime.*
import kotlin.test.*
import kotlin.time.Duration.Companion.hours
fun main() {
//sampleStart
// Constructing various day-based measurement units
val iteration = DateTimeUnit.DayBased(days = 14)
check(iteration.days == 14)
check(iteration == DateTimeUnit.DAY * 14)
check(iteration == DateTimeUnit.WEEK * 2)
//sampleEnd
}