rfc2445

How to have an iCalendar (RFC 2445) repeat YEARLY with duration

本小妞迷上赌 提交于 2019-12-06 10:30:56
问题 I have been unsuccessful in formulating a RRULE that would allow an event as shown below: Repeats YEARLY, from first Sunday of April to last day of May, occuring on Monday, Wednesday and Friday, until forever. FREQ=YEARLY;BYMONTH=4;BYDAY=SU (gives me the first Sunday of April repeating yearly) and FREQ=YEARLY;BYMONTH=5;BYMONTHDAY=-1 (gives me the last day of May repeating yearly) But I can't figure out how to have the event repeat yearly between those dates for Monday, Wednesday and Friday.

How to create and send update to existing event by uisng BiWeekly library and Java Mail API?

独自空忆成欢 提交于 2019-12-06 02:48:18
I'm using BiWeekly library to create VEVENT and then send it by using Java Mail API . Everything work fine but how can I create an update for an existing event, i.e. when I receive VEVENT which is update it won't create a new event in a calendar but will update an existing event? I've tried to set sequence in the following way event.setSequence(2) , but it doesn't work. Upon receive email agent, Lotus Notes, google mail always creates new event. This is my code of creating and sending event: try { String from = "email@example.com"; String to = "email@example.com"; Properties prop = new

Parsing iCal from Outlook: how do I tell what the recurrence schedule is for this event?

时光怂恿深爱的人放手 提交于 2019-12-05 22:50:39
I'm using Python, but I don't think that's relevant here. The iCal snippet below is from an Outlook 2010 export (full data). In Outlook, the event shows up as recurring, including an instance of the event on April 12th, 2012. If you open the series, it says recurrence: Occurs every Thursday effective 3/29/2012 from 12:00 PM to 12:30 PM My question is: is it possible to derive the recurrence schedule from the information below? Which fields will give me the information? I would expect to find an RRULE, but there's no such thing here. BEGIN:VEVENT CLASS:PUBLIC CREATED:20120312T133301Z

Adding recurring event to Google Calendar via XML

这一生的挚爱 提交于 2019-12-05 01:19:14
问题 I am trying to add a recurring event to my calendar via the Protocol API. I took the syntax of the recurrence tag from an event I created in Google's interface and used that in my create request. Here is what I submitted: <?xml version='1.0' encoding='utf-8' ?> <entry xmlns='http://www.w3.org/2005/Atom' xmlns:gd='http://schemas.google.com/g/2005'> <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event'></category> <title type='text'>Hi Stack

How to have an iCalendar (RFC 2445) repeat YEARLY with duration

最后都变了- 提交于 2019-12-04 15:02:41
I have been unsuccessful in formulating a RRULE that would allow an event as shown below: Repeats YEARLY, from first Sunday of April to last day of May, occuring on Monday, Wednesday and Friday, until forever. FREQ=YEARLY;BYMONTH=4;BYDAY=SU (gives me the first Sunday of April repeating yearly) and FREQ=YEARLY;BYMONTH=5;BYMONTHDAY=-1 (gives me the last day of May repeating yearly) But I can't figure out how to have the event repeat yearly between those dates for Monday, Wednesday and Friday. Suggestions? Update: Comments don't have enough space to respond to Chris' answer, so I am editing the

Adding recurring event to Google Calendar via XML

本小妞迷上赌 提交于 2019-12-03 17:10:14
I am trying to add a recurring event to my calendar via the Protocol API. I took the syntax of the recurrence tag from an event I created in Google's interface and used that in my create request. Here is what I submitted: <?xml version='1.0' encoding='utf-8' ?> <entry xmlns='http://www.w3.org/2005/Atom' xmlns:gd='http://schemas.google.com/g/2005'> <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event'></category> <title type='text'>Hi Stack Overflow!</title> <content type='text'>Help me please!</content> <gd:where valueString='StackOverflow.com'>

Start date returns in some cases when using google-rfc-2445 (iCalendar)

☆樱花仙子☆ 提交于 2019-12-03 12:47:07
I ran through a lot of RRULEs just for testing out the performance of google-rfc-2445 (a Java implementation of IETF RFC 2445 iCalendar ). I saw that I got the start date back in some cases in the returning list from the method. The test is very simple: private static void runGoogleTests() throws ParseException { DateTimeZone dtz = DateTimeZone.UTC; DateTime dtStart = new DateTime("2014-11-22T00:00:00Z", dtz);//SATURDAY DateTimeIterable dti = DateTimeIteratorFactory.createDateTimeIterable("RRULE:FREQ=WEEKLY;COUNT=10;BYDAY=MO", dtStart, dtz, true); System.out.println("Size of iterable = " +

Difference between iCalendar (.ics) and the vCalendar (.vcs)

人走茶凉 提交于 2019-12-03 02:57:39
问题 I want to send booking information through mail in an attachment to add in MS Outlook. Which format is better? Especially for MS Outlook 2003? 回答1: iCalendar was based on a vCalendar and Outlook 2007 handles both formats well so it doesn't really matters which one you choose. I'm not sure if this stands for Outlook 2003. I guess you should give it a try. Outlook's default calendar format is iCalendar ( *.ics ) 回答2: Both .ics and .vcs files are in ASCII. If you use "Save As" option to save a

ICalendar and event updates not working in Outlook

我的梦境 提交于 2019-11-27 06:45:42
I'm generating ICalendar (.ics) files. Using the UID and SEQUENCE fields I can update existing events in Google Calendar and in Windows Calendar BUT NOT in MS Outlook 2007 - it just creates a second event How do I get them to work for Outlook ? Thanks Tom I've continued to do some testing and have now managed to get Outlook to update and cancel events based on the .cs file. Outlook in fact seems to respond to the rules defined in RFC 2446 In summary you have to specify METHOD:REQUEST and ORGANIZER:xxxxxxxx in addition to UID : and SEQUENCE: For a cancellation you have to specify METHOD:CANCEL

ICalendar and event updates not working in Outlook

僤鯓⒐⒋嵵緔 提交于 2019-11-26 12:09:15
问题 I\'m generating ICalendar (.ics) files. Using the UID and SEQUENCE fields I can update existing events in Google Calendar and in Windows Calendar BUT NOT in MS Outlook 2007 - it just creates a second event How do I get them to work for Outlook ? Thanks Tom 回答1: I've continued to do some testing and have now managed to get Outlook to update and cancel events based on the .cs file. Outlook in fact seems to respond to the rules defined in RFC 2446 In summary you have to specify METHOD:REQUEST