ICal: duration vs dtend?

There seem to be two ways to determine the end of an event in iCal. One using duration, and the other using dtend. Do any of them have any advantages over others? I cannot find any information except that dtend seems to cancel the duration.

+4
source share
1 answer

If you have an event and change "dtstart", the end time of the event;

  • should not be changed if you specify 'dtend'
  • should shift if you specify "duration"

RFC5545 says

; either 'dtend' or 'duration' may appear in ; a 'eventprop', but 'dtend' and 'duration' ; MUST NOT occur in the same 'eventprop' 
+4
source

All Articles