Lines Matching refs:b
99 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
100 function (d, b) { for (var p in b)
101 if (b.hasOwnProperty(p))
102 d[p] = b[p]; };
103 exports.__extends = function (d, b) {
104 extendStatics(d, b);
106 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
506 function flexibleCompare(a, b) {
507 if (!a && !b) {
510 if (b == null) {
516 if ($.type(a) === 'string' || $.type(b) === 'string') {
517 return String(a).localeCompare(String(b));
519 return a - b;
528 function diffDayTime(a, b) {
530 days: a.clone().stripTime().diff(b.clone().stripTime(), 'days'),
531 ms: a.time() - b.time() // time-of-day from day start. disregards timezone
536 function diffDay(a, b) {
538 days: a.clone().stripTime().diff(b.clone().stripTime(), 'days')
543 function diffByUnit(a, b, unit) {
544 return moment.duration(Math.round(a.diff(b, unit, true)), // returnFloat=true
843 function compareNumbers(a, b) {
844 return a - b;
3721 InteractiveDateComponent.prototype.diffDates = function (a, b) {
3723 return util_1.diffByUnit(a, b, this.largeUnit);
3726 return util_1.diffDayTime(a, b);
13905 function compareDaySegCols(a, b) {
13906 return a.leftCol - b.leftCol;