We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A simple JUnit test is needed to reproduce the bug. public void testExcept() throws Exception { RecurrenceIterator rrule = RecurrenceIteratorFactory .createRecurrenceIterator( "RRULE:FREQ=WEEKLY;INTERVAL=3;COUNT=5", new DateValueImpl(2009, 02, 02), GMT1); StringBuilder sb = createRecuranceDateString(rrule); // test succeed assertEquals("20090202,20090223,20090316,20090406,20090427", sb.toString()); RecurrenceIterator rdate = RecurrenceIteratorFactory .createRecurrenceIterator( "RDATE;VALUE=DATE:20090316", new DateValueImpl(2009, 03, 16), GMT1); sb = createRecuranceDateString(rdate); //test succeed assertEquals("20090316", sb.toString()); RecurrenceIterator rdateExcept = RecurrenceIteratorFactory.except(rrule, rdate); sb = createRecuranceDateString(rdateExcept); //test FAILED !! assertEquals("20090202,20090223,20090406,20090427", sb.toString()); } The last assert returns: junit.framework.ComparisonFailure: expected:<20090202,20090223,20090406,20090427> but was:<> Thanks for this excellent project, Regards Yanick.
Original issue reported on code.google.com by [email protected] on 18 Feb 2009 at 11:15
[email protected]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Original issue reported on code.google.com by
[email protected]
on 18 Feb 2009 at 11:15The text was updated successfully, but these errors were encountered: