DateValidatorPointForward

A CalendarConstraints.DateValidator that enables dates from a given point forward. Defaults to the current moment in device time forward using DateValidatorPointForward.now, but can be set to any point, as UTC milliseconds, using DateValidatorPointForward.from. Copied from Material Library Required for updated date picker EnterpriseDatePicker to work

Types

CREATOR
Link copied to clipboard
object CREATOR : Parcelable.Creator<DateValidatorPointForward>

Functions

describeContents
Link copied to clipboard
open override fun describeContents(): Int
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
isValid
Link copied to clipboard
open override fun isValid(date: Long): Boolean
Returns true if the provided date is enabled.
writeToParcel
Link copied to clipboard
open override fun writeToParcel(dest: Parcel, flags: Int)