|
@@ 325-330 (lines=6) @@
|
| 322 |
|
} |
| 323 |
|
$conditions = $conditions[0]; |
| 324 |
|
|
| 325 |
|
if ($conditions->hasAttribute('NotBefore')) { |
| 326 |
|
$notBefore = Utils::xsDateTimeToTimestamp($conditions->getAttribute('NotBefore')); |
| 327 |
|
if ($this->notBefore === null || $this->notBefore < $notBefore) { |
| 328 |
|
$this->notBefore = $notBefore; |
| 329 |
|
} |
| 330 |
|
} |
| 331 |
|
if ($conditions->hasAttribute('NotOnOrAfter')) { |
| 332 |
|
$notOnOrAfter = Utils::xsDateTimeToTimestamp($conditions->getAttribute('NotOnOrAfter')); |
| 333 |
|
if ($this->notOnOrAfter === null || $this->notOnOrAfter > $notOnOrAfter) { |
|
@@ 331-336 (lines=6) @@
|
| 328 |
|
$this->notBefore = $notBefore; |
| 329 |
|
} |
| 330 |
|
} |
| 331 |
|
if ($conditions->hasAttribute('NotOnOrAfter')) { |
| 332 |
|
$notOnOrAfter = Utils::xsDateTimeToTimestamp($conditions->getAttribute('NotOnOrAfter')); |
| 333 |
|
if ($this->notOnOrAfter === null || $this->notOnOrAfter > $notOnOrAfter) { |
| 334 |
|
$this->notOnOrAfter = $notOnOrAfter; |
| 335 |
|
} |
| 336 |
|
} |
| 337 |
|
|
| 338 |
|
for ($node = $conditions->firstChild; $node !== null; $node = $node->nextSibling) { |
| 339 |
|
if ($node instanceof \DOMText) { |