MCPcopy Create free account
hub / github.com/PolymathNetwork/polymath-core / getEndOfFebruary

Function getEndOfFebruary

test/x_scheduled_checkpoints.js:593–595  ·  view source on GitHub ↗
(startTime, days)

Source from the content-addressed store, hash-verified

591 }
592
593 function getEndOfFebruary(startTime, days) {
594 return setDate(addYears(startTime, 1), 1, days); //addMonths(startTime, interval * 2)
595 }
596
597 it("Check monthly checkpoints -- February 28/29", async() => {
598 await increaseTime(duration.days(31 * interval));

Callers 1

Calls 2

setDateFunction · 0.85
addYearsFunction · 0.85

Tested by

no test coverage detected