Riccardo - 2015-01-02

Hello

I'm new to ical4j. I successfully created an android project loading an ICS file downloaded from web. The file is generated by MacOsX native Calendar application.

Events that are not full day have a timezone :
DTSTART;TZID=Europe/Paris:20150102T130000

Events that are full day have no time zone :
DTSTART;VALUE=DATE:20150103

But the record at beginning should help:
BEGIN:VTIMEZONE
TZID:Europe/Paris
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
...

When I parse the ICS file with ical4j and I request for events thanks to Component.calculateRecurrenceSet():
- the full day periods have time="000000Z" and timezone=null
- when I call Period.getStart().getHour() I have 1 instead of zero
(probably because the timezone of my computer is +1 ?).

The workaround I found is to force hour to zero when there is no timezone in DateTime. But I think there must be better answer.

I use ical4j 1.0.6 with java 6 on macosx and android.
Thanks for any help.