aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/docs/Interval.js
blob: 15347b6b1e8a740a7b6145ae636b51948f9df04e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 * @category Types
 * @summary An object that combines two dates to represent the time interval.
 *
 * @description
 * An object that combines two dates to represent the time interval.
 *
 * @typedef {Object} Interval
 * @property {Date|Number} start - the start of the interval
 * @property {Date|Number} end - the end of the interval
 * @throws {RangeError} The start of an interval cannot be after its end
 * @throws {RangeError} Date in interval cannot be `Invalid Date`
 */
var Interval = {}

module.exports = Interval
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage