Builder

class Builder

Builder for com.cvs.design.datepicker.CalendarConstraints.

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

build
Link copied to clipboard
fun build(): CalendarConstraints
Builds the CalendarConstraints object using the set parameters or defaults.
setEnd
Link copied to clipboard
fun setEnd(month: Long): CalendarConstraints.Builder
A UTC timeInMilliseconds contained within the latest month the calendar will page to.
setOpenAt
Link copied to clipboard
fun setOpenAt(month: Long): CalendarConstraints.Builder
A UTC timeInMilliseconds contained within the month the calendar should openAt.
setStart
Link copied to clipboard
fun setStart(month: Long): CalendarConstraints.Builder
A UTC timeInMilliseconds contained within the earliest month the calendar will page to.
setValidator
Link copied to clipboard
Limits valid dates to those for which DateValidator.isValid is true.