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
3
votes
2 answers

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

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…
Anatoly
  • 5,056
  • 9
  • 62
  • 136
3
votes
1 answer

Problems with DST in ICS files. How to get timezones definition from a Web Service / Web site, to include in a ICS file?

We're generating an ICS file from Java code, and initially entered the times in UTC format. We found that when creating a recurring appointment, with a DST change between the first and last date, some meetings are created 1 hour before or after the…
3
votes
1 answer

open .ics file with outlook from browser

I'm developing an application to export calendars. The problem that I have is that the calendar is downloaded instead of opened with Outlook. Here is my code: 1) There is an image link in the main page to export the calendar:
Neets
  • 4,094
  • 10
  • 34
  • 46
2
votes
0 answers

Create recurrence with iCal4j considering daylight saving time

Using the iCal4j library, I can create all occurrences of a recurrence starting with a rrule and a start date. This code works fine, but the problem comes up when I create a recurrence that starts during DST and ends with standard time or vice…
Luyi
  • 148
  • 1
  • 11
2
votes
1 answer

Adding Refresh-Interval Parameter in ics file using iCal4J library in java

Below is my ics file and I want to add REFRESH-INTERVAL;VALUE=DURATION:PT12H parameter in the file using ical4j library in java. Can anyone suggest how to perform that action. BEGIN:VCALENDAR VERSION:2.0 PRODID:-//My Company//NONSGML Event…
2
votes
0 answers

Sending an Ical4J Event via E-Mail using the Publish Method

I am trying to send an E-Mail with an open Event to be included in a private calendar. I brought it to work using the Request-Method, but this was not exactly the behaviour I wanted. I do not want the recipients to answer the "invitation" when…
NoChance2
  • 31
  • 1
2
votes
3 answers

:iCal Event not added into organizer calendar

I am creating ics file with 2 attendee and a organizer. Event is properly creating for both attendees and response is also received when they accept/reject the event. I am sending same invite to organizer as well. On organizer end, event is not…
2
votes
1 answer

What time zones does Outlook 2007 support in iCalendar invites?

I understand Outlook only "partially" conforms to the standard. Does Microsoft have a published spec on what they do conform with? I need a list of the available time zone id's I can use for Outlook meeting invites. I'm using ical4j to build my…
Andy
  • 8,841
  • 8
  • 45
  • 68
2
votes
1 answer

iCalendar - One ics file must contain all event's update information

Please, imagine a context that user import a .ics file on iCalendar application (e.g. Outlook, Google Calendar...) and after that, the events on .ics had some informations changed (hour/date changed, event cancelled...). The user receive other .ics…
Neeryck
  • 79
  • 1
  • 10
2
votes
1 answer

Ical4j. RFC5545. Calculate event occurrences with exclusion

I check ical4j library. At time I need calculate event occurrences. Useful example to calculate is here. I try to add exclusion VEvent event = new ContentBuilder().vevent { dtstart('20101113', parameters: parameters() {value('DATE')}) …
Sergii
  • 7,044
  • 14
  • 58
  • 116
2
votes
1 answer

Calendar. Recurrent event occurrence. How to check if start date matched on pattern?

If I use google library google-rfc-2445 (to calculate occurrences) String sRule = "RRULE:FREQ=YEARLY;COUNT=3;INTERVAL=2;BYMONTH=5;BYMONTHDAY=22,23,24,25,26,27,28;BYDAY=MO"; LocalDateIterable localDateIterable = LocalDateIteratorFactory …
Sergii
  • 7,044
  • 14
  • 58
  • 116
2
votes
0 answers

.ics and meeting forward notifications

I'm no calendar expert and I need some help in figuring out how to make use of some outlook functionalities with my code-generate .ics. I'm using java library ical4j to create my ics and so far I'm able to show the organizer and the attendees the…
Pievis
  • 1,954
  • 1
  • 22
  • 42
2
votes
1 answer

ParserException with ical4j in Eclipse

I'm trying to add bank holidays from an ics calendar to an ArrayList of Date objects: public void loadHolidays() { try { URL holidays = new URL("https://www.gov.uk/bank-holidays/england-and-wales.ics"); InputStream fin =…
Milka
  • 297
  • 2
  • 11
2
votes
0 answers

push event change from google calendar into my application

I have my own application with calendar which can add/delete/edit events and it pushing change into google calendar. Is possible push events after change back? For example if I change event date in google calendar it will change event in my…
Marek Čačko
  • 980
  • 2
  • 21
  • 31
2
votes
0 answers

Make a calendar displayable on all (not all actually) clients

I need to create a calendar and then send this calendar via e-mail as an attachment. After some study, I found out the best way is to send the calendar not as a file-attachment but modifying the content-type of the body part of the mail to…
ThanksForAllTheFish
  • 7,101
  • 5
  • 35
  • 54
1
2
3
9 10