| Index: src/date.js
|
| ===================================================================
|
| --- src/date.js (revision 6800)
|
| +++ src/date.js (working copy)
|
| @@ -81,15 +81,10 @@
|
|
|
|
|
| function InLeapYear(time) {
|
| - return DaysInYear(YearFromTime(time)) == 366 ? 1 : 0;
|
| + return DaysInYear(YearFromTime(time)) - 365; // Returns 1 or 0.
|
| }
|
|
|
|
|
| -function DayWithinYear(time) {
|
| - return DAY(time) - DayFromYear(YearFromTime(time));
|
| -}
|
| -
|
| -
|
| // ECMA 262 - 15.9.1.9
|
| function EquivalentYear(year) {
|
| // Returns an equivalent year in the range [2008-2035] matching
|
| @@ -605,7 +600,7 @@
|
|
|
| // ECMA 262 - 15.9.5.5
|
| function DateToLocaleString() {
|
| - return DateToString.call(this);
|
| + return %_CallFunction(this, DateToString);
|
| }
|
|
|
|
|
| @@ -973,7 +968,7 @@
|
| // do that either. Instead, we create a new function whose name
|
| // property will return toGMTString.
|
| function DateToGMTString() {
|
| - return DateToUTCString.call(this);
|
| + return %_CallFunction(this, DateToUTCString);
|
| }
|
|
|
|
|
|
|
| Property changes on: src/date.js
|
| ___________________________________________________________________
|
| Modified: svn:mergeinfo
|
| Merged /branches/bleeding_edge/src/date.js:r6169-6800
|
|
|
|
|