aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/docs/Day.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/date-fns/docs/Day.js')
-rw-r--r--node_modules/date-fns/docs/Day.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/node_modules/date-fns/docs/Day.js b/node_modules/date-fns/docs/Day.js
new file mode 100644
index 0000000..42df02d
--- /dev/null
+++ b/node_modules/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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage