code: function areSimpleDurationsEquivalent(value1, value2) {
      return moment.duration(value1.numValue, value1.unit).asSeconds() === moment.duration(value2.numValue, value2.unit).asSeconds();
  }
docs: Returns whether two simple duration objects (containing a numValue and unit) are equivalent. For example, { numValue: 1, unit: "days" } is equivalent to { numValue: 24, unit: "hours" }.