Lines Matching refs:output

427     var output = this._calendar[key] || this._calendar['sameElse'];
428 return isFunction(output) ? output.call(mom, now) : output;
486 var output = this._relativeTime[string];
487 return (isFunction(output)) ?
488 output(number, withoutSuffix, string, isFuture) :
489 output.replace(/%d/i, number);
492 function pastFuture (diff, output) { argument
494 return isFunction(format) ? format(output) : format.replace(/%s/i, output);
3177 …var output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[f…
3179 return this.format(output || this.localeData().calendar(format, this, createLocal(now)));
3244 delta, output;
3261 case 'year': output = monthDiff(this, that) / 12; break;
3262 case 'month': output = monthDiff(this, that); break;
3263 case 'quarter': output = monthDiff(this, that) / 3; break;
3264 case 'second': output = (this - that) / 1e3; break; // 1000
3265 case 'minute': output = (this - that) / 6e4; break; // 1000 * 60
3266 case 'hour': output = (this - that) / 36e5; break; // 1000 * 60 * 60
3267 … case 'day': output = (this - that - zoneDelta) / 864e5; break; // 1000 * 60 * 60 * 24, negate dst
3268 …case 'week': output = (this - that - zoneDelta) / 6048e5; break; // 1000 * 60 * 60 * 24 * 7, negat…
3269 default: output = this - that;
3272 return asFloat ? output : absFloor(output);
3351 var output = formatMoment(this, inputString);
3352 return this.localeData().postformat(output);
4079 output = (toInt(number % 100 / 10) === 1) ? 'th' :
4083 return number + output;
4356 var output = relativeTime$1(this, !withSuffix, locale);
4359 output = locale.pastFuture(+this, output);
4362 return locale.postformat(output);