MCPcopy
hub / github.com/node-cron/node-cron / createWalker

Function createWalker

src/time/matcher-walker.test.ts:5–8  ·  view source on GitHub ↗
(expression: string, baseDate: Date, timezone?: string)

Source from the content-addressed store, hash-verified

3import { TimeMatcher } from './time-matcher';
4
5function createWalker(expression: string, baseDate: Date, timezone?: string) {
6 const tm = new TimeMatcher(expression, timezone);
7 return new MatcherWalker(tm, baseDate, timezone);
8}
9
10describe('matcher-walker', function(){
11 it('get next second', function(){

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected