Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4590270
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T22:13:39+00:00 2026-05-21T22:13:39+00:00

Hi I have this ical (1.0 beta) I have this code IICalendarCollection iCal =

  • 0

Hi I have this ical (1.0 beta)

I have this code

IICalendarCollection iCal = iCalendar.LoadFromStream(fileStream); 
foreach (var ic in iCal) 
{ 
    foreach (var evt in ic.Events)
    { 
        DateTime now = DateTime.UtcNow.Date; 
        if (evt.Start.UTC.Date.CompareTo(now) >= 0 && evt.End.UTC.Date.CompareTo(now) >= 0) 
        { 
            foreach (var rule in evt.RecurrenceRules) 
            { 
                if (rule.Frequency == FrequencyType.Daily) 
                { 
                    // always false until is never set. 
                    bool doesRepeatingEnd = DoesRepeatingEnd(rule); 
                    if (doesRepeatingEnd) 
                    {
                        TimeSpan until = now.Subtract(rule.Until); 
                        int days = until.Days; 
                    } 
                    else { }    
                } else if (rule.Frequency == FrequencyType.Weekly) 
                { 
                } 
                else if (rule.Frequency == FrequencyType.Monthly) 
                { 
                } 
                else if (rule.Frequency == FrequencyType.Yearly) 
                { 
                }

            } 
    }   } 
}


        private static bool DoesRepeatingEnd(IRecurrencePattern rule) 
        { 
            DateTime until = rule.Until; 
            return until != DateTime.MinValue; 
        }

I import a google calendar in(ical format)

BEGIN:VCALENDAR 
PRODID:-//Google Inc//Google Calendar 70.9054//EN 
VERSION:2.0 
CALSCALE:GREGORIAN 
METHOD:PUBLISH 
X-WR-CALNAME:
 Name X-WR-TIMEZONE:America/Washington 
 BEGIN:VTIMEZONE 
 TZID:America/Washington 
 X-LIC-LOCATION:America/Washington 
 BEGIN:DAYLIGHT 
 TZOFFSETFROM:-0800 
 TZOFFSETTO:-0700 
 TZNAME:PDT 
 DTSTART:19700308T020000
 RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU 
 END:DAYLIGHT
 BEGIN:STANDARD 
 TZOFFSETFROM:-0700 
 TZOFFSETTO:-0800 
 TZNAME:PST 
 DTSTART:19701101T020000 
 RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU 
 END:STANDARD 
 END:VTIMEZONE 
 BEGIN:VEVENT 
 DTSTART;VALUE=DATE:20110530 
 DTEND;VALUE=DATE:20110531 
 RRULE:FREQ=DAILY;UNTIL=20110604 
 DTSTAMP:20110424T202756Z 
 UID:fl16scis3l3qmhrrbb6uhkmo98@google.com 
 CREATED:20110424T202406Z 
 DESCRIPTION: 
 LAST-MODIFIED:20110424T202406Z 
 LOCATION: 
 SEQUENCE:0 
 STATUS:CONFIRMED 
 SUMMARY:dd 
 TRANSP:TRANSPARENT 
 END:VEVENT 
 END:VCALENDAR

as you can see I have RRULE:FREQ=DAILY;UNTIL=20110604 but my code never picks it up rule.Until is always like the default datetime.

Anyone have any ideas?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T22:13:40+00:00Added an answer on May 21, 2026 at 10:13 pm

    This is a bug in the current version of dday ical and will be fixed in future versions

    Google Repeating Task Until Time Bug

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

have this code: $products = $feed->_xpath->query( //cf:vehicle ); foreach( $products as $product ) {
Have this code: var gradient = ctx.createLinearGradient(0,0, 20, 0); gradient.addColorStop(0.8, rgb(250,250,0)); gradient.addColorStop(1, rgb(150,150,0)); ctx.fillStyle
I have this code in jQuery, that I want to reimplement with the prototype
I have this code but it doesn't work! public class Trial { public static
Have this <a href=#>something</a> and then I handle it in Jquery code. This displays
I have this MemoryStream export = new MemoryStream(); iCalendarSerializer serializer = new iCalendarSerializer(iCal); serializer.Serialize(export,System.Text.Encoding.UTF8);
I have this little code which lists all matches of items that contains the
I have this idea for a free backup application. The largest problem I need
I have this gigantic ugly string: J0000000: Transaction A0001401 started on 8/22/2008 9:49:29 AM
I have this line in a javascript block in a page: res = foo('<%=

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.