Package-level declarations

Functions

Link copied to clipboard
fun Validatable<Instant?>.isAfter(other: Instant): Constraint

The validatable Instant must be after other when this constraint is applied.

fun Validatable<LocalDate?>.isAfter(other: LocalDate): Constraint

The validatable LocalDate must be after other when this constraint is applied.

fun Validatable<LocalDateTime?>.isAfter(other: LocalDateTime): Constraint

The validatable LocalDateTime must be after other when this constraint is applied.

fun Validatable<LocalTime?>.isAfter(other: LocalTime): Constraint

The validatable LocalTime must be after other when this constraint is applied.

Link copied to clipboard
fun Validatable<Instant?>.isAfterOrEqualTo(other: Instant): Constraint

The validatable Instant must be after or equal to other when this constraint is applied.

fun Validatable<LocalDate?>.isAfterOrEqualTo(other: LocalDate): Constraint

The validatable LocalDate must be after or equal to other when this constraint is applied.

fun Validatable<LocalDateTime?>.isAfterOrEqualTo(other: LocalDateTime): Constraint

The validatable LocalDateTime must be after or equal to other when this constraint is applied.

fun Validatable<LocalTime?>.isAfterOrEqualTo(other: LocalTime): Constraint

The validatable LocalTime must be after or equal to other when this constraint is applied.

Link copied to clipboard
fun Validatable<Instant?>.isBefore(other: Instant): Constraint

The validatable Instant must be before other when this constraint is applied.

fun Validatable<LocalDate?>.isBefore(other: LocalDate): Constraint

The validatable LocalDate must be before other when this constraint is applied.

fun Validatable<LocalDateTime?>.isBefore(other: LocalDateTime): Constraint

The validatable LocalDateTime must be before other when this constraint is applied.

fun Validatable<LocalTime?>.isBefore(other: LocalTime): Constraint

The validatable LocalTime must be before other when this constraint is applied.

Link copied to clipboard
fun Validatable<Instant?>.isBeforeOrEqualTo(other: Instant): Constraint

The validatable Instant must be before or equal to other when this constraint is applied.

fun Validatable<LocalDate?>.isBeforeOrEqualTo(other: LocalDate): Constraint

The validatable LocalDate must be before or equal to other when this constraint is applied.

fun Validatable<LocalDateTime?>.isBeforeOrEqualTo(other: LocalDateTime): Constraint

The validatable LocalDateTime must be before or equal to other when this constraint is applied.

fun Validatable<LocalTime?>.isBeforeOrEqualTo(other: LocalTime): Constraint

The validatable LocalTime must be before or equal to other when this constraint is applied.

Link copied to clipboard
@JvmName(name = "instantFuture")
fun Validatable<Instant?>.isInFuture(): Constraint

The validatable Instant must be in the future when this constraint is applied.

@JvmName(name = "localDateFuture")
fun Validatable<LocalDate?>.isInFuture(): Constraint

The validatable LocalDate must be in the future when this constraint is applied.

@JvmName(name = "localDateTimeFuture")
fun Validatable<LocalDateTime?>.isInFuture(): Constraint

The validatable LocalDateTime must be in the future when this constraint is applied.

@JvmName(name = "localTimeFuture")
fun Validatable<LocalTime?>.isInFuture(): Constraint

The validatable LocalTime must be in the future when this constraint is applied.

Link copied to clipboard
@JvmName(name = "instantIsInFutureOrIsPresent")
fun Validatable<Instant?>.isInFutureOrIsPresent(): Constraint

The validatable Instant must be in the future or present time when this constraint is applied.

@JvmName(name = "localDateIsInFutureOrIsPresent")
fun Validatable<LocalDate?>.isInFutureOrIsPresent(): Constraint

The validatable LocalDate must be in the future or present time when this constraint is applied.

@JvmName(name = "localDateTimeIsInFutureOrIsPresent")
fun Validatable<LocalDateTime?>.isInFutureOrIsPresent(): Constraint

The validatable LocalDateTime must be in the future or present time when this constraint is applied.

@JvmName(name = "localTimeIsInFutureOrIsPresent")
fun Validatable<LocalTime?>.isInFutureOrIsPresent(): Constraint

The validatable LocalTime must be in the future or present time when this constraint is applied.

Link copied to clipboard
@JvmName(name = "instantIsInPast")
fun Validatable<Instant?>.isInPast(): Constraint

The validatable Instant must be in the past when this constraint is applied.

@JvmName(name = "localDateIsInPast")
fun Validatable<LocalDate?>.isInPast(): Constraint

The validatable LocalDate must be in the past when this constraint is applied.

@JvmName(name = "localDateTimeIsInPast")
fun Validatable<LocalDateTime?>.isInPast(): Constraint

The validatable LocalDateTime must be in the past when this constraint is applied.

@JvmName(name = "localTimeIsInPast")
fun Validatable<LocalTime?>.isInPast(): Constraint

The validatable LocalTime must be in the past when this constraint is applied.

Link copied to clipboard
@JvmName(name = "instantIsInPastOrIsPresent")
fun Validatable<Instant?>.isInPastOrIsPresent(): Constraint

The validatable Instant must be in the past or present time when this constraint is applied.

@JvmName(name = "localDateIsInPastOrIsPresent")
fun Validatable<LocalDate?>.isInPastOrIsPresent(): Constraint

The validatable LocalDate must be in the past or present time when this constraint is applied.

@JvmName(name = "localDateTimeIsInPastOrIsPresent")
fun Validatable<LocalDateTime?>.isInPastOrIsPresent(): Constraint

The validatable LocalDateTime must be in the past or present time when this constraint is applied.

@JvmName(name = "localTimeIsInPastOrIsPresent")
fun Validatable<LocalTime?>.isInPastOrIsPresent(): Constraint

The validatable LocalTime must be in the past or present time when this constraint is applied.