Logo GenPRES

Validators Module

Holds a validator for a year, month and day forming a real calendar date, and a validator for a date not after today.

Functions and values

Function or value Description

notAfterValidator today

Full Usage: notAfterValidator today

Parameters:
Returns: Validator<DateTime, DateTime>

Validates that a date is not after today. Only the dates are compared, not the time of day.

today : DateTime
Returns: Validator<DateTime, DateTime>

Type something to start searching.