Home
last modified time | relevance | path

Searched refs:dateTime (Results 1 – 25 of 59) sorted by relevance

123

/plugin/combo/ComboStrap/
H A DIso8601Date.php25 private $dateTime; variable in ComboStrap\\Iso8601Date
47 if ($dateTime == null) {
49 $this->dateTime = new DateTime();
53 $this->dateTime = $dateTime;
127 if ($dateTime === false) {
131 return new Iso8601Date($dateTime);
137 $dateTime = new DateTime();
139 return new Iso8601Date($dateTime);
165 if ($this->dateTime !== false) {
174 return new Iso8601Date($dateTime);
[all …]
/plugin/davcard/vendor/sabre/vobject/tests/VObject/
H A DDateTimeParserTest.php50 $this->assertEquals($compare, $dateTime);
72 $this->assertEquals($compare, $dateTime);
84 $this->assertEquals($compare, $dateTime);
96 $this->assertEquals($compare, $dateTime);
106 $this->assertEquals($expected, $dateTime);
108 $dateTime = DateTimeParser::parse('20100316');
109 $this->assertEquals($expected, $dateTime);
122 $this->assertEquals($expected, $dateTime);
125 $this->assertEquals($expected, $dateTime);
138 $this->assertEquals($expected, $dateTime);
[all …]
/plugin/webdavclient/vendor/sabre/vobject/tests/VObject/
H A DDateTimeParserTest.php50 $this->assertEquals($compare, $dateTime);
72 $this->assertEquals($compare, $dateTime);
84 $this->assertEquals($compare, $dateTime);
96 $this->assertEquals($compare, $dateTime);
106 $this->assertEquals($expected, $dateTime);
108 $dateTime = DateTimeParser::parse('20100316');
109 $this->assertEquals($expected, $dateTime);
122 $this->assertEquals($expected, $dateTime);
125 $this->assertEquals($expected, $dateTime);
138 $this->assertEquals($expected, $dateTime);
[all …]
/plugin/davcal/vendor/sabre/vobject/tests/VObject/
H A DDateTimeParserTest.php50 $this->assertEquals($compare, $dateTime);
72 $this->assertEquals($compare, $dateTime);
84 $this->assertEquals($compare, $dateTime);
96 $this->assertEquals($compare, $dateTime);
106 $this->assertEquals($expected, $dateTime);
108 $dateTime = DateTimeParser::parse('20100316');
109 $this->assertEquals($expected, $dateTime);
122 $this->assertEquals($expected, $dateTime);
125 $this->assertEquals($expected, $dateTime);
138 $this->assertEquals($expected, $dateTime);
[all …]
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/
H A DDateTimeParserTest.php50 $this->assertEquals($compare, $dateTime);
82 $this->assertEquals($compare, $dateTime);
94 $this->assertEquals($compare, $dateTime);
106 $this->assertEquals($compare, $dateTime);
116 $this->assertEquals($expected, $dateTime);
118 $dateTime = DateTimeParser::parse('20100316');
119 $this->assertEquals($expected, $dateTime);
132 $this->assertEquals($expected, $dateTime);
135 $this->assertEquals($expected, $dateTime);
148 $this->assertEquals($expected, $dateTime);
[all …]
/plugin/swarmwebhook/webhooks/
H A DIFTTT.php124 $dateTime = $this->parseTimeIntoDateTime($data['ts'], $nowTS);
127 'date' => $dateTime->format('Y-m-d'),
128 'time' => $dateTime->format(\DateTime::ATOM),
150 $dateTime = DateTime::createFromFormat(self::IFTTT_TIME_FORMAT, $timestring, $timeZone);
152 if (!$dateTime) {
156 return $dateTime;
161 …$dateTime = DateTime::createFromFormat(self::IFTTT_TIME_FORMAT, $timestring, new \DateTimeZone('+0…
162 if ($dateTime === false) {
164 $dateTime = new DateTime('now');
166 $guessedOffset = round(($dateTime->getTimestamp() - $nowTS)/3600)*100;
H A DZapier.php110 $dateTime = $helper->getDateTimeInstance($data['createdAt'], $data['timeZoneOffset']);
113 'date' => $dateTime->format('Y-m-d'),
114 'time' => $dateTime->format(\DateTime::ATOM),
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Calendar/
H A DEventDateTime.php29 public $dateTime; variable in Google\\Service\\Calendar\\EventDateTime
52 public function setDateTime($dateTime) argument
54 $this->dateTime = $dateTime;
61 return $this->dateTime;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/DLP/
H A DGooglePrivacyDlpV2QuoteInfo.php28 public function setDateTime(GooglePrivacyDlpV2DateTime $dateTime) argument
30 $this->dateTime = $dateTime;
37 return $this->dateTime;
/plugin/pureldap/vendor/freedsx/asn1/src/FreeDSx/Asn1/Type/
H A DAbstractTimeType.php82 public function __construct(?\DateTime $dateTime = null, string $dateFormat, string $tzFormat) argument
86 parent::__construct($dateTime ?? new \DateTime());
93 public function setValue(\DateTime $dateTime) argument
95 $this->value = $dateTime;
169 …nction withTag($tagNumber, int $class, bool $isConstructed, ?\DateTime $dateTime = null, string $d… argument
171 $type = new static($dateTime, $dateFormat, $tzFormat);
H A DUtcTimeType.php61 …public function __construct(?\DateTime $dateTime = null, string $dateFormat = self::FORMAT_SECONDS… argument
63 parent::__construct($dateTime, $dateFormat, $tzFormat);
H A DGeneralizedTimeType.php79 …public function __construct(?\DateTime $dateTime = null, string $dateFormat = self::FORMAT_FRACTIO… argument
81 parent::__construct($dateTime, $dateFormat, $tzFormat);
/plugin/webdav/vendor/sabre/http/lib/
H A Dfunctions.php74 * @param DateTime $dateTime
77 function toDate(DateTime $dateTime) { argument
81 $dateTime = clone $dateTime;
82 $dateTime->setTimezone(new \DateTimeZone('GMT'));
83 return $dateTime->format('D, d M Y H:i:s \G\M\T');
H A DUtil.php69 static function toHTTPDate(\DateTime $dateTime) { argument
71 return toDate($dateTime);
/plugin/davcal/vendor/sabre/http/lib/
H A Dfunctions.php74 * @param DateTime $dateTime
77 function toDate(DateTime $dateTime) { argument
81 $dateTime = clone $dateTime;
82 $dateTime->setTimeZone(new \DateTimeZone('GMT'));
83 return $dateTime->format('D, d M Y H:i:s \G\M\T');
H A DUtil.php69 static function toHTTPDate(\DateTime $dateTime) { argument
71 return toDate($dateTime);
/plugin/swarmwebhook/
H A Dhelper.php29 $dateTime = new DateTime('now', new DateTimeZone($tz));
30 $dateTime->setTimestamp($timestamp);
31 return $dateTime;
/plugin/jsonrpc/
H A DIJR_IntrospectionServer.php90 case 'dateTime.iso8601':
122 case 'dateTime.iso8601':
/plugin/findologicxmlexport/vendor/symfony/yaml/Tests/
H A DInlineTest.php586 public function testDumpDateTime($dateTime, $expected) argument
588 $this->assertSame($expected, Inline::dump($dateTime));
595 $dateTime = new \DateTime('2001-12-15 21:59:43', new \DateTimeZone('UTC'));
596 $tests['date-time-utc'] = [$dateTime, '2001-12-15T21:59:43+00:00'];
598 … $dateTime = new \DateTimeImmutable('2001-07-15 21:59:43', new \DateTimeZone('Europe/Berlin'));
599 $tests['immutable-date-time-europe-berlin'] = [$dateTime, '2001-07-15T21:59:43+02:00'];
/plugin/pureldap/vendor/freedsx/asn1/src/FreeDSx/Asn1/
H A DAsn1.php190 …public static function generalizedTime(?\DateTime $dateTime = null, string $dateFormat = AbstractT… argument
192 return new GeneralizedTimeType($dateTime, $dateFormat, $tzFormat);
201 …public static function utcTime(?\DateTime $dateTime = null, string $dateFormat = AbstractTimeType:… argument
203 return new UtcTimeType($dateTime, $dateFormat, $tzFormat);
/plugin/redissue/redmine/
H A Dredmine.php47 function getDateAndTime($dateTime){ argument
48 $dateTimeExploded = explode('T', $dateTime);
/plugin/elasticsearch/vendor/ruflin/elastica/src/
H A DUtil.php198 public static function convertDateTimeObject(\DateTime $dateTime, bool $includeTimezone = true) argument
202 return $dateTime->format($formatString);
/plugin/combo/syntax/
H A Ddate.php164 $dateTime = Iso8601Date::createFromString($date);
171 $timeStamp = $dateTime->getDateTime()->getTimestamp();
/plugin/davcard/vendor/sabre/vobject/lib/Recur/
H A DEventIterator.php398 * @param DateTime $dateTime
400 public function fastForward(DateTime $dateTime) { argument
402 while($this->valid() && $this->getDtEnd() < $dateTime ) {
/plugin/webdavclient/vendor/sabre/vobject/lib/Recur/
H A DEventIterator.php398 * @param DateTime $dateTime
400 public function fastForward(DateTime $dateTime) { argument
402 while($this->valid() && $this->getDtEnd() < $dateTime ) {

123