DateValidatorPointBackward

A CalendarConstraints.DateValidator that enables only dates before a given point. Defaults to the current moment in device time backwards using now, but can be set to any point, as UTC milliseconds, using before.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Returns a CalendarConstraints.DateValidator which enables only days before point, in UTC milliseconds.
Link copied to clipboard
open fun describeContents(): Int
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isValid(date: Long): Boolean
Returns true if the provided date is enabled.
Link copied to clipboard
Returns a CalendarConstraints.DateValidator enabled from the current moment in device time backwards.
Link copied to clipboard
open fun writeToParcel(@NonNull dest: Parcel, flags: Int)