Lines Matching refs:month

817 …     if (unit === 'FullYear' && isLeapYear(mom.year()) && mom.month() === 1 && mom.date() === 29) {
818 …m._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value, mom.month(), daysInMonth(value, mom.month())…
874 function daysInMonth(year, month) { argument
875 if (isNaN(year) || isNaN(month)) {
878 var modMonth = mod(month, 12);
879 year += (month - modMonth) / 12;
886 return this.month() + 1;
921 var month = config._locale.monthsParse(input, token, config._strict);
923 if (month != null) {
924 array[MONTH] = month;
939 return isArray(this._months) ? this._months[m.month()] :
940 …ths[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()];
949 return isArray(this._monthsShort) ? this._monthsShort[m.month()] :
950 this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];
1070 return daysInMonth(this.year(), this.month());
2534 …config._a = map([i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond], fun…
2735 months = normalizedInput.month || 0,
2962 this.utcOffset() > this.clone().month(0).utcOffset() ||
2963 this.utcOffset() > this.clone().month(5).utcOffset()
3084 res.months = other.month() - base.month() +
3277 var wholeMonthDiff = ((b.year() - a.year()) * 12) + (b.month() - a.month()),
3421 this.month(0);
3453 this.month(Math.floor(this.month() / 3) * 3);
3487 return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()];
3494 months: m.month(),
3622 this.month(date.getUTCMonth());
3649 …return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month
3884 proto.month = getSetMonth;