Home
last modified time | relevance | path

Searched refs:DateInterval (Results 1 – 25 of 50) sorted by relevance

12

/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/
H A DDateIntervalFormatTest.php16 $ATOMDateIntervalString = $dtf->format(new \DateInterval('P0D'));
19 $ATOMDateIntervalString = $dtf->format(new \DateInterval('P0DT0S'));
22 $ATOMDateIntervalString = $dtf->format(new \DateInterval('PT45M'));
26 $ATOMDateIntervalString = $dtf->format(new \DateInterval('P2YT45M'));
30 $ATOMDateIntervalString = $dtf->format(new \DateInterval('P2Y4DT6H8M16S'));
/plugin/findologicxmlexport/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Date/
H A DDateIntervalFilter.php5 use DateInterval; alias
19 * @param DateInterval $element
25 $copy = new DateInterval('P0D');
/plugin/dw2pdf/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Date/
H A DDateIntervalFilter.php5 use DateInterval; alias
19 * @param DateInterval $element
25 $copy = new DateInterval('P0D');
/plugin/structtasks/_test/
H A DNotifiersTest.php5 use DateInterval; alias
84 [date_create()->add(new DateInterval('P2D')), '2 days'],
85 [date_create()->sub(new DateInterval('P2D')), '2 days'],
86 [date_create()->add(new DateInterval('P1D')), '1 day'],
87 [date_create()->add(new DateInterval('P1Y20D')), '1 year and 20 days'],
88 [date_create()->add(new DateInterval('P2M0D')), '2 months'],
89 [date_create()->add(new DateInterval('P2Y2M2D')), '2 years, 2 months, and 2 days'],
90 [date_create()->add(new DateInterval('P10Y1M')), '10 years and 1 month'],
129 $yesterday = date_create()->sub(new DateInterval('P1D'));
130 $tomorrow = date_create()->add(new DateInterval('P1D'));
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A Ddate.rst23 except when the filtered data is of type `DateInterval`_, when the format must conform to
24 `DateInterval::format`_ instead.
27 `strtotime`_ function), `DateTime`_ instances, or `DateInterval`_ instances. For
98 .. _`DateInterval`: https://secure.php.net/DateInterval target
100 .. _`DateInterval::format`: https://secure.php.net/DateInterval.format
/plugin/findologicxmlexport/vendor/myclabs/deep-copy/fixtures/f007/
H A DFooDateInterval.php5 use DateInterval; alias
7 class FooDateInterval extends DateInterval
/plugin/findologicxmlexport/vendor/jms/serializer/src/Handler/
H A DDateHandler.php120 …public function serializeDateInterval(SerializationVisitorInterface $visitor, \DateInterval $date,…
170 …erializeDateIntervalFromXml(XmlDeserializationVisitor $visitor, $data, array $type): ?\DateInterval
209 …ializeDateIntervalFromJson(JsonDeserializationVisitor $visitor, $data, array $type): ?\DateInterval
244 private function parseDateInterval(string $data): \DateInterval
248 $dateInterval = new \DateInterval($data);
278 public function format(\DateInterval $dateInterval): string
/plugin/davcard/vendor/sabre/vobject/lib/
H A DDateTimeParser.php7 use DateInterval; alias
87 * @return DateInterval|string
142 $iv = new DateInterval($duration);
179 * @return DateTime|DateInterval
/plugin/webdavclient/vendor/sabre/vobject/lib/
H A DDateTimeParser.php7 use DateInterval; alias
87 * @return DateInterval|string
142 $iv = new DateInterval($duration);
179 * @return DateTime|DateInterval
/plugin/davcal/vendor/sabre/vobject/lib/
H A DDateTimeParser.php7 use DateInterval; alias
87 * @return DateInterval|string
142 $iv = new DateInterval($duration);
179 * @return DateTime|DateInterval
/plugin/davcard/vendor/sabre/vobject/tests/VObject/
H A DDateTimeParserTest.php7 use DateInterval; alias
19 $this->assertEquals(new DateInterval('PT0S'), DateTimeParser::parseDuration('PT0S'));
25 $expected = new DateInterval('P7D');
29 $expected = new DateInterval('PT3M');
/plugin/webdavclient/vendor/sabre/vobject/tests/VObject/
H A DDateTimeParserTest.php7 use DateInterval; alias
19 $this->assertEquals(new DateInterval('PT0S'), DateTimeParser::parseDuration('PT0S'));
25 $expected = new DateInterval('P7D');
29 $expected = new DateInterval('PT3M');
/plugin/davcal/vendor/sabre/vobject/tests/VObject/
H A DDateTimeParserTest.php7 use DateInterval; alias
19 $this->assertEquals(new DateInterval('PT0S'), DateTimeParser::parseDuration('PT0S'));
25 $expected = new DateInterval('P7D');
29 $expected = new DateInterval('PT3M');
/plugin/davcal/syntax/
H A Dtable.php156 $from->sub(new \DateInterval('P'.$days.'D'));
162 $from->add(new \DateInterval('P'.$days.'D'));
175 $to->sub(new \DateInterval('P'.$data['numdays'].'D'));
189 $to->add(new \DateInterval('P'.$data['numdays'].'D'));
270 $to->sub(new \DateInterval('P1D'));
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
H A Ddate_interval.test12 'date1' => new \DateInterval('P2D'),
13 // This should have no effect on \DateInterval formatting
/plugin/webdav/vendor/sabre/vobject/lib/
H A DDateTimeParser.php5 use DateInterval; alias
95 * @return DateInterval|string
156 $iv = new DateInterval($duration);
196 * @return DateTimeImmutable|DateInterval
/plugin/icalevents/vendor/sabre/vobject/lib/
H A DDateTimeParser.php5 use DateInterval; alias
97 * @return DateInterval|string
161 $iv = new DateInterval($duration);
203 * @return DateTimeImmutable|DateInterval
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/
H A DDateTimeParserTest.php5 use DateInterval; alias
19 $this->assertEquals(new DateInterval('PT0S'), DateTimeParser::parseDuration('PT0S'));
25 $expected = new DateInterval('P7D');
29 $expected = new DateInterval('PT3M');
/plugin/timetrack/
H A Dsyntax.php87 $dateEnd->add(new DateInterval('P1D'));
91 …if($dateEnd <= $dateStartCopy->add(new DateInterval('P7D')) && $dateStart->format('W') !== $dateEn…
92 $dateEnd->add(new DateInterval('P7D'));
95 $dateInterval = new DateInterval('P7D');
/plugin/authgooglesheets/vendor/google/auth/src/Cache/
H A DTypedItem.php121 $this->expiration = $this->currentTime()->add(new \DateInterval("PT{$time}S"));
122 } elseif ($time instanceof \DateInterval) {
H A DItem.php128 $this->expiration = $this->currentTime()->add(new \DateInterval("PT{$time}S"));
129 } elseif ($time instanceof \DateInterval) {
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/Property/ICalendar/
H A DDurationTest.php16 new \DateInterval('PT1H'),
/plugin/davcard/vendor/sabre/vobject/tests/VObject/Property/ICalendar/
H A DDurationTest.php16 new \DateInterval('PT1H'),
/plugin/webdavclient/vendor/sabre/vobject/tests/VObject/Property/ICalendar/
H A DDurationTest.php16 new \DateInterval('PT1H'),
/plugin/davcal/vendor/sabre/vobject/tests/VObject/Property/ICalendar/
H A DDurationTest.php16 new \DateInterval('PT1H'),

12