Lines Matching refs:month
339 // Compute number of days given a year, month, date.
340 // Note that month and date can lie outside the normal range.
345 function MakeDay(year, month, date) {
346 if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) return $NaN;
350 month = TO_INTEGER_MAP_MINUS_ZERO(month);
354 month < kMinMonth || month > kMaxMonth ||
359 // Now we rely on year, month and date being SMIs.
360 return %DateMakeDay(year, month, date);
398 %SetCode($Date, function(year, month, date, hours, minutes, seconds, ms) {
443 month = ToNumber(month);
451 var day = MakeDay(year, month, date);
551 function DateUTC(year, month, date, hours, minutes, seconds, ms) {
553 month = ToNumber(month);
562 var day = MakeDay(year, month, date);
884 function DateSetMonth(month, date) {
886 month = ToNumber(month);
888 var day = MakeDay(YearFromTime(t), month, date);
894 function DateSetUTCMonth(month, date) {
896 month = ToNumber(month);
898 var day = MakeDay(YearFromTime(t), month, date);
904 function DateSetFullYear(year, month, date) {
909 month = argc < 2 ? MonthFromTime(t) : ToNumber(month);
911 var day = MakeDay(year, month, date);
917 function DateSetUTCFullYear(year, month, date) {
922 month = argc < 2 ? MonthFromTime(t) : ToNumber(month);
924 var day = MakeDay(year, month, date);