diff options
author | Sebastian <sebasjm@gmail.com> | 2021-08-23 16:46:06 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-08-23 16:48:30 -0300 |
commit | 38acabfa6089ab8ac469c12b5f55022fb96935e5 (patch) | |
tree | 453dbf70000cc5e338b06201af1eaca8343f8f73 /date-fns/docs/Day.js | |
parent | f26125e039143b92dc0d84e7775f508ab0cdcaa8 (diff) | |
download | node-vendor-master.tar.gz node-vendor-master.tar.bz2 node-vendor-master.zip |
Diffstat (limited to 'date-fns/docs/Day.js')
-rw-r--r-- | date-fns/docs/Day.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/date-fns/docs/Day.js b/date-fns/docs/Day.js new file mode 100644 index 0000000..42df02d --- /dev/null +++ b/date-fns/docs/Day.js @@ -0,0 +1,15 @@ +/** + * @category Types + * @summary Day type + * + * @description + * The day of the week type alias (`0 | 1 | 2 | 3 | 4 | 5 | 6`). Unlike the date + * (the number of days since the beginningof the month), which starts with 1 + * and is dynamic (can go up to 28, 30, or 31), the day starts with 0 and static + * (always ends at 6). Look at it as an index in an array where Sunday is + * the first element, and Saturday is the last. + * + * @typedef {0 | 1 | 2 | 3 | 4 | 5 | 6} Day + */ +const Day = 0 +module.exports = Day |