Documentation

DateHelper
in package

Table of Contents

Methods

getAbsoluteDateFromRelativeDate()  : string
validateDeletionDate()  : void

Methods

getAbsoluteDateFromRelativeDate()

public static getAbsoluteDateFromRelativeDate(string $relativeDate, DateTime $baseDate) : string
Parameters
$relativeDate : string
$baseDate : DateTime
Tags
throws
DateException
Return values
string

validateDeletionDate()

public static validateDeletionDate(string|DateTime $date) : void
Parameters
$date : string|DateTime
Tags
throws
DateException

        
On this page

Search results