DateRangePreset

class DateRangePreset(val label: String, val range: ClosedRange<LocalDate>)

A quick-pick chip for OrreryDateRangePickerDialog: tapping it selects range (validated like taps, so it is ignored when it breaks the state's bounds, minDays/maxDays or disabled dates). Build the standard set with DatePickerDefaults.rangePresets.

Constructors

Link copied to clipboard
constructor(label: String, range: ClosedRange<LocalDate>)

Properties

Link copied to clipboard
Link copied to clipboard
val range: ClosedRange<LocalDate>

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String