Home
last modified time | relevance | path

Searched refs:DateInterval (Results 1 – 25 of 46) 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/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/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/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/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/findologicxmlexport/vendor/myclabs/deep-copy/fixtures/f007/
H A DFooDateInterval.php5 use DateInterval; alias
7 class FooDateInterval extends 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/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/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/davcal/syntax/
H A Dtable.php157 $from->sub(new \DateInterval('P'.$days.'D'));
163 $from->add(new \DateInterval('P'.$days.'D'));
176 $to->sub(new \DateInterval('P'.$data['numdays'].'D'));
190 $to->add(new \DateInterval('P'.$data['numdays'].'D'));
265 $to->sub(new \DateInterval('P1D'));
/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/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/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/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
H A Ddate_default_format_interval.test12 'date2' => new \DateInterval('P2D'),
/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/icalevents/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'),
/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/findologicxmlexport/vendor/myclabs/deep-copy/src/DeepCopy/
H A DDeepCopy.php5 use DateInterval; alias
62 $this->addTypeFilter(new DateIntervalFilter(), new TypeMatcher(DateInterval::class));
/plugin/dw2pdf/vendor/myclabs/deep-copy/src/DeepCopy/
H A DDeepCopy.php6 use DateInterval; alias
65 $this->addTypeFilter(new DateIntervalFilter(), new TypeMatcher(DateInterval::class));

12