- From: poot <cvsmail@w3.org>
- Date: Tue, 25 Nov 2008 20:05:09 +0900 (JST)
- To: public-html-diffs@w3.org
Define meaning of dates before 1582. (whatwg r2437) digits http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#concept-datetime-digit valid month string http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#valid-month-string 2.4.4.2 Dates http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#dates valid date string http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#valid-date-string parse a time component http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#parse-a-time-component 2.4.4.4 Local dates and times http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#local-dates-and-times valid week string http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#valid-week-string 2.4.4.1 Months http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#months 2.4.4.5 Global dates and times http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#global-dates-and-times parse a local date and time string http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#parse-a-local-date-and-time-string valid local date and time string http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#valid-local-date-and-time-string valid global date and time string http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#valid-global-date-and-time-string parse a month component http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#parse-a-month-component week number of the last day http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#week-number-of-the-last-day 2.4.4.6 Weeks http://people.w3.org/mike/diffs/html5/spec/Overview.1.1609.html#weeks http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1608&r2=1.1609&f=h http://html5.org/tools/web-apps-tracker?from=2436&to=2437 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1608 retrieving revision 1.1609 diff -u -d -r1.1608 -r1.1609 --- Overview.html 25 Nov 2008 10:48:00 -0000 1.1608 +++ Overview.html 25 Nov 2008 11:02:32 -0000 1.1609 @@ -2260,8 +2260,8 @@ and time syntaxes defined in this section must be characters in the range U+0030 DIGIT ZERO to U+0039 DIGIT NINE, used to express numbers in base ten.<h5 id=months><span class=secno>2.4.4.1 </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=#references>[GREGORIAN]</a><p>A string is a <dfn id=valid-month-string>valid month string</dfn> representing a year + proleptic Gregorian date with no timezone information and no date + information beyond a year and a month. <a href=#references>[GREGORIAN]</a><p>A string is a <dfn id=valid-month-string>valid month string</dfn> representing a year <var title="">year</var> and month <var title="">month</var> if it consists of the following components in the given order:<ol><li>Four or more <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, representing <var title="">year</var>, where <var title="">year</var> > 0</li> @@ -2317,8 +2317,8 @@ <li><p>Return <var title="">year</var> and <var title="">month</var>.</li> </ol><h5 id=dates><span class=secno>2.4.4.2 </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=#references>[GREGORIAN]</a><p>A string is a <dfn id=valid-date-string>valid date string</dfn> representing a year + proleptic Gregorian date with no timezone information, consisting of + a year, a month, and a day. <a href=#references>[GREGORIAN]</a><p>A string is a <dfn id=valid-date-string>valid date string</dfn> representing a year <var title="">year</var>, month <var title="">month</var>, and day <var title="">day</var> if it consists of the following components in the given order:<ol><li>A <a href=#valid-month-string>valid month string</a>, representing <var title="">year</var> and <var title="">month</var></li> @@ -2493,10 +2493,10 @@ and <var title="">second</var>.</li> </ol><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, consisting of a year, a - month, and a day, and a time, consisting of an hour, a minute, a - second, and a fraction of a second, but expressed without a time - zone. <a href=#references>[GREGORIAN]</a><p>A string is a <dfn id=valid-local-date-and-time-string>valid local date and time string</dfn> + consists of a specific proleptic Gregorian date, consisting of a + year, a month, and a day, and a time, consisting of an hour, a + minute, a second, and a fraction of a second, but expressed without + a time zone. <a href=#references>[GREGORIAN]</a><p>A string is a <dfn id=valid-local-date-and-time-string>valid local date and time string</dfn> representing a date and time if it consists of the following components in the given order:<ol><li>A <a href=#valid-date-string>valid date string</a> representing the date.</li> @@ -2532,10 +2532,10 @@ <li><p>Return <var title="">date</var> and <var title="">time</var>.</li> </ol><h5 id=global-dates-and-times><span class=secno>2.4.4.5 </span>Global dates and times</h5><p>A <dfn id=concept-datetime title=concept-datetime>global date and time</dfn> - consists of a specific Gregorian date, consisting of a year, a - month, and a day, and a time, consisting of an hour, a minute, a - second, and a fraction of a second, expressed with a time zone, - consisting of a number of hours and minutes. <a href=#references>[GREGORIAN]</a></p><!--XXX [GREGORIAN] should point to + consists of a specific proleptic Gregorian date, consisting of a + year, a month, and a day, and a time, consisting of an hour, a + minute, a second, and a fraction of a second, expressed with a time + zone, consisting of a number of hours and minutes. <a href=#references>[GREGORIAN]</a></p><!--XXX [GREGORIAN] should point to <dd id="refsGREGORIAN">[GREGORIAN]</dd> <dd>(Non-normative) <cite>Inter Gravissimas</cite>, A. Lilius, C. Clavius. Gregory XIII Papal Bulls, February 1582.</dd> --><p>A string is a <dfn id=valid-global-date-and-time-string>valid global date and time string</dfn> @@ -2604,9 +2604,9 @@ <li>To unambiguously identify a moment in time prior to the introduction of the Gregorian calendar, the date has to be first converted to the Gregorian calendar from the calendar in use at - the time (e.g. from the Julian calendar). The date of Nero's - birth is the 15th of December 37, in the Julian Calendar, which - is the 13th of December 37 in the Gregorian Calendar.</li> <!-- + the time (e.g. from the Julian calendar). The date of Nero's birth + is the 15th of December 37, in the Julian Calendar, which is the + 13th of December 37 in the proleptic Gregorian Calendar.</li> <!-- XXX this might not be true. I can't find a reference that gives his birthday with an explicit statement about the calendar being used. However, it seems unlikely that it would be given in the @@ -2725,15 +2725,15 @@ 1970. Consecutive weeks are numbered sequentially. The week before the number 1 week in a week-year is the last week in the previous week-year, and vice versa. <a href=#references>[GREGORIAN]</a><p>A week-year with a number <var title="">year</var> that - corresponds to a year <var title="">year</var> in the Gregorian - calendar that has a Thursday as its first day (January 1st), and a - week-year <var title="">year</var> where <var title="">year</var> is - a number divisible by 400, or a number divisible by 4 but not by - 100, has 53 weeks. All other week-years have 52 weeks.<p>The <dfn id=week-number-of-the-last-day>week number of the last day</dfn> of a week-year with 53 + corresponds to a year <var title="">year</var> in the proleptic + Gregorian calendar that has a Thursday as its first day (January + 1st), and a week-year <var title="">year</var> where <var title="">year</var> is a number divisible by 400, or a number + divisible by 4 but not by 100, has 53 weeks. All other week-years + have 52 weeks.<p>The <dfn id=week-number-of-the-last-day>week number of the last day</dfn> of a week-year with 53 weeks is 53; the week number of the last day of a week-year with 52 weeks is 52.<p class=note>The week-year number of a particular day can be different than the number of the year that contains that day in the - Gregorian calendar. The first week in a week-year <var title="">year</var> is the week that contains the first Thursday of + proleptic Gregorian calendar. The first week in a week-year <var title="">year</var> is the week that contains the first Thursday of the Gregorian year <var title="">year</var>.<p>A string is a <dfn id=valid-week-string>valid week string</dfn> representing a week-year <var title="">year</var> and week <var title="">week</var> if it consists of the following components in the given order:<ol><li>Four or more <a href=#concept-datetime-digit title=concept-datetime-digit>digits</a>, representing <var title="">year</var>, where <var title="">year</var> > 0</li>
Received on Tuesday, 25 November 2008 11:05:52 UTC