Home
last modified time | relevance | path

Searched refs:DateTime (Results 251 – 275 of 419) sorted by path

1...<<11121314151617

/plugin/findologicxmlexport/vendor/symfony/yaml/Tests/
H A DParserTest.php1416 $expectedDate = new \DateTime();
/plugin/findologicxmlexport/vendor/twig/extensions/doc/
H A Ddate.rst24 Internally, Twig uses the PHP ``DateTime::diff()`` method for calculating the
31 or a DateTime instance.
34 a DateTime instance. Do not set this argument to use current date.
H A Dindex.rst33 * :doc:`Intl <intl>`: Adds a filter for localization of ``DateTime`` objects, numbers and currency;
H A Dintl.rst25 by the `strtotime`_ function), `DateTime`_ instances, or `Unix timestamps`_.
137 .. _`DateTime`: http://php.net/DateTime target
/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/Extension/
H A DDate.php57 * @param string|DateTime $date a string or DateTime object to convert
58 …* @param string|DateTime $now A string or DateTime object to compare with. If none given, the cu…
/plugin/findologicxmlexport/vendor/twig/extensions/test/Twig/Tests/Extension/
H A DDateTest.php48 …his->assertEquals($expected, $extension->diff($this->env, new DateTime($date), new DateTime($now))…
54 …nd|minute|hour|day|month|year)s* ago$/', $extension->diff($this->env, new DateTime('24-07-2014')));
H A DIntlTest.php22 …$date = twig_localized_date_filter($env, new DateTime('2015-01-01T00:00:00', new DateTimeZone('UTC…
34 …$date = twig_localized_date_filter($env, new DateTime('2017-11-19T00:00:00Z'), 'short', 'long', 'f…
/plugin/findologicxmlexport/vendor/twig/twig/
H A DCHANGELOG523 * fixed a segfault in the C extension when using DateTime objects
613 * fixed the date filter when a DateTime instance is passed with a specific timezone
936 * changed the date filter to support any date format supported by DateTime
1006 * added support for DateTime instances for the date filter
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A Ddate.rst27 `strtotime`_ function), `DateTime`_ instances, or `DateInterval`_ instances. For
73 If the date is already a DateTime object, and if you want to keep its current
97 .. _`DateTime`: https://secure.php.net/DateTime target
H A Ddate_modify.rst14 by the `strtotime`_ function) or `DateTime`_ instances. You can easily combine
23 .. _`DateTime`: https://secure.php.net/DateTime target
/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/
H A DCoreExtension.php475 if ($date instanceof \DateTime || $date instanceof \DateTimeInterface) {
485 …return new \DateTime($date, false !== $timezone ? $timezone : $env->getExtension('\Twig\Extension\…
490 $date = new \DateTime('@'.$date);
492 … $date = new \DateTime($date, $env->getExtension('\Twig\Extension\CoreExtension')->getTimezone());
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
H A Ddate.test45 'date2' => new \DateTime('2010-10-04 13:45'),
47 …'date4' => 1286199900, // \DateTime::createFromFormat('Y-m-d H:i', '2010-10-04 13:45', new \DateTi…
48 …'date5' => -189291360, // \DateTime::createFromFormat('Y-m-d H:i', '1964-01-02 03:04', new \DateTi…
49 'date6' => new \DateTime('2010-10-04 13:45', new \DateTimeZone('America/New_York')),
H A Ddate_modify.test10 'date2' => new \DateTime('2010-10-04 13:45'),
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/
H A Ddate.test15 'date2' => new \DateTime('2010-10-04 13:45'),
17 …'date4' => 1286199900, // \DateTime::createFromFormat('Y-m-d H:i', '2010-10-04 13:45', new \DateTi…
18 …'date5' => -189291360, // \DateTime::createFromFormat('Y-m-d H:i', '1964-01-02 03:04', new \DateTi…
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DNativeExtensionTest.php32 $d1 = new \DateTime();
33 $d2 = new \DateTime();
/plugin/icalendar/
H A Dfunctions.php17 $origin_dt = new DateTime("@$timestamp", $origin_dtz);
18 $remote_dt = new DateTime("@$timestamp", $remote_dtz);
/plugin/icalevents/
H A Dsyntax-impl.php152 $from = new DateTime($fromString);
153 $to = new DateTime($toString);
/plugin/icalevents/vendor/bin/
H A Dgenerate_vcards221 $dt = new \DateTime('@' . mt_rand($bdayStart, $bdayEnd));
226 $dt = new \DateTime('@' . mt_rand($bdayStart, $bdayEnd));
/plugin/icalevents/vendor/sabre/vobject/
H A DCHANGELOG.md14 * #355: Support `DateTimeInterface` in more places where only `DateTime` was
135 * #139: We now accept `DateTimeInterface` wherever it accepted `DateTime`
136 before in arguments. This means that either `DateTime` or
245 * #217: Initializing vCard `DATE` objects with a PHP DateTime object will now
356 * Changed: It's now possible to pass DateTime objects when using the magic
357 setters on properties. (`$event->DTSTART = new DateTime('now')`).
447 * Fixed: Issue #83. Creating new VALUE=DATE objects using php's DateTime.
555 * Fixed: Recursive loop in ICalendar\DateTime property.
623 * Changed: API for DateTime properties has slightly changed.
629 * Added: When setting date-time properties you can just pass PHP's DateTime
[all …]
/plugin/icalevents/vendor/sabre/vobject/bin/
H A Dbench_freebusygenerator.php27 $start = new \DateTime('2000-01-01');
28 $end = new \DateTime('2020-01-01');
H A Dgenerate_vcards221 $dt = new \DateTime('@' . mt_rand($bdayStart, $bdayEnd));
226 $dt = new \DateTime('@' . mt_rand($bdayStart, $bdayEnd));
H A Dgenerateicalendardata.php32 $currentDate = new DateTime('-' . round($events / 2) . ' days');
H A Drrulebench.php28 $vobj->expand(new DateTime($startDate), new DateTime($endDate));
/plugin/icalevents/vendor/sabre/vobject/lib/
H A DBirthdayCalendarGenerator.php163 'DTSTART' => new \DateTime($object->BDAY->getValue()),
/plugin/icalevents/vendor/sabre/vobject/lib/Component/
H A DVAlarm.php82 * @param DateTime $start
83 * @param DateTime $end

1...<<11121314151617