Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

17 linhas
528 B

  1. /**
  2. * @category Types
  3. * @summary An object that combines two dates to represent the time interval.
  4. *
  5. * @description
  6. * An object that combines two dates to represent the time interval.
  7. *
  8. * @typedef {Object} Interval
  9. * @property {Date|Number} start - the start of the interval
  10. * @property {Date|Number} end - the end of the interval
  11. * @throws {RangeError} The start of an interval cannot be after its end
  12. * @throws {RangeError} Date in interval cannot be `Invalid Date`
  13. */
  14. var Interval = {}
  15. module.exports = Interval