ruby-changes:19894
From: tadf <ko1@a...>
Date: Mon, 6 Jun 2011 21:41:41 +0900 (JST)
Subject: [ruby-changes:19894] tadf:r31941 (trunk): * ext/date/date_core.c: added notes.
tadf 2011-06-06 21:38:15 +0900 (Mon, 06 Jun 2011) New Revision: 31941 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31941 Log: * ext/date/date_core.c: added notes. Modified files: trunk/ChangeLog trunk/ext/date/date_core.c Index: ChangeLog =================================================================== --- ChangeLog (revision 31940) +++ ChangeLog (revision 31941) @@ -1,3 +1,7 @@ +Mon Jun 6 21:37:45 2011 Tadayoshi Funaba <tadf@d...> + + * ext/date/date_core.c: added notes. + Mon Jun 6 21:02:12 2011 Tadayoshi Funaba <tadf@d...> * ext/date/date_core.c: flattened format to strftimev. Index: ext/date/date_core.c =================================================================== --- ext/date/date_core.c (revision 31940) +++ ext/date/date_core.c (revision 31941) @@ -8433,6 +8433,10 @@ * Note: in the Julian Calendar, New Years Day was March 25. The * Date class does not follow this convention. * + * Note: The Julian Day Number of the Day of Calendar Reform should be + * 2298874 to 2426355 (approx. 1582-1930 CE) or -/+oo (proleptic + * Julian/Gregorain Calendar). + * * === Offsets * * DateTime objects support a simple representation @@ -8442,8 +8446,7 @@ * how much local time is later (or earlier) than UTC. * As you travel east, the offset increases until you * reach the dateline in the middle of the Pacific Ocean; - * as you travel west, the offset decreases. This offset - * is abbreviated as +offset+ in the Date class. + * as you travel west, the offset decreases. * * This simple representation of offsets does not take * into account the common practice of Daylight Savings @@ -8457,6 +8460,8 @@ * The Date class does not support offsets, in that * there is no way to create a Date object with non-utc offset. * + * Note: Offset should be -1 to 1 (-24:00-+24:00). + * * == Examples of use * * === Print out the date of every Sunday between two dates. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/