Lines Matching refs:other
9718 var other = createLocal.apply(null, arguments);
9719 if (this.isValid() && other.isValid()) {
9720 return other < this ? this : other;
9730 var other = createLocal.apply(null, arguments);
9731 if (this.isValid() && other.isValid()) {
9732 return other > this ? this : other;
10057 var other = c._isUTC ? createUTC(c._a) : createLocal(c._a);
10059 compareArrays(c._a, other.toArray()) > 0;
10160 function positiveMomentsDifference(base, other) {
10163 res.months = other.month() - base.month() +
10164 (other.year() - base.year()) * 12;
10165 if (base.clone().add(res.months, 'M').isAfter(other)) {
10169 res.milliseconds = +other - +(base.clone().add(res.months, 'M'));
10174 function momentsDifference(base, other) {
10176 if (!(base.isValid() && other.isValid())) {
10180 other = cloneWithOffset(other, base);
10181 if (base.isBefore(other)) {
10182 res = positiveMomentsDifference(base, other);
10184 res = positiveMomentsDifference(other, base);
11189 var other = createDuration(input, value);
11191 duration._milliseconds += direction * other._milliseconds;
11192 duration._days += direction * other._days;
11193 duration._months += direction * other._months;