I'm currently getting to know the library and am stuck at a problem:
my iCalendar has some ExceptionDates when viewing the file itself, but when creating the object trhough the library, i can't get any of these ExceptionDates (vEvent.getExceptionDates() allways returns a empty list).
Am I doing this wrong, or is it a bug?
Thanks in advance!
Johannes
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh, right. I forgot I changed the name of that class. Its old name is "ExceptionDatesMarshaller". FYI: I just released a new version today (version 0.3.3) if you want to use that. :)
Last edit: Michael Angstadt 2014-05-31
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2014-06-01
thanks! I just included the latest version, but the rawProps list is allways empty... :S
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm currently getting to know the library and am stuck at a problem:
my iCalendar has some ExceptionDates when viewing the file itself, but when creating the object trhough the library, i can't get any of these ExceptionDates (vEvent.getExceptionDates() allways returns a empty list).
Am I doing this wrong, or is it a bug?
Thanks in advance!
Johannes
Johannes,
Can you show me the iCal file you are trying to parse?
Thanks,
Mike
Hey Mike,
thanks for the fast reply! I attached the file ;)
The EXDATE property values all end with a comma character, which isn't supposed to happen. This is preventing biweekly from parsing them.
As a work-around, you could retrieve the properties as raw properties, and then parse them manually:
Last edit: Michael Angstadt 2014-05-31
Thanks a lot Mike!
i thought that might be the problem, too :P
the class ExceptionDatesScribe is not available in the current version.. will this class be added in a future release?
What version are you running?
Oh, right. I forgot I changed the name of that class. Its old name is "ExceptionDatesMarshaller". FYI: I just released a new version today (version 0.3.3) if you want to use that. :)
Last edit: Michael Angstadt 2014-05-31
thanks! I just included the latest version, but the rawProps list is allways empty... :S
Oops, my mistake. In your case, the EXDATE properties exist within VEVENT components. So you have to iterate over all the properties in each VEVENT:
awesome, it's working now =) thanks alot, mike!
You're welcome!
I'm back once again for another question, mike!
Could it be that - due to this error in the file - the Location-Attribute won't get parsed?
I tried to retrieve it, but it allways returns an empty String...
Thanks in davance!
Johannes