Navigation Menu

Skip to content

Commit

Permalink
[e] (0) Move the 'vaguer moments' section down so the precise moments…
Browse files Browse the repository at this point in the history
… are all together.

git-svn-id: http://svn.whatwg.org/webapps@2380 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 29, 2008
1 parent b9facb3 commit a3d4151
Show file tree
Hide file tree
Showing 2 changed files with 161 additions and 157 deletions.
164 changes: 83 additions & 81 deletions index
Expand Up @@ -226,13 +226,13 @@
<li><a href=#dates-and-times><span class=secno>2.4.4 </span>Dates and times</a>
<ol>
<li><a href=#specific-moments-in-time><span class=secno>2.4.4.1 </span>Specific moments in time</a></li>
<li><a href=#vaguer-moments-in-time><span class=secno>2.4.4.2 </span>Vaguer moments in time</a></li>
<li><a href=#utc-dates-and-times><span class=secno>2.4.4.3 </span>UTC dates and times</a></li>
<li><a href=#local-dates-and-times><span class=secno>2.4.4.4 </span>Local dates and times</a></li>
<li><a href=#dates><span class=secno>2.4.4.5 </span>Dates</a></li>
<li><a href=#months><span class=secno>2.4.4.6 </span>Months</a></li>
<li><a href=#weeks><span class=secno>2.4.4.7 </span>Weeks</a></li>
<li><a href=#times><span class=secno>2.4.4.8 </span>Times</a></li>
<li><a href=#utc-dates-and-times><span class=secno>2.4.4.2 </span>UTC dates and times</a></li>
<li><a href=#local-dates-and-times><span class=secno>2.4.4.3 </span>Local dates and times</a></li>
<li><a href=#dates><span class=secno>2.4.4.4 </span>Dates</a></li>
<li><a href=#months><span class=secno>2.4.4.5 </span>Months</a></li>
<li><a href=#weeks><span class=secno>2.4.4.6 </span>Weeks</a></li>
<li><a href=#times><span class=secno>2.4.4.7 </span>Times</a></li>
<li><a href=#vaguer-moments-in-time><span class=secno>2.4.4.8 </span>Vaguer moments in time</a></li>
<li><a href=#time-offsets><span class=secno>2.4.4.9 </span>Time offsets</a></ol></li>
<li><a href=#space-separated-tokens><span class=secno>2.4.5 </span>Space-separated tokens</a></li>
<li><a href=#comma-separated-tokens><span class=secno>2.4.6 </span>Comma-separated tokens</a></li>
Expand Down Expand Up @@ -2957,7 +2957,80 @@

<li><p>Return <var title="">time</var> and <var title="">timezone</var>.</li>

</ol><h5 id=vaguer-moments-in-time><span class=secno>2.4.4.2 </span>Vaguer moments in time</h5>
</ol><h5 id=utc-dates-and-times><span class=secno>2.4.4.2 </span>UTC dates and times</h5>

<p>A <dfn id=concept-datetime title=concept-datetime>UTC date and time</dfn> consists
of a specific Gregorian date expressed relative to the UTC timezone,
consisting of a year, a month, a day, an hour, a minute, a second,
and a fraction of a second. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p class=XXX>... <dfn id=valid-utc-date-and-time-string>valid UTC date and time string</dfn></p>

<p class=XXX>... rules to <dfn id=parse-a-utc-date-and-time-string>parse a UTC date and time
string</dfn></p>


<h5 id=local-dates-and-times><span class=secno>2.4.4.3 </span>Local dates and times</h5>

<p>A <dfn id=concept-datetime-local title=concept-datetime-local>local date and time</dfn>
consists of a specific Gregorian date with no timezone information,
consisting of a year, a month, a day, an hour, a minute, a second,
and a fraction of a second. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p class=XXX>... <dfn id=valid-local-date-and-time-string>valid local date and time string</dfn></p>

<p class=XXX>... rules to <dfn id=parse-a-local-date-and-time-string>parse a local date and time
string</dfn></p>


<h5 id=dates><span class=secno>2.4.4.4 </span>Dates</h5>

<p>A <dfn id=concept-date title=concept-date>date</dfn> consists of a specific
Gregorian date with no timezone information, consisting of a year, a
month, and a day. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p class=XXX>... <dfn id=valid-date-string>valid date string</dfn></p>

<p class=XXX>... rules to <dfn id=parse-a-date-string>parse a date string</dfn></p>


<h5 id=months><span class=secno>2.4.4.5 </span>Months</h5>

<p>A <dfn id=concept-month title=concept-month>month</dfn> consists of a specific
Gregorian date with no timezone information and no date information
beyond a year and a month. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p class=XXX>... <dfn id=valid-month-string>valid month string</dfn></p>

<p class=XXX>... rules to <dfn id=parse-a-month-string>parse a month string</dfn></p>


<h5 id=weeks><span class=secno>2.4.4.6 </span>Weeks</h5>

<p>A <dfn id=concept-week title=concept-week>week</dfn> consists of a specific
Gregorian date with no timezone information and no date information
beyond a year and a week. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<!-- XXX ISO week information -->

<p class=XXX>... <dfn id=valid-week-string>valid week string</dfn></p>

<p class=XXX>... rules to <dfn id=parse-a-week-string>parse a week string</dfn></p>


<h5 id=times><span class=secno>2.4.4.7 </span>Times</h5>

<p>A <dfn id=concept-time title=concept-time>time</dfn> consists of a specific
time with no timezone information, consisting of an hour, a minute,
a second, and a fraction of a second.</p>

<p class=XXX>... <dfn id=valid-time-string>valid time string</dfn></p>

<p class=XXX>... rules to <dfn id=parse-a-time-string>parse a time string</dfn></p>



<h5 id=vaguer-moments-in-time><span class=secno>2.4.4.8 </span>Vaguer moments in time</h5>

<p>This section defines <dfn id=date-or-time-string title="date or time string">date or
time strings</dfn>. There are two kinds, <dfn id=date-or-time-string-in-content title="date or time
Expand All @@ -2969,6 +3042,7 @@
the following algorithm. A <a href=#date-or-time-string>date or time string</a> is a
<em>valid</em> date or time string if the following algorithm, when
run on the string, doesn't say the string is invalid.</p>
<!-- XXX should define that without reference to the algorithm -->

<p>The algorithm may return nothing (in which case the string will
be invalid), or it may return a date, a time, a date and a time, or
Expand Down Expand Up @@ -3249,79 +3323,7 @@

<li><p>Abort these steps (the string is parsed).</li>

</ol><h5 id=utc-dates-and-times><span class=secno>2.4.4.3 </span>UTC dates and times</h5>

<p>A <dfn id=concept-datetime title=concept-datetime>UTC date and time</dfn> consists
of a specific Gregorian date expressed relative to the UTC timezone,
consisting of a year, a month, a day, an hour, a minute, a second,
and a fraction of a second. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p class=XXX>... <dfn id=valid-utc-date-and-time-string>valid UTC date and time string</dfn></p>

<p class=XXX>... rules to <dfn id=parse-a-utc-date-and-time-string>parse a UTC date and time
string</dfn></p>


<h5 id=local-dates-and-times><span class=secno>2.4.4.4 </span>Local dates and times</h5>

<p>A <dfn id=concept-datetime-local title=concept-datetime-local>local date and time</dfn>
consists of a specific Gregorian date with no timezone information,
consisting of a year, a month, a day, an hour, a minute, a second,
and a fraction of a second. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p class=XXX>... <dfn id=valid-local-date-and-time-string>valid local date and time string</dfn></p>

<p class=XXX>... rules to <dfn id=parse-a-local-date-and-time-string>parse a local date and time
string</dfn></p>


<h5 id=dates><span class=secno>2.4.4.5 </span>Dates</h5>

<p>A <dfn id=concept-date title=concept-date>date</dfn> consists of a specific
Gregorian date with no timezone information, consisting of a year, a
month, and a day. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p class=XXX>... <dfn id=valid-date-string>valid date string</dfn></p>

<p class=XXX>... rules to <dfn id=parse-a-date-string>parse a date string</dfn></p>


<h5 id=months><span class=secno>2.4.4.6 </span>Months</h5>

<p>A <dfn id=concept-month title=concept-month>month</dfn> consists of a specific
Gregorian date with no timezone information and no date information
beyond a year and a month. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<p class=XXX>... <dfn id=valid-month-string>valid month string</dfn></p>

<p class=XXX>... rules to <dfn id=parse-a-month-string>parse a month string</dfn></p>


<h5 id=weeks><span class=secno>2.4.4.7 </span>Weeks</h5>

<p>A <dfn id=concept-week title=concept-week>week</dfn> consists of a specific
Gregorian date with no timezone information and no date information
beyond a year and a week. <a href=#refsGREGORIAN>[GREGORIAN]</a></p>

<!-- XXX ISO week information -->

<p class=XXX>... <dfn id=valid-week-string>valid week string</dfn></p>

<p class=XXX>... rules to <dfn id=parse-a-week-string>parse a week string</dfn></p>


<h5 id=times><span class=secno>2.4.4.8 </span>Times</h5>

<p>A <dfn id=concept-time title=concept-time>time</dfn> consists of a specific
time with no timezone information, consisting of an hour, a minute,
a second, and a fraction of a second.</p>

<p class=XXX>... <dfn id=valid-time-string>valid time string</dfn></p>

<p class=XXX>... rules to <dfn id=parse-a-time-string>parse a time string</dfn></p>


<h5 id=time-offsets><span class=secno>2.4.4.9 </span>Time offsets</h5>
</ol><h5 id=time-offsets><span class=secno>2.4.4.9 </span>Time offsets</h5>

<p class=XXX><dfn id=valid-time-offset>valid time offset</dfn>, <dfn id=rules-for-parsing-time-offsets>rules for
parsing time offsets</dfn>, <dfn id=time-offset-serialization-rules>time offset serialization
Expand Down
154 changes: 78 additions & 76 deletions source
Expand Up @@ -2285,6 +2285,83 @@
</ol>


<h5>UTC dates and times</h5>

<p>A <dfn title="concept-datetime">UTC date and time</dfn> consists
of a specific Gregorian date expressed relative to the UTC timezone,
consisting of a year, a month, a day, an hour, a minute, a second,
and a fraction of a second. <a
href="#refsGREGORIAN">[GREGORIAN]</a></p>

<p class="XXX">... <dfn>valid UTC date and time string</dfn></p>

<p class="XXX">... rules to <dfn>parse a UTC date and time
string</dfn></p>


<h5>Local dates and times</h5>

<p>A <dfn title="concept-datetime-local">local date and time</dfn>
consists of a specific Gregorian date with no timezone information,
consisting of a year, a month, a day, an hour, a minute, a second,
and a fraction of a second. <a
href="#refsGREGORIAN">[GREGORIAN]</a></p>

<p class="XXX">... <dfn>valid local date and time string</dfn></p>

<p class="XXX">... rules to <dfn>parse a local date and time
string</dfn></p>


<h5>Dates</h5>

<p>A <dfn title="concept-date">date</dfn> consists of a specific
Gregorian date with no timezone information, consisting of a year, a
month, and a day. <a href="#refsGREGORIAN">[GREGORIAN]</a></p>

<p class="XXX">... <dfn>valid date string</dfn></p>

<p class="XXX">... rules to <dfn>parse a date string</dfn></p>


<h5>Months</h5>

<p>A <dfn title="concept-month">month</dfn> consists of a specific
Gregorian date with no timezone information and no date information
beyond a year and a month. <a
href="#refsGREGORIAN">[GREGORIAN]</a></p>

<p class="XXX">... <dfn>valid month string</dfn></p>

<p class="XXX">... rules to <dfn>parse a month string</dfn></p>


<h5>Weeks</h5>

<p>A <dfn title="concept-week">week</dfn> consists of a specific
Gregorian date with no timezone information and no date information
beyond a year and a week. <a
href="#refsGREGORIAN">[GREGORIAN]</a></p>

<!-- XXX ISO week information -->

<p class="XXX">... <dfn>valid week string</dfn></p>

<p class="XXX">... rules to <dfn>parse a week string</dfn></p>


<h5>Times</h5>

<p>A <dfn title="concept-time">time</dfn> consists of a specific
time with no timezone information, consisting of an hour, a minute,
a second, and a fraction of a second.</p>

<p class="XXX">... <dfn>valid time string</dfn></p>

<p class="XXX">... rules to <dfn>parse a time string</dfn></p>



<h5>Vaguer moments in time</h5>

<p>This section defines <dfn title="date or time string">date or
Expand All @@ -2298,6 +2375,7 @@
the following algorithm. A <span>date or time string</span> is a
<em>valid</em> date or time string if the following algorithm, when
run on the string, doesn't say the string is invalid.</p>
<!-- XXX should define that without reference to the algorithm -->

<p>The algorithm may return nothing (in which case the string will
be invalid), or it may return a date, a time, a date and a time, or
Expand Down Expand Up @@ -2637,82 +2715,6 @@
</ol>


<h5>UTC dates and times</h5>

<p>A <dfn title="concept-datetime">UTC date and time</dfn> consists
of a specific Gregorian date expressed relative to the UTC timezone,
consisting of a year, a month, a day, an hour, a minute, a second,
and a fraction of a second. <a
href="#refsGREGORIAN">[GREGORIAN]</a></p>

<p class="XXX">... <dfn>valid UTC date and time string</dfn></p>

<p class="XXX">... rules to <dfn>parse a UTC date and time
string</dfn></p>


<h5>Local dates and times</h5>

<p>A <dfn title="concept-datetime-local">local date and time</dfn>
consists of a specific Gregorian date with no timezone information,
consisting of a year, a month, a day, an hour, a minute, a second,
and a fraction of a second. <a
href="#refsGREGORIAN">[GREGORIAN]</a></p>

<p class="XXX">... <dfn>valid local date and time string</dfn></p>

<p class="XXX">... rules to <dfn>parse a local date and time
string</dfn></p>


<h5>Dates</h5>

<p>A <dfn title="concept-date">date</dfn> consists of a specific
Gregorian date with no timezone information, consisting of a year, a
month, and a day. <a href="#refsGREGORIAN">[GREGORIAN]</a></p>

<p class="XXX">... <dfn>valid date string</dfn></p>

<p class="XXX">... rules to <dfn>parse a date string</dfn></p>


<h5>Months</h5>

<p>A <dfn title="concept-month">month</dfn> consists of a specific
Gregorian date with no timezone information and no date information
beyond a year and a month. <a
href="#refsGREGORIAN">[GREGORIAN]</a></p>

<p class="XXX">... <dfn>valid month string</dfn></p>

<p class="XXX">... rules to <dfn>parse a month string</dfn></p>


<h5>Weeks</h5>

<p>A <dfn title="concept-week">week</dfn> consists of a specific
Gregorian date with no timezone information and no date information
beyond a year and a week. <a
href="#refsGREGORIAN">[GREGORIAN]</a></p>

<!-- XXX ISO week information -->

<p class="XXX">... <dfn>valid week string</dfn></p>

<p class="XXX">... rules to <dfn>parse a week string</dfn></p>


<h5>Times</h5>

<p>A <dfn title="concept-time">time</dfn> consists of a specific
time with no timezone information, consisting of an hour, a minute,
a second, and a fraction of a second.</p>

<p class="XXX">... <dfn>valid time string</dfn></p>

<p class="XXX">... rules to <dfn>parse a time string</dfn></p>


<h5>Time offsets</h5>

<p class="XXX"><dfn>valid time offset</dfn>, <dfn>rules for
Expand Down

0 comments on commit a3d4151

Please sign in to comment.