2013/3/22 Faison N.P <
faison...@gmail.com>:
> How to create an VEVENT with all day event flag.
>
> X-MICROSOFT-CDO-ALLDAYEVENT=TRUE
Maybe you mean using ":" instead of "="
X-MICROSOFT-CDO-ALLDAYEVENT: TRUE
^^^^ note the ":"
You should add that flag to the VEvent object. VEvent is an ical4j
object, so you should check the ical4j documentation.
Usually it is done via:
1- create a Property
import net.fortuna.ical4j.model.property.XProperty;
myProperty = new XProperty("X-MICROSOFT-CDO-ALLDAYEVENT", "TRUE"))
2- add the property to the event
myVevent.getProperties().add(myProperty)
See src/test/java/org/osaf/caldav4j/scheduling/SchedulePostMethodTest.java
Let me know + Peace,
R.