(year, month)
| 2166 | // Internal: Calculates the number of days between the Unix epoch and the |
| 2167 | // first day of the given month. |
| 2168 | var getDay = function (year, month) { |
| 2169 | return Months[month] + 365 * (year - 1970) + floor((year - 1969 + (month = +(month > 1))) / 4) - floor((year - 1901 + month) / 100) + floor((year - 1601 + month) / 400); |
| 2170 | }; |
| 2171 | } |
| 2172 | |
| 2173 | // Internal: Determines if a property is a direct property of the given |