Lines Matching refs:mom

7548 function calendar (key, mom, now) {
7550 return isFunction(output) ? output.call(mom, now) : output;
7676 function get (mom, unit) {
7677 return mom.isValid() ?
7678 mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN;
7681 function set$1 (mom, unit, value) {
7682 if (mom.isValid()) {
7683 mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);
7998 var i, ii, mom, llc = monthName.toLocaleLowerCase();
8005 mom = createUTC([2000, i]);
8006 this._shortMonthsParse[i] = this.monthsShort(mom, '').toLocaleLowerCase();
8007 this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();
8039 var i, mom, regex;
8056 mom = createUTC([2000, i]);
8058 … this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i');
8059 …this._shortMonthsParse[i] = new RegExp('^' + this.monthsShort(mom, '').replace('.', '') + '$', 'i'…
8062 regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');
8078 function setMonth (mom, value) {
8081 if (!mom.isValid()) {
8083 return mom;
8090 value = mom.localeData().monthsParse(value);
8093 return mom;
8098 dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));
8099 mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);
8100 return mom;
8163 i, mom;
8166 mom = createUTC([2000, i]);
8167 shortPieces.push(this.monthsShort(mom, ''));
8168 longPieces.push(this.months(mom, ''));
8169 mixedPieces.push(this.months(mom, ''));
8170 mixedPieces.push(this.monthsShort(mom, ''));
8313 function weekOfYear(mom, dow, doy) {
8314 var weekOffset = firstWeekOffset(mom.year(), dow, doy),
8315 week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,
8319 resYear = mom.year() - 1;
8321 } else if (week > weeksInYear(mom.year(), dow, doy)) {
8322 resWeek = week - weeksInYear(mom.year(), dow, doy);
8323 resYear = mom.year() + 1;
8325 resYear = mom.year();
8371 function localeWeek (mom) {
8372 return weekOfYear(mom, this._week.dow, this._week.doy).week;
8508 var i, ii, mom, llc = weekdayName.toLocaleLowerCase();
8515 mom = createUTC([2000, 1]).day(i);
8516 this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase();
8517 this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase();
8518 this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();
8572 var i, mom, regex;
8588 mom = createUTC([2000, 1]).day(i);
8590 …this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\.?') + '$', 'i…
8591 …this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\.?') + '…
8592 …this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\.?') + '$', …
8595 …regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMi…
8718 i, mom, minp, shortp, longp;
8721 mom = createUTC([2000, 1]).day(i);
8722 minp = this.weekdaysMin(mom, '');
8723 shortp = this.weekdaysShort(mom, '');
8724 longp = this.weekdays(mom, '');
10210 function addSubtract (mom, duration, isAdding, updateOffset) {
10215 if (!mom.isValid()) {
10223 mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);
10226 set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);
10229 setMonth(mom, get(mom, 'Month') + months * isAdding);
10232 hooks.updateOffset(mom, days || months);