Documentation

DateValidatorService
in package

Table of Contents

Properties

$format  : mixed

Methods

validateDateFormat()  : bool
validateNotInvertDateRange()  : bool

Properties

Methods

validateDateFormat()

public validateDateFormat(string $date[, string|null $format = null ]) : bool
Parameters
$date : string
$format : string|null = null
Return values
bool

validateNotInvertDateRange()

public validateNotInvertDateRange(DateTime $firstDate, DateTime $secondDate) : bool
Parameters
$firstDate : DateTime
$secondDate : DateTime
Return values
bool

        
On this page

Search results