protected doParsingWithParsedFormat ( string $datetimeToParse, array $parsedFormat, array $localizedLiterals, boolean $strictMode ) : mixed | ||
$datetimeToParse | string | Date/time to be parsed |
$parsedFormat | array | Parsed format (from DatesReader) |
$localizedLiterals | array | Array of date / time literals from CLDR |
$strictMode | boolean | Work mode (strict when TRUE, lenient when FALSE) |
return | mixed | Array of parsed date and / or time elements, FALSE on failure |
protected function doParsingWithParsedFormat($datetimeToParse, array $parsedFormat, array $localizedLiterals, $strictMode)
{
return $strictMode ? $this->doParsingInStrictMode($datetimeToParse, $parsedFormat, $localizedLiterals) : $this->doParsingInLenientMode($datetimeToParse, $parsedFormat, $localizedLiterals);
}