3.2.4.4 Creating Calendar Events when the StartTime Element or EndTime Element is Absent

If the server receives a Sync command request ([MS-ASCMD] section 2.2.1.21) to add a calendar event that is missing either the StartTime element (section 2.2.2.42), the EndTime element (section 2.2.2.20), or both, the server attempts to substitute values based on the current time, rounded to the nearest half hour, for the missing values. For example, if the server receives a Sync command request at 18:03 to add a new calendar event, the server rounds the current time to 18:30. The server sets the StartTime and EndTime elements as specified in the following table.

StartTime

EndTime

Result

Absent

Absent

The server sets the value of the StartTime element to the rounded current time, and sets the value of the EndTime element to the rounded current time plus 30 minutes.

Absent

In the past

The server includes a Status element with a value of 6 in the response, as specified in [MS-ASCMD] section 2.2.3.177.17, indicating an error occurred.

Absent

In the future

The server sets the value of the StartTime element to the rounded current time and sets the value of the EndTime element to the value of the EndTime element in the request. If the rounded current time is after the end time, the server includes a Status element with a value of 6 in the response, indicating an error occurred.

In the past

Absent

The server sets the value of the StartTime element to the value of the StartTime element in the request and sets the value of the EndTime element to the rounded current time plus 30 minutes.

In the future

Absent

The server includes a Status element with a value of 6 in the response, indicating an error occurred.