Skip to content

urn:ietf:params:xml:ns:caldav:max date time

Marten Gajda edited this page Jul 27, 2015 · 4 revisions

Summary

Specification
RFC 4791 [Section 5.2.7](http://tools.ietf.org/html/rfc4791#section-5.2.7)
Type
Property
Protected
MUST
Returned by allprop
SHOULD NOT
Valid for resource types
urn:ietf:params:xml:ns:caldav:calendar

###Purpose

Provides a DATE-TIME value indicating the latest date and time (in UTC) that the server is willing to accept for any DATE or DATE-TIME value in a calendar object resource stored in a calendar collection.

###Value An iCalendar format DATE-TIME value in UTC

###Conformance

This property MAY be defined on any calendar collection. If defined, it MUST be protected and SHOULD NOT be returned by a PROPFIND DAV:allprop request (as defined in Section 12.14.1 of RFC 2518).

###Description

The CALDAV:max-date-time is used to specify an iCalendar DATE-TIME value in UTC that indicates the inclusive latest date that the server is willing to accept for any date or time value in a calendar object resource stored in a calendar collection. Any attempt to store a calendar object resource using a DATE or DATE-TIME value later than this value MUST result in an error, with the CALDAV:max-date-time precondition (Section 5.3.2.1) being violated. Note that servers MUST accept recurring components that specify instances beyond this limit, provided none of those instances have been overridden. In that case, the server MAY simply ignore those instances outside of the acceptable range when processing reports on the calendar object resource. In the absence of this property, the client can assume any valid iCalendar date may be used at least down to the CALDAV:min-date-time value, if that is defined.

DTD

<!ELEMENT max-date-time (#PCDATA)>
PCDATA value: an iCalendar format DATE-TIME value in UTC

###Example

<C:max-date-time xmlns:C="urn:ietf:params:xml:ns:caldav"
>20491231T235959Z</C:max-date-time>
Clone this wiki locally