Home
last modified time | relevance | path

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

123

/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/combo/ComboStrap/
H A DIso8601Date.php28 private $dateTime; variable in ComboStrap\\Iso8601Date
47 public function __construct($dateTime = null) argument
50 if ($dateTime == null) {
52 $this->dateTime = new DateTime();
56 $this->dateTime = $dateTime;
127 $dateTime = DateTime::createFromFormat(self::getFormat(), $dateString);
128 if ($dateTime === false) {
132 return new Iso8601Date($dateTime);
138 $dateTime
180 createFromDateTime(DateTime $dateTime) global() argument
[all...]
H A DDataType.php209 public static function toMilliSeconds(\DateTime $dateTime)
212 $secs = $dateTime->getTimestamp(); // Gets the seconds
214 $millisecs += $dateTime->format("u") / 1000; // Microseconds converted to seconds
200 toMilliSeconds(\\DateTime $dateTime) global() argument
/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.php85 * @param DateTimeInterface|null $dateTime
89 public function __construct(?DateTimeInterface $dateTime, string $dateFormat, string $tzFormat)
93 parent::__construct($dateTime ?? new DateTime()); argument
97 * @param DateTimeInterface $dateTime
100 public function setValue(DateTimeInterface $dateTime)
102 $this->value = $dateTime;
171 * @param DateTimeInterface|null $dateTime
176 public static function withTag($tagNumber, int $class, bool $isConstructed, ?DateTimeInterface $dateTime, string $dateFormat, string $tzFormat)
178 $type = new static($dateTime, $dateFormat, $tzFormat);
82 __construct(\\DateTime $dateTime = null, string $dateFormat, string $tzFormat) global() argument
169 withTag($tagNumber, int $class, bool $isConstructed, \\DateTime $dateTime = null, string $dateFormat, string $tzFormat) global() argument
H A DUtcTimeType.php63 public function __construct(?DateTimeInterface $dateTime = null, string $dateFormat = self::FORMAT_SECONDS, string $tzFormat = self::TZ_UTC)
65 parent::__construct($dateTime, $dateFormat, $tzFormat);
61 __construct(\\DateTime $dateTime = null, string $dateFormat = self FORMAT_SECONDS, string $tzFormat = self TZ_UTC) global() argument
H A DGeneralizedTimeType.php81 public function __construct(?DateTimeInterface $dateTime = null, string $dateFormat = self::FORMAT_FRACTIONS, string $tzFormat = self::TZ_UTC)
83 parent::__construct($dateTime, $dateFormat, $tzFormat);
79 __construct(\\DateTime $dateTime = null, string $dateFormat = self FORMAT_FRACTIONS, string $tzFormat = self TZ_UTC) global() argument
/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.php186 * @param DateTimeInterface|null $dateTime
191 public static function generalizedTime(?DateTimeInterface $dateTime = null, string $dateFormat = AbstractTimeType::FORMAT_FRACTIONS, string $tzFormat = AbstractTimeType::TZ_UTC): GeneralizedTimeType
193 return new GeneralizedTimeType($dateTime, $dateFormat, $tzFormat);
197 * @param DateTimeInterface|null $dateTime
202 public static function utcTime(?DateTimeInterface $dateTime = null, string $dateFormat = AbstractTimeType::FORMAT_SECONDS, string $tzFormat = AbstractTimeType::TZ_UTC): UtcTimeType
204 return new UtcTimeType($dateTime, $dateFormat, $tzFormat);
190 generalizedTime(\\DateTime $dateTime = null, string $dateFormat = AbstractTimeType FORMAT_FRACTIONS, string $tzFormat = AbstractTimeType TZ_UTC) global() argument
201 utcTime(\\DateTime $dateTime = null, string $dateFormat = AbstractTimeType FORMAT_SECONDS, string $tzFormat = AbstractTimeType TZ_UTC) global() argument
/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/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