summaryrefslogtreecommitdiff
path: root/date-fns/docs/Duration.js
blob: 95702b3e85a6cec0825b744b5cdc9ced8d8f4de4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
 * @category Types
 * @summary Duration object
 *
 * @description
 * Duration object.
 *
 * @typedef {Object} Duration
 *
 * @property {number} [years]
 * @property {number} [months]
 * @property {number} [weeks]
 * @property {number} [days]
 * @property {number} [hours]
 * @property {number} [minutes]
 * @property {number} [seconds]
 */
const Duration = {}
module.exports = Duration