Questions tagged [ical4j]

iCal4j is a Java API that provides support for the iCalendar specification as defined in RFC2445.

iCal4j is a Java API that provides support for the iCalendar specification as defined in RFC2445. This support includes a Parser, Model and Generator for iCalendar data streams. For more information check out the API Documentation.

139 questions
1
vote
0 answers

ical4j 1.0.6 Unparseable date exception thrown

I'm using ical4j 1.0.6 in a project, and have encountered an issue in an events feed that I can't figure out. The exemplar VEVENT appears below in a stripped down version of its ical, sanitized to remove client data. The DTSTART attribute of the…
railsdog
  • 1,503
  • 10
  • 10
1
vote
1 answer

ical4j.properties file IntelliJ

I've been trying to parse an iCal file using ical4j but I can't seem to make it find the ical4j.properties file. From the documentation we can read that we should create a file within our classpath. So according to this question I should have done…
Christophe De Troyer
  • 2,852
  • 3
  • 30
  • 47
1
vote
1 answer

Is iCal sync possible in java? How to connect ical server using java?

I am about to build a simple iphone app. In that we are syncing iCal. I want to sync iCal in server side in java and store events in database. I do not know is it possible to sync iCal using java. Iphone user will send access token or anything…
Sameer Kazi
  • 17,129
  • 2
  • 34
  • 46
1
vote
1 answer

ICAL Recurrence RULE Generation (RRULE)

I need some help in understanding ICAL recurrence rule generation. I have created a calendar with just one event in it. The event has a rule to re-occur on Every 2 Days for the Next 5 days. The google calendar generates an ICS file with…
Dileep
  • 5,362
  • 3
  • 22
  • 38
1
vote
1 answer

Error when using ical4j.jar Java

I want to use ical4j in order to send event to users. When I execute this code : CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_RELAXED_UNFOLDING, true); // Create a TimeZone TimeZoneRegistry registry =…
as_taous
  • 113
  • 3
  • 10
1
vote
0 answers

Error 400 Bad Request using CardDav with iCal4j with Zimbra

I'm trying to download the vcard list from my zimbra account using iCal4j. I tried with this code. It correctly fetches the collections but it doesn't download any vCard. If i debug the getCollections method, i can see a HTTP/1.1 400 Bad Request…
Stefano Bertini
  • 292
  • 3
  • 11
1
vote
1 answer

CardDAV server with Java API (or working CardDAV Java Client API)

Is there any CardDAV Server which can be accessed via Java API? Another possibility would be to have a working(!) CardDAV Client Java API. The only library I found was ical4j but couldn't get it to read my contacts from owncloud. I also tried…
Benjamin M
  • 23,599
  • 32
  • 121
  • 201
1
vote
1 answer

iCal4J Error: net.fortuna.ical4j.util.Configurator

I'm sending an appointment to MS Outlook using iCal4J and it's working great, the appointment is going through. However my console is displaying the following: Oct 24, 2013 9:53:57 AM net.fortuna.ical4j.util.Configurator INFO:…
CodeNameGrant
  • 124
  • 4
  • 16
1
vote
1 answer

ical4j ParserException when building Calendar from ics file

I have this code to import calendar from ics file using ical4j: CalendarBuilder calendarBuilder = new CalendarBuilder(); CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_RELAXED_UNFOLDING, true); net.fortuna.ical4j.model.Calendar…
quocvi3t
  • 13
  • 5
1
vote
3 answers

Where should I put the ical4j.properties file in an Eclipse Android project?

I have an Eclipse Android project that works alright on its own. I have included an external library called ical4j (I've copied the required jar files into my libs folder which have been automatically added into Android Dependencies by Eclipse) and…
mae
  • 14,947
  • 8
  • 32
  • 47
1
vote
4 answers

iCal4j Timezones not compatible with Microsoft Outlook Timezones?

I'm creating an application to create .ics files using the iCal4j(1.0.3) api which works fine.However I'm running into a problem with the timezones. I've added the ZoneInfoOutlook(1.0.2) library and have been using it to create my .ics files. …
dhyppolite
  • 23
  • 1
  • 4
1
vote
2 answers

How do I convert a string to an iCalendar(ics) object?

I have been given the task of implementing a way to convert a string received through a JSON object to an iCalendar object(ics). I found the iCal4j library and have been attempting to use that as my parser. however it seems that the CalendarBuilder…
CodePrimate
  • 6,646
  • 13
  • 48
  • 86
1
vote
1 answer

iCal4j validation exception on empty calendar

I'm using the iCal4j library to generate an iCalendar feed. If no events are added to the calendar (simply because there doesn't happen to be any upcoming events to add), iCal4j throws a validation exception when it's time to write the iCalendar…
Rolf
  • 2,178
  • 4
  • 18
  • 29
0
votes
2 answers

Parsing VCalendar

I have an VCalendar retrieved by an url: PRODID: test_online VERSION: 1.0 METHOD:PUBLISH BEGIN:VEVENT SUMMARY: It's a test DESCRIPTION: Test an vcalendar parser LOCATION: DTSTART: 11/6/2011 3:00:00 PM DTEND: 11/10/2011 11:59:00 PM CATEGORIES: Other…
João Nunes
  • 711
  • 4
  • 11
  • 22
0
votes
0 answers

How to dynamically create Property in ical4j?

Let's say I have an List of unknown length of ical properties of unknown name represented as strings, i.e. ["DTSTART;TZID="Sarajevo, Skopje, Warsaw, Zagreb":20230726T100000",…