class final readonly Core · roukmoute/pdf 0.6.2

PDF\Syntax\DataStructure\PdfDateValidation
PDF date values only: ISO_32000-2_sponsored_EC3.pdf,7.9.4, physical pp.133–134.
Missing trailing components retain the specified defaults. NOTE2 on p.134
recommends accepting the terminal apostrophe used by PDF1.7 and earlier.
Validation preserves the supplied value; it does not normalize or convert timezones.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Syntax\DataStructure\TextStringDecoder $decoder = new TextStringDecoder())

Declared by PDF\Syntax\DataStructure\PdfDateValidation · View the code ↗

Declared methods

validate()

public function validate(PDF\Syntax\Object\StringType $date): void

Declared by PDF\Syntax\DataStructure\PdfDateValidation · View the code ↗