protected static checkDateConditions ( string | null $start = null, string | null $end = null ) : boolean | ||
$start | string | null | A SAML2 timestamp marking the start of the period to check. Defaults to null, in which case there's no limitations in the past. |
$end | string | null | A SAML2 timestamp marking the end of the period to check. Defaults to null, in which case there's no limitations in the future. |
return | boolean | True if the current time belongs to the period specified by $start and $end. False otherwise. |