Skip to content

Commit

Permalink
[c] (0) Clarify a requirement regarding dtend's syntax which I had mi…
Browse files Browse the repository at this point in the history
…ssed when going through vevent before.

git-svn-id: http://svn.whatwg.org/webapps@3098 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 14, 2009
1 parent 5161338 commit 3349303
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 30 deletions.
30 changes: 16 additions & 14 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -42670,20 +42670,22 @@ document.body.appendChild(outer);</pre>

<p>Gives the date and time by which the event ends.</p>

<p>The <a href=#concept-property-value title=concept-property-value>value</a> must be
text that is either a <a href=#valid-date-string>valid date string</a> or a
<a href=#valid-global-date-and-time-string>valid global date and time string</a>, and the value must
be later in time than the value of the <code title=md-event-dtstart>dtstart</code> property of the same <a href=#concept-item title=concept-item>item</a>.</p>

<!--XXX
The "VEVENT" is also the calendar component used to specify an
anniversary or daily reminder within a calendar. These events have a
DATE value type for the "DTSTART" property instead of the default
data type of DATE-TIME. If such a "VEVENT" has a "DTEND" property, it
MUST be specified as a DATE value also. The anniversary type of
"VEVENT" can span more than one date (i.e, "DTEND" property value is
set to a calendar date after the "DTSTART" property value).
-->
<p>If the property with the name <code title=md-vevent-dtend><a href=#md-vevent-dtend>dtend</a></code> is present within an <a href=#concept-item title=concept-item>item</a> with the type <code title=md-vevent><a href=#md-vevent>vevent</a></code> that has a property with the name
<code title=md-vevent-dtstart><a href=#md-vevent-dtstart>dtstart</a></code> whose value is a
<a href=#valid-date-string>valid date string</a>, then the <a href=#concept-property-value title=concept-property-value>value</a> of the property with
the name <code title=md-vevent-dtend><a href=#md-vevent-dtend>dtend</a></code> must be text
that is a <a href=#valid-date-string>valid date string</a> also. Otherwise, the
<a href=#concept-property-value title=concept-property-value>value</a> of the property
must be text that is a <a href=#valid-global-date-and-time-string>valid global date and time
string</a>.</p>

<p>In either case, the <a href=#concept-property-value title=concept-property-value>value</a> be later in time than
the value of the <code title=md-event-dtstart>dtstart</code>
property of the same <a href=#concept-item title=concept-item>item</a>.</p>

<p class=note>The time given by the <code title=md-vevent-dtend><a href=#md-vevent-dtend>dtend</a></code> property is not
inclusive. For day-long events, therefore, the the <code title=md-vevent-dtend><a href=#md-vevent-dtend>dtend</a></code> property's <a href=#concept-property-value title=concept-property-value>value</a> will be the day
<em>after</em> the end of the event.</p>

<p>A single property with the name <code title=md-vevent-dtend><a href=#md-vevent-dtend>dtend</a></code> may be present within each
<a href=#concept-item title=concept-item>item</a> with the type <code title=md-vevent><a href=#md-vevent>vevent</a></code>, so long as that <code title=md-vevent><a href=#md-vevent>vevent</a></code> does not have a property with the
Expand Down
40 changes: 24 additions & 16 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -48281,22 +48281,30 @@ document.body.appendChild(outer);</pre>

<p>Gives the date and time by which the event ends.</p>

<p>The <span title="concept-property-value">value</span> must be
text that is either a <span>valid date string</span> or a
<span>valid global date and time string</span>, and the value must
be later in time than the value of the <code
title="md-event-dtstart">dtstart</code> property of the same <span
title="concept-item">item</span>.</p>

<!--XXX
The "VEVENT" is also the calendar component used to specify an
anniversary or daily reminder within a calendar. These events have a
DATE value type for the "DTSTART" property instead of the default
data type of DATE-TIME. If such a "VEVENT" has a "DTEND" property, it
MUST be specified as a DATE value also. The anniversary type of
"VEVENT" can span more than one date (i.e, "DTEND" property value is
set to a calendar date after the "DTSTART" property value).
-->
<p>If the property with the name <code
title="md-vevent-dtend">dtend</code> is present within an <span
title="concept-item">item</span> with the type <code
title="md-vevent">vevent</code> that has a property with the name
<code title="md-vevent-dtstart">dtstart</code> whose value is a
<span>valid date string</span>, then the <span
title="concept-property-value">value</span> of the property with
the name <code title="md-vevent-dtend">dtend</code> must be text
that is a <span>valid date string</span> also. Otherwise, the
<span title="concept-property-value">value</span> of the property
must be text that is a <span>valid global date and time
string</span>.</p>

<p>In either case, the <span
title="concept-property-value">value</span> be later in time than
the value of the <code title="md-event-dtstart">dtstart</code>
property of the same <span title="concept-item">item</span>.</p>

<p class="note">The time given by the <code
title="md-vevent-dtend">dtend</code> property is not
inclusive. For day-long events, therefore, the the <code
title="md-vevent-dtend">dtend</code> property's <span
title="concept-property-value">value</span> will be the day
<em>after</em> the end of the event.</p>

<p>A single property with the name <code
title="md-vevent-dtend">dtend</code> may be present within each
Expand Down

0 comments on commit 3349303

Please sign in to comment.