The interactive file manager requires Javascript. Please enable it or use sftp or scp.
You may still browse the files here.
| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| biweekly-0.3.1-with-deps.zip | 2013-09-21 | 490.4 kB | |
| biweekly-0.3.1.jar | 2013-09-21 | 328.2 kB | |
| biweekly-0.3.1-sources.jar | 2013-09-21 | 340.9 kB | |
| biweekly-0.3.1-javadoc.jar | 2013-09-21 | 2.6 MB | |
| readme.md | 2013-09-21 | 3.5 kB |
|
| Totals: 5 Items | 3.7 MB | 0 | |
Version 0.3.1 Changelog
Major changes
- Improved UTF-8 support: UTF-8 encoding is now used essentially whenever a
FileorInputStream/OutputStreamobject is passed into one of biweekly's reader/writer classes. JavaReader/Writerobjects are not effected by this change because they are configured to use their own character encoding.- If a
FileorOutputStreamobject is passed into a writer class, UTF-8 encoding will be used. - If a
FileorInputStreamobject is passed into a plain-text iCal or jCal reader, UTF-8 encoding will be used. - If a
FileorInputStreamobject is passed into a xCal reader, the "encoding" attribute in the header portion of the XML document will be properly taken into account. Before, it was ignored and the document was parsed according to the JVM's default character encoding.
- If a
- Added support for the EXRULE property.
- RRULE now supports non-standard rule parts.
- "Duration" class improvements: Added the following methods to the
Durationclass (credit: Caruyer Perrine):toMillis()- Converts the duration to millisecondsadd(Date)- Adds the duration to a Date objectdiff(Date, Date)- Factory method that builds aDurationfrom the difference between two DatesfromMillis(long)- Factory method that builds aDurationfrom a milliseconds value
Other changes:
- Added the ability to append onto existing files when writing plain-text files with the
Biweeklyclass. - The
Biweekly.parse(File)methods no longer throw aFileNotFoundException. - The
ICalParameter.getRsvp()method now throws anIllegalStateExceptionwhen the RSVP parameter value cannot be parsed (i.e. if it's something other than "true" or "false"). Before, it would return "null", which was misleading ("null" typically means that the parameter does not exist). Raw parameter values can still be retrieved using theget()method. - A
CannotParseExceptionis now consistently thrown during the parsing of xCal properties when the XML element which holds the property's value cannot be found. - When marshalling to xCard, if a property's value is null (a rare occurrence), then an empty XML element will be written (before, no element was written). This increases conformance with the xCard schema.
- Created the
ICalMarshallerRegistrarclass, which can be used to assign a set of custom marshallers to a reader or writer class. - Improved the performance of plain-text iCal marshalling by optimizing string escaping functions.
- Changed
JCalValue.asStructured()andJCalValue.structured()so they properly support multi-valued structured components. - Renamed the "Value" class to "ICalDataType" and improved data type abstraction in the data model.
- Moved
ValidationWarningsclass from thebiweekly.componentpackage to thebiweeklypackage. - Renamed the following methods:
ICalPropertyMarshaller.Result.getValue-->getPropertyICalPropertyMarshaller.getDataType-->dataTypeJCalValue.getSingleValued-->asSingleJCalValue.getMultivalued-->asMultiJCalValue.getStructured-->asStructured
- Added syntax highlighting to the code samples in the Javadocs. :)
See the changelog page for the project's entire changelog history.
Maven
<dependency>
<groupId>net.sf.biweekly</groupId>
<artifactId>biweekly</artifactId>
<version>0.3.1</version>
</dependency>