Skip to content

Commit e1525ab

Browse files
First spike at incrementing algorithm
0 parents  commit e1525ab

9 files changed

+481
-0
lines changed

.gitignore

+202
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
2+
# Created by https://www.toptal.com/developers/gitignore/api/node,yarn,windows,linux,macos
3+
# Edit at https://www.toptal.com/developers/gitignore?templates=node,yarn,windows,linux,macos
4+
5+
### Linux ###
6+
*~
7+
8+
# temporary files which can be created if a process still has a handle open of a deleted file
9+
.fuse_hidden*
10+
11+
# KDE directory preferences
12+
.directory
13+
14+
# Linux trash folder which might appear on any partition or disk
15+
.Trash-*
16+
17+
# .nfs files are created when an open file is removed but is still being accessed
18+
.nfs*
19+
20+
### macOS ###
21+
# General
22+
.DS_Store
23+
.AppleDouble
24+
.LSOverride
25+
26+
# Icon must end with two \r
27+
Icon
28+
29+
30+
# Thumbnails
31+
._*
32+
33+
# Files that might appear in the root of a volume
34+
.DocumentRevisions-V100
35+
.fseventsd
36+
.Spotlight-V100
37+
.TemporaryItems
38+
.Trashes
39+
.VolumeIcon.icns
40+
.com.apple.timemachine.donotpresent
41+
42+
# Directories potentially created on remote AFP share
43+
.AppleDB
44+
.AppleDesktop
45+
Network Trash Folder
46+
Temporary Items
47+
.apdisk
48+
49+
### Node ###
50+
# Logs
51+
logs
52+
*.log
53+
npm-debug.log*
54+
yarn-debug.log*
55+
yarn-error.log*
56+
lerna-debug.log*
57+
58+
# Diagnostic reports (https://nodejs.org/api/report.html)
59+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
60+
61+
# Runtime data
62+
pids
63+
*.pid
64+
*.seed
65+
*.pid.lock
66+
67+
# Directory for instrumented libs generated by jscoverage/JSCover
68+
lib-cov
69+
70+
# Coverage directory used by tools like istanbul
71+
coverage
72+
*.lcov
73+
74+
# nyc test coverage
75+
.nyc_output
76+
77+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
78+
.grunt
79+
80+
# Bower dependency directory (https://bower.io/)
81+
bower_components
82+
83+
# node-waf configuration
84+
.lock-wscript
85+
86+
# Compiled binary addons (https://nodejs.org/api/addons.html)
87+
build/Release
88+
89+
# Dependency directories
90+
node_modules/
91+
jspm_packages/
92+
93+
# TypeScript v1 declaration files
94+
typings/
95+
96+
# TypeScript cache
97+
*.tsbuildinfo
98+
99+
# Optional npm cache directory
100+
.npm
101+
102+
# Optional eslint cache
103+
.eslintcache
104+
105+
# Microbundle cache
106+
.rpt2_cache/
107+
.rts2_cache_cjs/
108+
.rts2_cache_es/
109+
.rts2_cache_umd/
110+
111+
# Optional REPL history
112+
.node_repl_history
113+
114+
# Output of 'npm pack'
115+
*.tgz
116+
117+
# Yarn Integrity file
118+
.yarn-integrity
119+
120+
# dotenv environment variables file
121+
.env
122+
.env.test
123+
.env*.local
124+
125+
# parcel-bundler cache (https://parceljs.org/)
126+
.cache
127+
.parcel-cache
128+
129+
# Next.js build output
130+
.next
131+
132+
# Nuxt.js build / generate output
133+
.nuxt
134+
dist
135+
136+
# Gatsby files
137+
.cache/
138+
# Comment in the public line in if your project uses Gatsby and not Next.js
139+
# https://nextjs.org/blog/next-9-1#public-directory-support
140+
# public
141+
142+
# vuepress build output
143+
.vuepress/dist
144+
145+
# Serverless directories
146+
.serverless/
147+
148+
# FuseBox cache
149+
.fusebox/
150+
151+
# DynamoDB Local files
152+
.dynamodb/
153+
154+
# TernJS port file
155+
.tern-port
156+
157+
# Stores VSCode versions used for testing VSCode extensions
158+
.vscode-test
159+
160+
### Windows ###
161+
# Windows thumbnail cache files
162+
Thumbs.db
163+
Thumbs.db:encryptable
164+
ehthumbs.db
165+
ehthumbs_vista.db
166+
167+
# Dump file
168+
*.stackdump
169+
170+
# Folder config file
171+
[Dd]esktop.ini
172+
173+
# Recycle Bin used on file shares
174+
$RECYCLE.BIN/
175+
176+
# Windows Installer files
177+
*.cab
178+
*.msi
179+
*.msix
180+
*.msm
181+
*.msp
182+
183+
# Windows shortcuts
184+
*.lnk
185+
186+
### yarn ###
187+
# https://yarnpkg.com/advanced/qa#which-files-should-be-gitignored
188+
189+
.yarn/*
190+
!.yarn/releases
191+
!.yarn/plugins
192+
!.yarn/sdks
193+
!.yarn/versions
194+
195+
# if you are NOT using Zero-installs, then:
196+
# comment the following lines
197+
!.yarn/cache
198+
199+
# and uncomment the following lines
200+
# .pnp.*
201+
202+
# End of https://www.toptal.com/developers/gitignore/api/node,yarn,windows,linux,macos

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v14.15.0

index.d.ts

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/** @name Schedule
2+
* @description Any field which is not defined or empty is assumed to be unconstrained.
3+
*/
4+
export declare type Schedule = {
5+
second?: number[];
6+
minute?: number[];
7+
hour?: number[];
8+
dayOfMonth?: number[];
9+
month?: number[];
10+
dayOfWeek?: number[];
11+
year?: number[];
12+
};
13+
export declare const next: (schedule: Schedule | string, from: Date) => Date | undefined;

index.js

+102
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)