Questions tagged [rrule]

A rrule is used in the iCal format to specify rules for recurring events.

A rrule is used in the iCal format to specify rules for recurring events. Its description can be found here: RFC 5545

241 questions
0
votes
1 answer

what is the best to read calendar event instance for specific date period for a specific calendar?

I am trying to read all instances of events for a specific calendar and a specific period. Here is my problem. (1) I read all instances of events for the specific period, then I query an event for each event instance to see if the event instance…
0
votes
1 answer

Cannot Read Calendar Event with Recurrence Rule

I created an event with repeat rule "FREQ=MONTHLY;BYMONTHDAY=16;COUNT=10". I saw the event on my two Android Calendars apps, and also on Google Calendar web site. I can read all other events from my app, but I do not see this event. Only difference…
codingForFun
  • 113
  • 1
  • 15
0
votes
1 answer

How to make list of datetimes using rrule

I am creating my own .ics parser. I am using icalendar python module. It works great but I would like to get list of datetimes for events which have RRULE set. I have starting date as datetime object instance and RRULE parsed like…
Blaskovic
  • 366
  • 4
  • 20
0
votes
1 answer

expanding recurrence data of iCalendar

I'm in middle of creating calendar app. for iPhone. I get calendar events from google calendars (without expanding recurrence) Then tried to expand recurrence events by writing codes from scratch. I did get iCalendar format from the web, for example…
Katsumi
  • 33
  • 9
0
votes
1 answer

Express alternative recurring times in iCalendar

Is there a way to express the following in iCalendar? (possibly using RRULEs?) Between 9am and 5pm every day except Sundays when it is between 10am and 4pm. Can I create multiple RRULEs? Which ones have precedence?
James
  • 109,676
  • 31
  • 162
  • 175
0
votes
2 answers

update calendar failed when rrule has BYDAY && (COUNT or UNTIL)

I use ical and darwin in my web site. when i create a event with rrule, it failed when the event has byday and count. Forexample: success 1(weekly and no count): BEGIN:VCALENDAR VERSION:2.0 PRODID:-//ZHAOXI//iCalendar…
Cheng
  • 1,169
  • 2
  • 8
  • 8
0
votes
1 answer

RRule set for days and hours in day

I'm using python's rrule to work out trading hours. It's easy for days, i'm using a slightly modified example I found on this very site: def get_rset(start_date): # Create a rule to recur every weekday starting today r =…
joeButler
  • 1,643
  • 1
  • 20
  • 41
0
votes
2 answers

can't get C method icalrecur_expand_recurrence to work

This is a bit frustrating. I've been working on this for a while now, and I can't seem to get this method to work like it says it does. #include "icalrecur.h" #include /* for time() */ #include int get_occurrences(char* rrule,…
obimod
  • 797
  • 10
  • 26
0
votes
1 answer

Timezone for android RRule

What timezone does android use to interpret event rrules like FREQ=WEEKLY;WKST=SU;BYDAY=WE? I know that if I will change default timezone in device's settings or in calendar's settings the event will be displayed correct so where does he get the…
franza
  • 2,297
  • 25
  • 39
-1
votes
1 answer

rrule js issues with RRuleSet

I'm using rrule js libary and Its seems like the RRuleSet not invoke the toText() correctly. const rruleSet = new RRuleSet(); // Add a rrule to rruleSet rruleSet.rrule( new RRule({ freq: RRule.DAILY, interval: 1, byweekday:…
benny hassan
  • 101
  • 6
-1
votes
1 answer

How to pass "[4,8,12,16]" to rrule parameter?

I have this value taken from SQL "[4,8,12,16]". Python treats it as string but when hardcoded to rrule it seems to work if today in rrule(DAILY, dtstart = start_date, byhour=[4,8,12,16], byminute=row.minute, bysecond=0): How to convert the string so…
Rav
  • 1,327
  • 3
  • 18
  • 32
-1
votes
2 answers

Implement RRule using javascript rrule.min.js

I am trying to include the library https://github.com/jakubroztocil/rrule to my webpage. But I recieve the error: Uncaught SyntaxError: Unexpected token { I have tried with
Code Guy
  • 3,059
  • 2
  • 30
  • 74
-1
votes
2 answers

RRule for Recurring events is common across all platforms?

Whether the standardisation and conventions in RRule for generating recurring events in calendar is unique? I mean whether the same rule can be used in all the platforms like Android, iOS and Windows. EDITED: So my questions are Can use the same…
Joy Rex
  • 608
  • 7
  • 32
-1
votes
1 answer

class or library to parse RRULE of iCalendar

Any class or library in VBScript or asp classic that I can use to parse RRULE (iCalendar - RFC 5545) and generate a list of Upcoming Events?
esteban
  • 102
  • 1
  • 7
1 2 3
15
16