Home
last modified time | relevance | path

Searched refs:parseDuration (Results 1 – 25 of 41) sorted by relevance

12

/plugin/davcard/vendor/sabre/vobject/tests/VObject/
H A DDateTimeParserTest.php13 $this->assertEquals('+1 weeks', DateTimeParser::parseDuration('P1W',true));
14 $this->assertEquals('+5 days', DateTimeParser::parseDuration('P5D',true));
15 …$this->assertEquals('+5 days 3 hours 50 minutes 12 seconds', DateTimeParser::parseDuration('P5DT3H…
16 $this->assertEquals('-1 weeks 50 minutes', DateTimeParser::parseDuration('-P1WT50M',true));
17 …$this->assertEquals('+50 days 3 hours 2 seconds', DateTimeParser::parseDuration('+P50DT3H2S',true)…
18 $this->assertEquals('+0 seconds', DateTimeParser::parseDuration('+PT0S',true));
19 $this->assertEquals(new DateInterval('PT0S'), DateTimeParser::parseDuration('PT0S'));
26 $this->assertEquals($expected, DateTimeParser::parseDuration('P1W'));
31 $this->assertEquals($expected, DateTimeParser::parseDuration('-PT3M'));
40 DateTimeParser::parseDuration('P1X',true);
/plugin/webdavclient/vendor/sabre/vobject/tests/VObject/
H A DDateTimeParserTest.php13 $this->assertEquals('+1 weeks', DateTimeParser::parseDuration('P1W',true));
14 $this->assertEquals('+5 days', DateTimeParser::parseDuration('P5D',true));
15 …$this->assertEquals('+5 days 3 hours 50 minutes 12 seconds', DateTimeParser::parseDuration('P5DT3H…
16 $this->assertEquals('-1 weeks 50 minutes', DateTimeParser::parseDuration('-P1WT50M',true));
17 …$this->assertEquals('+50 days 3 hours 2 seconds', DateTimeParser::parseDuration('+P50DT3H2S',true)…
18 $this->assertEquals('+0 seconds', DateTimeParser::parseDuration('+PT0S',true));
19 $this->assertEquals(new DateInterval('PT0S'), DateTimeParser::parseDuration('PT0S'));
26 $this->assertEquals($expected, DateTimeParser::parseDuration('P1W'));
31 $this->assertEquals($expected, DateTimeParser::parseDuration('-PT3M'));
40 DateTimeParser::parseDuration('P1X',true);
/plugin/davcal/vendor/sabre/vobject/tests/VObject/
H A DDateTimeParserTest.php13 $this->assertEquals('+1 weeks', DateTimeParser::parseDuration('P1W',true));
14 $this->assertEquals('+5 days', DateTimeParser::parseDuration('P5D',true));
15 …$this->assertEquals('+5 days 3 hours 50 minutes 12 seconds', DateTimeParser::parseDuration('P5DT3H…
16 $this->assertEquals('-1 weeks 50 minutes', DateTimeParser::parseDuration('-P1WT50M',true));
17 …$this->assertEquals('+50 days 3 hours 2 seconds', DateTimeParser::parseDuration('+P50DT3H2S',true)…
18 $this->assertEquals('+0 seconds', DateTimeParser::parseDuration('+PT0S',true));
19 $this->assertEquals(new DateInterval('PT0S'), DateTimeParser::parseDuration('PT0S'));
26 $this->assertEquals($expected, DateTimeParser::parseDuration('P1W'));
31 $this->assertEquals($expected, DateTimeParser::parseDuration('-PT3M'));
40 DateTimeParser::parseDuration('P1X',true);
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/
H A DDateTimeParserTest.php13 $this->assertEquals('+1 weeks', DateTimeParser::parseDuration('P1W', true));
14 $this->assertEquals('+5 days', DateTimeParser::parseDuration('P5D', true));
15 …$this->assertEquals('+5 days 3 hours 50 minutes 12 seconds', DateTimeParser::parseDuration('P5DT3H…
16 $this->assertEquals('-1 weeks 50 minutes', DateTimeParser::parseDuration('-P1WT50M', true));
17 …$this->assertEquals('+50 days 3 hours 2 seconds', DateTimeParser::parseDuration('+P50DT3H2S', true…
18 $this->assertEquals('+0 seconds', DateTimeParser::parseDuration('+PT0S', true));
19 $this->assertEquals(new DateInterval('PT0S'), DateTimeParser::parseDuration('PT0S'));
26 $this->assertEquals($expected, DateTimeParser::parseDuration('P1W'));
31 $this->assertEquals($expected, DateTimeParser::parseDuration('-PT3M'));
40 DateTimeParser::parseDuration('P1X', true);
/plugin/davcard/vendor/sabre/vobject/lib/Component/
H A DVAlarm.php28 $triggerDuration = VObject\DateTimeParser::parseDuration($this->TRIGGER);
56 $duration = VObject\DateTimeParser::parseDuration($parentComponent->DURATION);
87 $duration = VObject\DateTimeParser::parseDuration($this->DURATION);
H A DVEvent.php72 $effectiveEnd->add(VObject\DateTimeParser::parseDuration($this->DURATION));
/plugin/webdavclient/vendor/sabre/vobject/lib/Component/
H A DVAlarm.php28 $triggerDuration = VObject\DateTimeParser::parseDuration($this->TRIGGER);
56 $duration = VObject\DateTimeParser::parseDuration($parentComponent->DURATION);
87 $duration = VObject\DateTimeParser::parseDuration($this->DURATION);
/plugin/davcal/vendor/sabre/vobject/lib/Component/
H A DVAlarm.php28 $triggerDuration = VObject\DateTimeParser::parseDuration($this->TRIGGER);
56 $duration = VObject\DateTimeParser::parseDuration($parentComponent->DURATION);
87 $duration = VObject\DateTimeParser::parseDuration($this->DURATION);
/plugin/webdav/vendor/sabre/vobject/lib/Component/
H A DVAlarm.php32 $triggerDuration = VObject\DateTimeParser::parseDuration($this->TRIGGER);
59 $duration = VObject\DateTimeParser::parseDuration($parentComponent->DURATION);
91 $duration = VObject\DateTimeParser::parseDuration($this->DURATION);
H A DAvailable.php37 … $effectiveEnd = $effectiveStart->add(VObject\DateTimeParser::parseDuration($this->DURATION));
H A DVAvailability.php67 … $effectiveEnd = $effectiveStart->add(VObject\DateTimeParser::parseDuration($this->DURATION));
/plugin/icalevents/vendor/sabre/vobject/lib/Component/
H A DVAlarm.php32 $triggerDuration = VObject\DateTimeParser::parseDuration($this->TRIGGER);
60 $duration = VObject\DateTimeParser::parseDuration($parentComponent->DURATION);
92 $duration = VObject\DateTimeParser::parseDuration($this->DURATION);
H A DAvailable.php37 … $effectiveEnd = $effectiveStart->add(VObject\DateTimeParser::parseDuration($this->DURATION));
H A DVAvailability.php67 … $effectiveEnd = $effectiveStart->add(VObject\DateTimeParser::parseDuration($this->DURATION));
H A DVEvent.php73 … $effectiveEnd = $effectiveStart->add(VObject\DateTimeParser::parseDuration($this->DURATION));
/plugin/davcard/vendor/sabre/vobject/lib/
H A DDateTimeParser.php89 static public function parseDuration($duration, $asString = false) { function in Sabre\\VObject\\DateTimeParser
184 return self::parseDuration($date);
/plugin/webdavclient/vendor/sabre/vobject/lib/
H A DDateTimeParser.php89 static public function parseDuration($duration, $asString = false) { function in Sabre\\VObject\\DateTimeParser
184 return self::parseDuration($date);
/plugin/davcal/vendor/sabre/vobject/lib/
H A DDateTimeParser.php89 static public function parseDuration($duration, $asString = false) { function in Sabre\\VObject\\DateTimeParser
184 return self::parseDuration($date);
/plugin/icalevents/vendor/sabre/vobject/lib/Property/ICalendar/
H A DDuration.php81 return DateTimeParser::parseDuration($value);
/plugin/webdav/vendor/sabre/vobject/lib/Property/ICalendar/
H A DDuration.php77 return DateTimeParser::parseDuration($value);
/plugin/davcard/vendor/sabre/vobject/lib/Property/ICalendar/
H A DDuration.php82 return DateTimeParser::parseDuration($value);
/plugin/webdavclient/vendor/sabre/vobject/lib/Property/ICalendar/
H A DDuration.php82 return DateTimeParser::parseDuration($value);
/plugin/davcal/vendor/sabre/vobject/lib/Property/ICalendar/
H A DDuration.php82 return DateTimeParser::parseDuration($value);
/plugin/webdav/vendor/sabre/vobject/lib/
H A DDateTimeParser.php97 public static function parseDuration($duration, $asString = false) function in Sabre\\VObject\\DateTimeParser
201 return self::parseDuration($date);
/plugin/icalevents/vendor/sabre/vobject/lib/
H A DDateTimeParser.php99 static function parseDuration($duration, $asString = false) { function in Sabre\\VObject\\DateTimeParser
208 return self::parseDuration($date);

12