Sign In  Sign Up Live-Chat

Getting 0 occurrences

Last post 12-19-2007, 7:53 PM by koala. 1 replies.
Sort Posts: Previous Next
  •  12-19-2007, 10:51 AM 106733

    Getting 0 occurrences

    Hi, i'm wondering why i'm getting 0 occurences to the following codes:

    DateTime StartDate = new DateTime(2007, 9, 28, 14, 0, 0);

    string ScheduledPattern = "DTSTART:20070928T140000\r\nRRULE:FREQ=MINUTELY;COUNT=448;INTERVAL=60";

    DateCollection nextDates = new RecurrencePattern(ScheduledPattern).GenerateOccurrences(

    StartDate,

    StartDate + new TimeSpan(2, 0, 0, 0));

     

    Thanks,

    Kenneth

     
  •  12-19-2007, 7:53 PM 106783 in reply to 106733

    Re: Getting 0 occurrences

    Hi,

    You use Aspose.iCalendar in evaluation mode.
    If you do not specify a license, then Aspose.iCalendar will work in evaluation mode and limit occurrence dates generated to 31/Dec/2004.

    Try to use this rule:

    DTSTART:20040928T140000
    RRULE:FREQ=MINUTELY;COUNT=448;INTERVAL=60


    Oleg Korostylev
    Lead Developer
    Aspose Vladivostok Team
    About Us
    Contact Us
     
View as RSS news feed in XML