Symfony\Component\Intl\DateFormatter\DateFormat\FullTransformer::calculateUnixTimestamp
Calculates the Unix timestamp based on the matched values by the reverse matching regular expression of parse()
Signature
protected function calculateUnixTimestamp(DateTime
$dateTime,
array
$options )
Parameters
$dateTime
—
\DateTime
- The DateTime object to be used to calculate the timestamp
$options
—
array
- An array with the matched values to be used to calculate the timestamp
Returns
- Boolean|int
- The calculated timestamp or false if matched date is invalid