Lines Matching refs:to
190 function copyConfig(to, from) { argument
194 to._isAMomentObject = from._isAMomentObject;
197 to._i = from._i;
200 to._f = from._f;
203 to._l = from._l;
206 to._strict = from._strict;
209 to._tzm = from._tzm;
212 to._isUTC = from._isUTC;
215 to._offset = from._offset;
218 to._pf = getParsingFlags(from);
221 to._locale = from._locale;
229 to[prop] = val;
234 return to;
3053 diffRes = momentsDifference(createLocal(duration.from), createLocal(duration.to));
3212 function isBetween (from, to, units, inclusivity) { argument
3215 (inclusivity[1] === ')' ? this.isBefore(to, units) : !this.isAfter(to, units));
3359 … return createDuration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix);
3369 function to (time, withoutSuffix) { function
3373 … return createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix);
3380 return this.to(createLocal(), withoutSuffix);
3841 proto.to = to;