Lines Matching refs:months

894     return this.localeData().months(this, format);
963 this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();
1014 … this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i');
1018 regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');
1124 longPieces.push(this.months(mom, ''));
1125 mixedPieces.push(this.months(mom, ''));
1789 months: defaultLocaleMonths,
2735 months = normalizedInput.month || 0,
2757 this._months = +months +
3057 duration.M = diffRes.months;
3082 var res = {milliseconds: 0, months: 0}; property in positiveMomentsDifference.res
3084 res.months = other.month() - base.month() +
3086 if (base.clone().add(res.months, 'M').isAfter(other)) {
3087 --res.months;
3090 res.milliseconds = +other - +(base.clone().add(res.months, 'M'));
3098 return {milliseconds: 0, months: 0};
3107 res.months = -res.months;
3134 months = absRound(duration._months);
3143 if (months) {
3144 setMonth(mom, get(mom, 'Month') + months * isAdding);
3153 hooks.updateOffset(mom, days || months);
3494 months: m.month(),
3930 proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth);
3960 proto$1.months = localeMonths;
4104 data.months = mathAbs(data.months);
4141 var months = this._months;
4147 if (!((milliseconds >= 0 && days >= 0 && months >= 0) ||
4148 (milliseconds <= 0 && days <= 0 && months <= 0))) {
4149 milliseconds += absCeil(monthsToDays(months) + days) * 864e5;
4151 months = 0;
4171 months += monthsFromDays;
4175 years = absFloor(months / 12);
4176 months %= 12;
4179 data.months = months;
4191 function monthsToDays (months) { argument
4193 return months * 146097 / 4800;
4201 var months;
4208 months = this._months + daysToMonths(days);
4209 return units === 'month' ? months : months / 12;
4274 var months = makeGetter('months');
4302 var months = round(duration.as('M'));
4313 months <= 1 && ['M'] ||
4314 months < thresholds.M && ['MM', months] ||
4385 var months = abs$1(this._months);
4395 years = absFloor(months / 12);
4396 months %= 12;
4401 var M = months;
4454 proto$2.months = months;
4498 hooks.months = listMonths;