Lines Matching refs:test
631 while (i >= 0 && localFormattingTokens.test(format)) {
940 …this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m…
950 this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];
1022 if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) {
1024 } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) {
1026 } else if (!strict && this._monthsParse[i].test(monthName)) {
1043 if (/^\d+$/.test(value)) {
1384 this._weekdays[this._weekdays.isFormat.test(format) ? 'format' : 'standalone'][m.day()];
1489 if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) {
1491 } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) {
1493 } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) {
1495 } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {