31 $expected->invert =
true;
51 $this->assertEquals($compare, $dateTime);
83 $this->assertEquals($compare, $dateTime);
95 $this->assertEquals($compare, $dateTime);
107 $this->assertEquals($compare, $dateTime);
117 $this->assertEquals($expected, $dateTime);
120 $this->assertEquals($expected, $dateTime);
133 $this->assertEquals($expected, $dateTime);
136 $this->assertEquals($expected, $dateTime);
149 $this->assertEquals($expected, $dateTime);
152 $this->assertEquals($expected, $dateTime);
386 "timezone" =>
'-0800' 392 "2012-11-29T15:10:53Z",
406 "20121129T151053.123Z",
420 "2012-11-29T15:10:53.123Z",
556 $this->assertTrue(
true);
582 'timezone' =>
'+1234' 674 'timezone' =>
'+1234' testVCardDate($input, $output)
vcardDates
static parse($date, $referenceTz=null)
Parses either a Date or DateTime, or Duration value.
testDateAndOrTime_TimeWithMinuteSecond()
testDateAndOrTime_DateTimeWithDayHourZ()
testParseICalendarDurationFail()
static parseVCardTime($date)
This method parses a vCard TIME value.
static parseDateTime($dt, DateTimeZone $tz=null)
Parses an iCalendar (rfc5545) formatted datetime and returns a DateTimeImmutable object.
testDateAndOrTime_DateTimeWithMonthDayHour()
testDateAndOrTime_DateTimeWithDayHourTZ()
testParseICalendarDateBadFormat()
testParseICalendarDate
testDateAndOrTime_DateTimeWithDayHourMinute()
testParseICalendarDateTimeGreaterThan4000()
Check if a datetime with year > 4000 will not throw an exception.
testParseICalendarDateTimeUTC()
testParseICalendarDateTime
static parseVCardDateAndOrTime($date)
This method parses a vCard date and or time value.
testDateAndOrTime_TimeWithSecondZ()
assertDateAndOrTimeEqualsTo($date, $parts)
testDateAndOrTime_DateTimeWithYearMonthDayHour()
testParseICalendarDateTimeBadFormat()
testParseICalendarDateTime
testParseICalendarDateTime()
testDateAndOrTime_TimeWithMinute()
testParseICalendarDateTimeCustomTimeZone()
testParseICalendarDateTime
testDateAndOrTime_TimeWithSecond()
testParseICalendarDurationDateInterval()
testParseICalendarDuration()
testParseICalendarDateTimeInvalidTime()
testParseICalendarDateTime
testDateAndOrTime_DateWithMonthDay()
testDateAndOrTime_TimeWithHourSecond()
testDateAndOrTime_DateWithYearMonth()
testDateAndOrTime_TimeWithHourMinute()
static parseDate($date, DateTimeZone $tz=null)
Parses an iCalendar (rfc5545) formatted date and returns a DateTimeImmutable object.
testParseICalendarDateTimeUTC2()
testParseICalendarDateTime
testDateAndOrTime_TimeWithHour()
testDateAndOrTime_DateWithMonth()
static parseDuration($duration, $asString=false)
Parses an iCalendar (RFC5545) formatted duration value.
testParseICalendarDateGreaterThan4000()
TCheck if a date with year > 4000 will not throw an exception.
testParseICalendarDateInvalidDate()
testParseICalendarDate
testDateAndOrTime_DateWithYearMonthDay()
testDateAndOrTime_DateWithDay()
testDateAndOrTime_TimeWithSecondTZ()
testDateAndOrTime_DateTimeWithDayHour()
testDateAndOrTime_DateTimeWithDayHourMinuteSecond()
static parseVCardDateTime($date)
This method parses a vCard date and or time value.