2.1.3.1.1.20.8 Property: DTEND

RFC Reference: [RFC2445] section 4.8.2.2

Number of Instances Allowed: 1

Format: Date-Time ([RFC2445] section 4.3.5), Date ([RFC2445] section 4.3.4)

Brief Description: The end time of an appointment. If the item is a counter proposal, then this is the proposed end time of the meeting.

Importing to Calendar objects

If the METHOD property of the VCALENDAR component is set to 'COUNTER', then this property SHOULD be imported as PidLidAppointmentProposedEndWhole ([MS-OXPROPS] section 2.20).<123>

If the METHOD property of the VCALENDAR component is not set to 'COUNTER', or if either X-MS-OLK-ORIGINALEND or X-MS-OLK-ORIGINALSTART is not specified, then this property SHOULD<124> be imported as PidLidAppointmentEndWhole ([MS-OXPROPS] section 2.14), and PidLidAppointmentDuration ([MS-OXPROPS] section 2.11) SHOULD<125> be set to the number of minutes between DTSTART and DTEND.

If DTSTART and DTEND are both specified in floating time, and if both occur at midnight of their respective days, then the appointment SHOULD<126> be imported as an all-day appointment: PidLidAppointmentSubType ([MS-OXPROPS] section 2.31) MUST be set to 0x00000001. Note that this logic SHOULD<127> also be triggered by X-MICROSOFT-CDO-ALLDAYEVENT (section 2.1.3.1.1.20.28) and X-MICROSOFT-MSNCALENDAR-ALLDAYEVENT (section 2.1.3.1.1.20.41).

Exporting from Calendar objects

If the METHOD property of the VCALENDAR component is set to 'COUNTER', then PidLidAppointmentProposedEndWhole SHOULD<128> be exported as a new DTEND property. For other values of METHOD, the PidLidAppointmentEndWhole of a Calendar object SHOULD<129> be exported as a new DTEND property.

If this is an all-day appointment, then this property SHOULD<130> be exported in floating time with the Date format ([RFC2445] section 4.3.4).

If this is a recurring non-all-day appointment, then this property MUST be specified as a local time with a TZID parameter.

Non-recurring non-all-day appointments SHOULD<131> be specified as a local time with a TZID parameter.