Home
last modified time | relevance | path

Searched refs:tz (Results 26 – 50 of 87) sorted by relevance

1234

/plugin/icalevents/vendor/sabre/vobject/lib/
H A DDateTimeParser.php30 * @param DateTimeZone $tz
34 static function parseDateTime($dt, DateTimeZone $tz = null) { argument
43 if ($matches[7] === 'Z' || is_null($tz)) {
44 $tz = new DateTimeZone('UTC');
48 … $matches[2] . '-' . $matches[3] . ' ' . $matches[4] . ':' . $matches[5] . ':' . $matches[6], $tz);
61 * @param DateTimeZone $tz
65 static function parseDate($date, DateTimeZone $tz = null) { argument
74 if (is_null($tz)) {
75 $tz = new DateTimeZone('UTC');
79 $date = new DateTimeImmutable($matches[1] . '-' . $matches[2] . '-' . $matches[3], $tz);
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/Recur/
H A DRDateIteratorTest.php32 $tz = new DateTimeZone('Europe/Berlin');
33 …DateIterator('20140901T000000,20141001T000000', new DateTimeImmutable('2014-08-01 00:00:00', $tz));
36 new DateTimeImmutable('2014-08-01 00:00:00', $tz),
37 new DateTimeImmutable('2014-09-01 00:00:00', $tz),
38 new DateTimeImmutable('2014-10-01 00:00:00', $tz),
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/
H A DIssue48Test.php36 $tz = new DateTimeZone('Europe/Moscow');
39 new DateTimeImmutable('2013-07-10 11:00:00', $tz),
40 new DateTimeImmutable('2013-07-12 11:00:00', $tz),
41 new DateTimeImmutable('2013-07-13 11:00:00', $tz),
/plugin/davcard/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/
H A DIssue48Test.php37 $tz = new DateTimeZone('Europe/Moscow');
40 new DateTime('2013-07-10 11:00:00', $tz),
41 new DateTime('2013-07-12 11:00:00', $tz),
42 new DateTime('2013-07-13 11:00:00', $tz),
/plugin/webdavclient/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/
H A DIssue48Test.php37 $tz = new DateTimeZone('Europe/Moscow');
40 new DateTime('2013-07-10 11:00:00', $tz),
41 new DateTime('2013-07-12 11:00:00', $tz),
42 new DateTime('2013-07-13 11:00:00', $tz),
/plugin/davcal/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/
H A DIssue48Test.php37 $tz = new DateTimeZone('Europe/Moscow');
40 new DateTime('2013-07-10 11:00:00', $tz),
41 new DateTime('2013-07-12 11:00:00', $tz),
42 new DateTime('2013-07-13 11:00:00', $tz),
/plugin/webdav/vendor/sabre/vobject/lib/Property/ICalendar/
H A DDateTime.php200 $tz = null;
208 if (is_null($tz)) {
209 $tz = $d->getTimeZone();
210 $isUtc = in_array($tz->getName(), ['UTC', 'GMT', 'Z', '+00:00']);
212 $this->offsetSet('TZID', $tz->getName());
215 $d = $d->setTimeZone($tz);
263 $tz = $dts[0]->getTimeZone();
264 $isUtc = $isFloating ? false : in_array($tz->getName(), ['UTC', 'GMT', 'Z']);
/plugin/icalevents/vendor/sabre/vobject/lib/Property/ICalendar/
H A DDateTime.php217 $tz = null;
226 if (is_null($tz)) {
227 $tz = $d->getTimeZone();
228 $isUtc = in_array($tz->getName(), ['UTC', 'GMT', 'Z', '+00:00']);
230 $this->offsetSet('TZID', $tz->getName());
233 $d = $d->setTimeZone($tz);
289 $tz = $dts[0]->getTimeZone();
290 $isUtc = $isFloating ? false : in_array($tz->getName(), ['UTC', 'GMT', 'Z']);
/plugin/davcard/vendor/sabre/vobject/lib/Property/ICalendar/
H A DDateTime.php207 $tz = null;
216 if (is_null($tz)) {
217 $tz = $d->getTimeZone();
218 $isUtc = in_array($tz->getName() , array('UTC', 'GMT', 'Z'));
220 $this->offsetSet('TZID', $tz->getName());
223 $d->setTimeZone($tz);
279 $tz = $dts[0]->getTimeZone();
280 $isUtc = $isFloating ? false : in_array($tz->getName() , array('UTC', 'GMT', 'Z'));
/plugin/webdavclient/vendor/sabre/vobject/lib/Property/ICalendar/
H A DDateTime.php207 $tz = null;
216 if (is_null($tz)) {
217 $tz = $d->getTimeZone();
218 $isUtc = in_array($tz->getName() , array('UTC', 'GMT', 'Z'));
220 $this->offsetSet('TZID', $tz->getName());
223 $d->setTimeZone($tz);
279 $tz = $dts[0]->getTimeZone();
280 $isUtc = $isFloating ? false : in_array($tz->getName() , array('UTC', 'GMT', 'Z'));
/plugin/davcal/vendor/sabre/vobject/lib/Property/ICalendar/
H A DDateTime.php207 $tz = null;
216 if (is_null($tz)) {
217 $tz = $d->getTimeZone();
218 $isUtc = in_array($tz->getName() , array('UTC', 'GMT', 'Z'));
220 $this->offsetSet('TZID', $tz->getName());
223 $d->setTimeZone($tz);
279 $tz = $dts[0]->getTimeZone();
280 $isUtc = $isFloating ? false : in_array($tz->getName() , array('UTC', 'GMT', 'Z'));
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/Component/
H A DVAvailabilityTest.php42 $tz = new DateTimeZone('UTC');
45 new DateTimeImmutable('2015-07-17 16:22:00', $tz),
46 new DateTimeImmutable('2015-07-17 17:22:00', $tz),
65 $tz = new DateTimeZone('UTC');
68 new DateTimeImmutable('2015-07-17 16:22:00', $tz),
69 new DateTimeImmutable('2015-07-17 17:22:00', $tz),
H A DVTimeZoneTest.php47 $tz = new \DateTimeZone('America/Toronto');
50 $tz,
/plugin/combo/vendor/dragonmantank/cron-expression/tests/Cron/
H A DHoursFieldTest.php45 $tz = date_default_timezone_get();
55 date_default_timezone_set($tz);
63 $tz = date_default_timezone_get();
73 date_default_timezone_set($tz);
H A DMonthFieldTest.php46 $tz = date_default_timezone_get();
56 date_default_timezone_set($tz);
/plugin/toolbox/
H A DToolboxTextTools.js70 var tz = [];
76 tz[++y] = "";
79 tz[y] += j;
81 return tz;
/plugin/davcard/vendor/sabre/vobject/tests/VObject/Component/
H A DVTimeZoneTest.php48 $tz = new \DateTimeZone('America/Toronto');
51 $tz,
/plugin/webdavclient/vendor/sabre/vobject/tests/VObject/Component/
H A DVTimeZoneTest.php48 $tz = new \DateTimeZone('America/Toronto');
51 $tz,
/plugin/davcal/vendor/sabre/vobject/tests/VObject/Component/
H A DVTimeZoneTest.php48 $tz = new \DateTimeZone('America/Toronto');
51 $tz,
/plugin/davcard/vendor/sabre/vobject/lib/Property/VCard/
H A DDateAndOrTime.php94 $tz = null;
97 $tz = $dt->getTimeZone();
98 $isUtc = in_array($tz->getName() , array('UTC', 'GMT', 'Z'));
/plugin/webdavclient/vendor/sabre/vobject/lib/Property/VCard/
H A DDateAndOrTime.php94 $tz = null;
97 $tz = $dt->getTimeZone();
98 $isUtc = in_array($tz->getName() , array('UTC', 'GMT', 'Z'));
/plugin/davcal/vendor/sabre/vobject/lib/Property/VCard/
H A DDateAndOrTime.php94 $tz = null;
97 $tz = $dt->getTimeZone();
98 $isUtc = in_array($tz->getName() , array('UTC', 'GMT', 'Z'));
/plugin/davcal/syntax/
H A Dcalendar.php189 foreach($tzlist as $tz)
191 $R->doc .= '<option value="'.$tz.'">'.$tz.'</option>';
/plugin/davcal/
H A Djstz.js318 for (var tz in scoreboard) {
319 if (scoreboard.hasOwnProperty(tz)) {
320 if (ambiguities.indexOf(tz) != -1) {
321 return tz;
/plugin/swarmwebhook/
H A Dhelper.php28 $tz = $tzSign . str_pad($offsetInHours * 100, 4, '0', STR_PAD_LEFT);
29 $dateTime = new DateTime('now', new DateTimeZone($tz));

1234