isIso8601Recurrence.php
Table of Contents
Functions
- isIso8601Recurrence() : bool
- Validates whether a string is a valid ISO 8601 recurring interval.
Functions
isIso8601Recurrence()
Validates whether a string is a valid ISO 8601 recurring interval.
isIso8601Recurrence(string $value) : bool
The format is R[n]/<interval> where:
Ris the recurrence designator (required)nis an optional non-negative integer count (absent means infinite)<interval>is any valid ISO 8601 bounded interval — see isIso8601Interval()
Parameters
- $value : string
-
The recurrence string to validate
Tags
Return values
bool —True if the string is a valid ISO 8601 recurrence, false otherwise