Hi, ical4j is now hosted on Github. If you can raise the issue in Github issues it would be much appreciated. https://github.com/ical4j/ical4j/issues
Hi ,Could anyone please help me on tis
Its working for all the timezone except for the timezone "Australia/Lord_Howe".That too its only fails with summer time (DST) for timezone "Australia/Lord_Howe".
java.text.ParseException: Unparseable date: "20221207T170935" in ical4j when specifying time zone Australia/Lord_Howe
I figured it out. I was using 4.0.0-alpha version. However, when I switched it to the version: 3.2.2 it worked fine.
Link: https://www.ical4j.org/examples/model/#creating-a-meeting-of-four-hour-duration I have corrected the compilation errors in the above example and yet when I run it. This is my output. Please help. BEGIN:VCALENDAR END:VCALENDAR I am getting this error when I call Calendar#validate : net.fortuna.ical4j.validate.ValidationException: Content [PRODID] must be specified once at net.fortuna.ical4j.validate.Validator.assertFalse(Validator.java:53) Here is my code: import net.fortuna.ical4j.data.CalendarOutputter...
Link: https://www.ical4j.org/examples/model/#creating-a-meeting-of-four-hour-duration I have corrected the compilation errors in the above example and yet when I run it. This is my output. Please help. BEGIN:VCALENDAR END:VCALENDAR Here is my code: import net.fortuna.ical4j.data.CalendarOutputter import net.fortuna.ical4j.model.DateTime import net.fortuna.ical4j.model.TimeZoneRegistry import net.fortuna.ical4j.model.TimeZoneRegistryFactory import net.fortuna.ical4j.model.component.VEvent import net.fortuna.ical4j.model.component.VTimeZone...
I have corrected the compilation errors in the above example and yet when I run it. This is my output. Please help. BEGIN:VCALENDAR END:VCALENDAR Here is my code: import net.fortuna.ical4j.data.CalendarOutputter import net.fortuna.ical4j.model.DateTime import net.fortuna.ical4j.model.TimeZoneRegistry import net.fortuna.ical4j.model.TimeZoneRegistryFactory import net.fortuna.ical4j.model.component.VEvent import net.fortuna.ical4j.model.component.VTimeZone import net.fortuna.ical4j.model.parameter.Cn...
Hi Together, Is there a way to set a kind of "description" or notice for a VEvent? Would be very nice! Thanks!
Great! Thanks for responding. Please let me know if there is anything I can do to help. On Wed, Jun 30, 2021 at 10:30 AM Ben Fortuna fortuna@users.sourceforge.net wrote: Yes, I have started looking at incorporating availability into freebusy calculations. This is still in progress but hopefully won't be too long to implement. NOTE: Apologies for delayed response but I don't really monitor these forums anymore. Please use github issues to raise requests and provide feedback: https://github.com/ical4j/ical4j/issues...
It really is a malformed value for trigger. Even for zero time duration it should be PT0 or something like that. Can you confirm if this was produced from a known application? NOTE: I don't really monitor these forums regularly, so would suggest adding new issues over on github for tracking: https://github.com/ical4j/ical4j/issues
Yes, I have started looking at incorporating availability into freebusy calculations. This is still in progress but hopefully won't be too long to implement. NOTE: Apologies for delayed response but I don't really monitor these forums anymore. Please use github issues to raise requests and provide feedback: https://github.com/ical4j/ical4j/issues
On a Mac, a calendar entry with the reminder "alert at time of event" can be made. The parser throws an exception: net.fortuna.ical4j.data.ParserException: Error at line 51,940: Text cannot be parsed to a Duration at net.fortuna.ical4j.data.CalendarParserImpl.parse (CalendarParserImpl.java:158) at net.fortuna.ical4j.data.CalendarBuilder.build (CalendarBuilder.java:183) at net.fortuna.ical4j.data.CalendarBuilder.build (CalendarBuilder.java:171) ... Extract from the event: BEGIN:VALARM ACTION:AUDIO...
On a Mac, a calendar entry with the reminder "alert at time of event" can be made. The parser throws an exception: net.fortuna.ical4j.data.ParserException: Error at line 51,940: Text cannot be parsed to a Duration at net.fortuna.ical4j.data.CalendarParserImpl.parse (CalendarParserImpl.java:158) at net.fortuna.ical4j.data.CalendarBuilder.build (CalendarBuilder.java:183) at net.fortuna.ical4j.data.CalendarBuilder.build (CalendarBuilder.java:171) ... Extract from the event: BEGIN:VALARM ACTION:AUDIO...
It seems that VFreeBusy requests are only evaluated for VEvents in a calendar. Per RFC 7953, VAvailability component can be used with standard iCalendar free-busy lookups. Would you consider enhancing VFreeBusy to support VAvailability and Available with or without RRules? The following is copied from the VFreeBusy class: for (final Component event : components.getComponents(Component.VEVENT)) { periods.addAll(((VEvent) event).getConsumedTime(rangeStart, rangeEnd, false)); }
Fix will be applied in next release (v3.0.5)
On the iCal4j README there's this section configuration that I don't quite understand. This might be a trivial question that's common sense to most developers, but where are these configuration lines supposed to go?
I suspect you need to close your inputstream to flush the buffer
I have currently no idea what´s here the issue and I asked kindly for help. I´m generating a ics - File. But if I would like to open the ics - File to get the Calender, I got the following error message: net.fortuna.ical4j.data.ParserException: Error at line 1:Unexpected end of file Here my information: ical4j Version 3.0.1 Java: 8 Build 181 My output from the ics - File: BEGIN:VCALENDAR PRODID:-//Ben Fortuna//iCal4j 1.0//EN VERSION:2.0 CALSCALE:GREGORIAN BEGIN:VEVENT DTSTAMP:20180826T165052Z DTSTART:01180905T000000...
I've released a new version of ical4j-extensions, hopefully compiled for Java 1.7. You can find it in maven central/bintray: http://search.maven.org/#artifactdetails%7Corg.mnode.ical4j%7Cical4j-extensions%7C1.0.1%7Cjar
I am editing my prevoius issue. I understood that property parameter email is not supported by ical4j. I used extension as described in https://github.com/ical4j/ical4j/wiki/Extensions But I am getting error as: Exception in thread "main" java.util.ServiceConfigurationError: net.fortuna.ical4j.model.ParameterFactory: Provider net.fortuna.ical4j.extensions.parameter.Email$Factory could not be instantiated Please help me to resolve it.
I am also facing same issue. I am using caldav4j which uses ical4j for parsing .ics file. I am using Apple's open source Calendar Server.[https://www.calendarserver.org/] I am getting EMAIL parameter in ATTENDEE, hence ical4j is unable to parse the VEVENT. Case 1: If I add an ATTENDEE as a user who is present on my Calendar Server with his email id, then the ATTENDEE is generated as: ATTENDEE;CN=rahul;EMAIL=rahul@rahul.com;PARTSTAT=NEEDS-ACTION;RSVP=TRUE:ur n:x-uid:10000000-0000-0000-0000-000000009999...
I am also facing same issue. I am using caldav4j which uses ical4j for parsing .ics file. When I create a file which contains Attendee(s) or Organizer and has EMAIL as a parameter, I get error as: net.fortuna.ical4j.data.ParserException: Error at line 9:Unsupported parameter name: EMAIL Exception in thread "main" org.osaf.caldav4j.exceptions.CalDAV4JException: Problem building calendar at org.osaf.caldav4j.model.response.CalendarDataProperty.getCalendar(CalendarDataProperty.java:84) at org.osaf.caldav4j.model.response.CalDAVResponse.getCalendar(CalDAVResponse.java:139)...
I am also facing same issue. I am using caldav4j which uses ical4j for parsing .ics file. When I create a file which contains Attendee(s) or Organizer and has EMAIL as a parameter, I get error as: Exception in thread "main" org.osaf.caldav4j.exceptions.CalDAV4JException: Problem building calendar at org.osaf.caldav4j.model.response.CalendarDataProperty.getCalendar(CalendarDataProperty.java:84) at org.osaf.caldav4j.model.response.CalDAVResponse.getCalendar(CalDAVResponse.java:139) at org.osaf.caldav4j.CalDAVResource.<init>(CalDAVResource.java:32)...
Hello! I am trying to get all calendar events that are currently happenning right now. I have a script that gets an iCal from Google Calendar, and I want to eventually get the events and print some information about them. I tried using this code but it complained about deprecations and I couldn't get it to work. If possible, I'd like to be able to get all ongoing events and events happening within a certian future time, excluding events from the past. Thanks!
Hi, I'm taking events from Google calendar and storing them as iCal using iCal4j. But when I'm trying to read thenm the calendar paring is failing, what is the encoding should be done to allow propper read of the calendar after it saved ? And what can I do to fix existing calendars that failed to parse ? Thanks
Thank you very much, I will give it a try!
You probably need to pass the right encoding in which that ics file or stream data is, by using the Reader variant of build() and wrapping the bytearrayinputstream with an InputStreamReader where you set the charset/encoding as 2nd argument.
Problem, a customer uses a mandarin sign in this calendar item description. That somehow not only goes away during processing but also messes up the next item of the calendar, the endtime. outlook: DESCRIPTION:不\n DTEND;TZID="China Standard Time":20170515T163000 after processing with ical4j DESCRIPTION: \N:DTEND\;TZID="China Standard Time":20170515T163000 Is this a somehow known issue which could maybe go away with a newer version of ical4j? Or can I avoid this with another construction? Currently...
More info… To be clear, the ‘ical4j’ package works without issue on Android. It seems that the keywords in my ICS file require an ‘extension’. When I try to build with ‘ical4j-extensions’, I get the Java8 error when trying to create the APK. Compilation works without error, but fails on package creation. Thanks! Michael On Apr 25, 2017, at 6:00 PM, Ben Fortuna fortuna@users.sf.net wrote: Hi Michael, All ical4 libraries should support java 1.7, I'll double check the compilation. What error are you...
I think I posted the exact message in the bug report, but essentially, it was complaining that some of the dependencies were compiled with Java8. Our Android project is set for 1_7. Even if I change it to Jack and 1_8, I get the same error. Michael Sent from my iPhone On Apr 25, 2017, at 6:00 PM, Ben Fortuna fortuna@users.sf.net wrote: Hi Michael, All ical4 libraries should support java 1.7, I'll double check the compilation. What error are you seeing in Android? [bugs:#174] Parser Exception on 'EMAIL'...
Hi Michael, All ical4 libraries should support java 1.7, I'll double check the compilation. What error are you seeing in Android?
Hmmm...looks like I need to add 'ical4j-extensions'...However, under Android, I am not able to do this since the code (extensions) seems to have depencies compiled with Java8 (1.8). Is there any way to use 'extensions' with Java7 (1.7)? Thanks!
Here is the exact error message: net.fortuna.ical4j.data.ParserException: Error at line 8:Unsupported parameter name: EMAIL
Parser Exception on 'EMAIL'
The program (yours or 3rd parties) is responsible to send the organizer a REPLY message...
+1
I'll try to upload the old releases to maven central, but in the meantime you can...
My company is using ical4j-1.0-rc3. We used to download it from modularity.net.au...
Hi Iskander, Thanks for raising this question. The original intent of zoneinfo-global...
Hi, Apparently there are two sets of timezone definitions included into the icaj4j...
On a device with Android 4.1.2, I am getting OutOfMemoryError error. Would you be...
Hi Guys, I have created an ics file for some date and then modified/ddited to a different...
I am trying to access a SOGo server with ical4j-connector. I am using this code snippet...
Hi All, As part of my application i have a created an ics file and imported to Lotus...
Hi All, As part of my application i have a created an ics file and imported to Lotus...
We are trying to modify event using ical4j connector to calendar server tested (davical...
Dear all, Is it possible to get a URL invoked when the invitee accepts/declines an...
Dear all, Is it possible to get a URL invoked when the invitee accepts/declines an...
Hi iCal4j Team, i'm using iCal4j on my project. I have a error on the build using...
Hi iCal4j Team, i'm using iCal4j on my project. I have a error on the build using...
It is basically a very good parser of ics messages. You will have to write the business...
Hi, I’m using the latest beta-2.0 of ical4j. I have added it to my Android Studio...
I am trying to use the ical4j jar, but I am missing tz.alias along with all non-java...
I am trying to use the jar, but I am missing tz.alias along with all the ics files...
I am trying to use the jar, but I am missing tz.alias along with all the ics files...
Also note that the latest snapshot build of ical4j-extensions includes support for...
Also note that the latest snapshot build of ical4j-extensions includes support for...
If anyone needs a workaround: Enabling relaxed parsing using CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_RELAXED_PARSING,...
Hi, Recently, I would like to program a little application, which would connect to...
I have been woking on meeting invitation through java code using ical4j.I want to...
CalendarParser fails on allDay Events from Kerio Server
Hi, I recently upgraded ical4j-connector from 0.9.3 to 0.9.4.3. My code would connect...
what is the status of that bug ?
In Observance.getLatestOnset(Date), for the initial onset, the TZFROM offset is not...
Playing around with different UNTIL values in the RRULE, it seems that it behaves...
Asia/Shanghai from Apple Calendar
Does this library provide some APIs to support replying ICS invitations?
Thanks very much for the quick reply Ben! :)
Thanks very much for the quick reply Ben! :)
Hi, According to the iTIP spec the ORGANIZER property is required when you have METHOD:PUBLISH:...
Hi, I recently upgraded from ical4j 1.0-beta5 to 1.0.6. My code creates a VEvent...
How to calculate if event overlap itself or not? Examples: Event 1: start: 2015-03-08...
Hove to calculate if event overlap itself or not? Examples: Event 1: start: 2015-03-08...
Found it!. It seems that my http - URL from office365 redirects to a https - URL....
Found it!. It seems that my http - URL from office365 redirects to a https - URL....
I use Calendars.load(new URL(URL)) to import an ics calendar into my application....
Hello all, I'm tryng to Connect to a CalDAV Store but i get this error: [ERROR]:...
Hi Ben, thanks very much for the quick reply. The RFC 2445 says you're right! Thanks...
Hello I'm new to ical4j. I successfully created an android project loading an ICS...
Hi Ben, thanks very much for the quick reply. The RFC 2445 says you're right! Thanks...
Hi Ben, thanks very much for the quick reply. The RFC 2445 says you're right! Thanks...
Hi Ben, thanks very much for the quick reply. The RFC 2445 says you're right! Thanks...
Hi Ben, thanks very much for the quick reply. The RFC 2445 says you're right! Thanks...
I found code of ical 4j where an .ics file is with some eventual information stored...
Hi Ben, thanks very much for the quick reply. The RFC 2445 says you're right! Thanks...