CalendarConstraints.DateValidator
public
static
interface
CalendarConstraints.DateValidator
implements
Parcelable
com.google.android.material.datepicker.CalendarConstraints.DateValidator
|
Known indirect subclasses
|
Used to determine whether calendar days are enabled.
Extends Parcelable
in order to maintain the DateValidator
across device
configuration changes. Parcelable breaks when passed between processes.
Summary
Inherited constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR
|
int |
PARCELABLE_WRITE_RETURN_VALUE
|
|
Public methods |
abstract
boolean
|
isValid(long date)
Returns true if the provided date is enabled.
|
Inherited methods |
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Public methods
isValid
public abstract boolean isValid (long date)
Returns true if the provided date
is enabled.