icalendar

Reading iCal info from file to make iCal event

纵然是瞬间 提交于 2019-12-01 10:22:16
问题 I have a file (/test.txt) that contains iCal event info. Friday, May 6, 2011 4:00:00 PM 05/08/2011 11:20:00 PM summary location Friday, May 6, 2011 4:00:00 PM 05/08/2011 11:20:00 PM summary location And this is the applescript to read this file to make iCal event. set Names to paragraphs of (read ("/test.txt")) set my_list to {} set temp_list to {} repeat with nextLine in Names if length of nextLine is greater than 0 then set temp_list to temp_list & nextLine else copy temp_list to end of my

How to parse an iCal RRULE in Java

China☆狼群 提交于 2019-12-01 08:54:30
I have the following iCal recurrence rule examples: "RRULE:FREQ=YEARLY;INTERVAL=2" "RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=TU,WE,TH" I need a Java library to parse the RRULE patterns to handle in an object. Are there any good Java libraries? ical library does not build correctly; google ical implementation is not supported for ages; maven repository can propose a lot of implementations, but I did not got any actual one. You can use lib-recur It is still supported and handle RFC 5545 and RFC 2445. RecurrenceRule rule = new RecurrenceRule("FREQ=YEARLY;BYMONTHDAY=23;BYMONTH=5"); DateTime start = new

How can an ICS file be written for a recurring event?

女生的网名这么多〃 提交于 2019-12-01 06:28:09
I want to create an ICS file that describes a recurring event, an event that takes place every Monday from 13:00 to 14:00 UTC for all of 2016. The ICS file should be importable by Google Calendar. I have found it difficult to find and understand details online about how such a file could be constructed. What I have currently is a way of creating a file that contains a list of individual events, but I want to have a rule for the events defined in the file instead. I have something like the following right now: BEGIN:VCALENDAR VERSION:2.0 PRODID:-//SERN//INDICO//EN BEGIN:VEVENT SUMMARY:Software

How to parse an iCal RRULE in Java

♀尐吖头ヾ 提交于 2019-12-01 05:53:32
问题 I have the following iCal recurrence rule examples: "RRULE:FREQ=YEARLY;INTERVAL=2" "RRULE:FREQ=WEEKLY;INTERVAL=2;BYDAY=TU,WE,TH" I need a Java library to parse the RRULE patterns to handle in an object. Are there any good Java libraries? ical library does not build correctly; google ical implementation is not supported for ages; maven repository can propose a lot of implementations, but I did not got any actual one. 回答1: You can use lib-recur It is still supported and handle RFC 5545 and RFC

How do I get Outlook to process an event update?

亡梦爱人 提交于 2019-12-01 05:24:43
I am trying to create, update and delete an event in Outlook 2007 (but optimally it would work for all versions). Creating and deleting the event is working fine. I followed several threads but for some reason the update action failed. When I double click on the ICS file, Outlook opens a window and the only choice I have is to delete. But the event it wants to delete is not the old one but the new one (even if it's not created yet). So when I click delete the old event remains here. The UID is the same, sequence has been increase by 1, DTSTAMP in newer. First event: BEGIN:VCALENDAR PRODID:-/

How can an ICS file be written for a recurring event?

自古美人都是妖i 提交于 2019-12-01 03:23:21
问题 I want to create an ICS file that describes a recurring event, an event that takes place every Monday from 13:00 to 14:00 UTC for all of 2016. The ICS file should be importable by Google Calendar. I have found it difficult to find and understand details online about how such a file could be constructed. What I have currently is a way of creating a file that contains a list of individual events, but I want to have a rule for the events defined in the file instead. I have something like the

Accessing programmatically created calendar on iOS device

限于喜欢 提交于 2019-12-01 00:37:09
I have figured out how to add a custom calendar within my iPhone app, but I can't figure out how to add that calendar to the device's Calendar. The event shows the correct calendar when viewed from within the app, but even when I tap on the calendar row for an event, my calendar is not in the list, and I have to cancel if I want to keep the calendar name correct. Is there a way to 'subscribe' to my locally created calendar so that I can see it from within the Calendar app on the device (obviously, I would also want it to sync with the user's computer, etc). It has to do with iCloud. When

Is there any open iCalender API? [closed]

不羁岁月 提交于 2019-11-30 20:59:18
Is there any API that I can use and post event data to (for example with querystrings) and get back a file that the visitor can download and add to his calender? I can of course write the script myself, but if there is a open API I could save some time. You could use iCal4j You asked for a webservice of some sort, and I do not know of one, but if you are using .NET, you can create your own using this library: http://www.codeproject.com/KB/vb/vcalendar.aspx Maybe it's an option for you to generate and send an e-mail to the user containing the appointments you want the to add. By doing this you:

Accessing programmatically created calendar on iOS device

瘦欲@ 提交于 2019-11-30 19:14:30
问题 I have figured out how to add a custom calendar within my iPhone app, but I can't figure out how to add that calendar to the device's Calendar. The event shows the correct calendar when viewed from within the app, but even when I tap on the calendar row for an event, my calendar is not in the list, and I have to cancel if I want to keep the calendar name correct. Is there a way to 'subscribe' to my locally created calendar so that I can see it from within the Calendar app on the device

parser for ics files in .net [closed]

隐身守侯 提交于 2019-11-30 17:46:47
I'm trying to figure out the best way take a ics file and convert it into a format I can put into a database. Can anyone recommend how to do this? The commercial .NET library Aspose.iCal does the job http://www.aspose.com/community/blogs/salman.sarfraz/archive/2008/11/21/where-is-aspose-icalendar.aspx (used to be http://www.aspose.com/categories/file-format-components/aspose.network-for-.net/default.aspx ) Or this open source parser (didn't try it) http://sourceforge.net/projects/icalparser/ And this online iCal validator comes in handy http://severinghaus.org/projects/icv/ Regards, tamberg