RRuleIteratorTest
extends TestCase
in package
Table of Contents
- parse() : mixed
- testByDayBadOffset() : mixed
- testDaily() : mixed
- testDailyByDay() : mixed
- testDailyByDayByHour() : mixed
- testDailyByHour() : mixed
- testDailyByMonth() : mixed
- testDailyCount() : mixed
- testFastForward() : mixed
- testFastFowardTooFar() : mixed
- This bug came from a Fruux customer. This would result in a never-ending request.
- testFifthTuesdayProblem() : mixed
- The bug that was in the system before would fail on the 5th tuesday of the month, if the 5th tuesday did not exist.
- testHourly() : mixed
- testIgnoredStuff() : mixed
- testInvalidByWeekNo() : mixed
- testInvalidFreq() : mixed
- testIteratorFunctions() : mixed
- testMinusFifthThursday() : mixed
- testMonlthyEndOfMonth() : mixed
- testMonthly() : mixed
- testMonthlyByDay() : mixed
- testMonthlyByDayByMonthDay() : mixed
- testMonthlyByDayBySetPos() : mixed
- testMonthlyByMonthDay() : mixed
- testMultipleValidByWeekNo() : mixed
- testNegativeValidByWeekNo() : mixed
- testNeverEnding() : mixed
- testTwoValidByWeekNo() : mixed
- testUnsupportedPart() : mixed
- testUntilBeforeDtStart() : mixed
- testUntilBeginHasTimezone() : mixed
- testValidByWeekNo() : mixed
- testValidByWeekNoByDayDefault() : mixed
- testWeekly() : mixed
- testWeeklyByDay() : mixed
- testWeeklyByDay2() : mixed
- testWeeklyByDayByHour() : mixed
- testWeeklyByDaySpecificHour() : mixed
- testYearly() : mixed
- testYearlyByMonth() : mixed
- testYearlyByMonthByDay() : mixed
- testYearlyByMonthEmptyValue() : mixed
- testYearlyByMonthInvalidValue1() : mixed
- testYearlyByMonthInvalidValue2() : mixed
- testYearlyByMonthLoop() : mixed
- This also at one point caused an infinite loop. We're keeping the test.
- testYearlyByMonthManyInvalidValues() : mixed
- testYearlyByYearDay() : mixed
- testYearlyByYearDayByDay() : mixed
- testYearlyByYearDayImmutable() : mixed
- testYearlyByYearDayInvalid0() : mixed
- testYearlyByYearDayInvalid390() : mixed
- testYearlyByYearDayMultiple() : mixed
- testYearlyByYearDayNegative() : mixed
- testYearlyLeapYear() : mixed
- testZeroInterval() : mixed
- Something, somewhere produced an ics with an interval set to 0. Because this means we increase the current day (or week, month) by 0, this also results in an infinite loop.
Methods
parse()
public
parse(mixed $rule, mixed $start, mixed $expected[, mixed $fastForward = null ][, mixed $tz = 'UTC' ][, mixed $runTillTheEnd = false ]) : mixed
Parameters
- $rule : mixed
- $start : mixed
- $expected : mixed
- $fastForward : mixed = null
- $tz : mixed = 'UTC'
- $runTillTheEnd : mixed = false
Return values
mixed —testByDayBadOffset()
public
testByDayBadOffset() : mixed
Return values
mixed —testDaily()
public
testDaily() : mixed
Return values
mixed —testDailyByDay()
public
testDailyByDay() : mixed
Return values
mixed —testDailyByDayByHour()
public
testDailyByDayByHour() : mixed
Return values
mixed —testDailyByHour()
public
testDailyByHour() : mixed
Return values
mixed —testDailyByMonth()
public
testDailyByMonth() : mixed
Return values
mixed —testDailyCount()
public
testDailyCount() : mixed
Return values
mixed —testFastForward()
public
testFastForward() : mixed
Return values
mixed —testFastFowardTooFar()
This bug came from a Fruux customer. This would result in a never-ending request.
public
testFastFowardTooFar() : mixed
Return values
mixed —testFifthTuesdayProblem()
The bug that was in the system before would fail on the 5th tuesday of the month, if the 5th tuesday did not exist.
public
testFifthTuesdayProblem() : mixed
A pretty slow test. Had to be marked as 'medium' for phpunit to not die after 1 second. Would be good to optimize later.
Tags
Return values
mixed —testHourly()
public
testHourly() : mixed
Return values
mixed —testIgnoredStuff()
public
testIgnoredStuff() : mixed
Return values
mixed —testInvalidByWeekNo()
public
testInvalidByWeekNo() : mixed
Return values
mixed —testInvalidFreq()
public
testInvalidFreq() : mixed
Return values
mixed —testIteratorFunctions()
public
testIteratorFunctions() : mixed
Return values
mixed —testMinusFifthThursday()
public
testMinusFifthThursday() : mixed
Return values
mixed —testMonlthyEndOfMonth()
public
testMonlthyEndOfMonth() : mixed
Return values
mixed —testMonthly()
public
testMonthly() : mixed
Return values
mixed —testMonthlyByDay()
public
testMonthlyByDay() : mixed
Return values
mixed —testMonthlyByDayByMonthDay()
public
testMonthlyByDayByMonthDay() : mixed
Return values
mixed —testMonthlyByDayBySetPos()
public
testMonthlyByDayBySetPos() : mixed
Return values
mixed —testMonthlyByMonthDay()
public
testMonthlyByMonthDay() : mixed
Return values
mixed —testMultipleValidByWeekNo()
public
testMultipleValidByWeekNo() : mixed
Return values
mixed —testNegativeValidByWeekNo()
public
testNegativeValidByWeekNo() : mixed
Return values
mixed —testNeverEnding()
public
testNeverEnding() : mixed
Return values
mixed —testTwoValidByWeekNo()
public
testTwoValidByWeekNo() : mixed
Return values
mixed —testUnsupportedPart()
public
testUnsupportedPart() : mixed
Return values
mixed —testUntilBeforeDtStart()
public
testUntilBeforeDtStart() : mixed
Return values
mixed —testUntilBeginHasTimezone()
public
testUntilBeginHasTimezone() : mixed
Return values
mixed —testValidByWeekNo()
public
testValidByWeekNo() : mixed
Return values
mixed —testValidByWeekNoByDayDefault()
public
testValidByWeekNoByDayDefault() : mixed
Return values
mixed —testWeekly()
public
testWeekly() : mixed
Return values
mixed —testWeeklyByDay()
public
testWeeklyByDay() : mixed
Return values
mixed —testWeeklyByDay2()
public
testWeeklyByDay2() : mixed
Return values
mixed —testWeeklyByDayByHour()
public
testWeeklyByDayByHour() : mixed
Return values
mixed —testWeeklyByDaySpecificHour()
public
testWeeklyByDaySpecificHour() : mixed
Return values
mixed —testYearly()
public
testYearly() : mixed
Return values
mixed —testYearlyByMonth()
public
testYearlyByMonth() : mixed
Return values
mixed —testYearlyByMonthByDay()
public
testYearlyByMonthByDay() : mixed
Return values
mixed —testYearlyByMonthEmptyValue()
public
testYearlyByMonthEmptyValue() : mixed
Return values
mixed —testYearlyByMonthInvalidValue1()
public
testYearlyByMonthInvalidValue1() : mixed
Return values
mixed —testYearlyByMonthInvalidValue2()
public
testYearlyByMonthInvalidValue2() : mixed
Return values
mixed —testYearlyByMonthLoop()
This also at one point caused an infinite loop. We're keeping the test.
public
testYearlyByMonthLoop() : mixed
Return values
mixed —testYearlyByMonthManyInvalidValues()
public
testYearlyByMonthManyInvalidValues() : mixed
Return values
mixed —testYearlyByYearDay()
public
testYearlyByYearDay() : mixed
Return values
mixed —testYearlyByYearDayByDay()
public
testYearlyByYearDayByDay() : mixed
Return values
mixed —testYearlyByYearDayImmutable()
public
testYearlyByYearDayImmutable() : mixed
Return values
mixed —testYearlyByYearDayInvalid0()
public
testYearlyByYearDayInvalid0() : mixed
Return values
mixed —testYearlyByYearDayInvalid390()
public
testYearlyByYearDayInvalid390() : mixed
Return values
mixed —testYearlyByYearDayMultiple()
public
testYearlyByYearDayMultiple() : mixed
Return values
mixed —testYearlyByYearDayNegative()
public
testYearlyByYearDayNegative() : mixed
Return values
mixed —testYearlyLeapYear()
public
testYearlyLeapYear() : mixed
Return values
mixed —testZeroInterval()
Something, somewhere produced an ics with an interval set to 0. Because this means we increase the current day (or week, month) by 0, this also results in an infinite loop.
public
testZeroInterval() : mixed