MCPcopy Create free account
hub / github.com/Effect-TS/effect / endOfDay

Function endOfDay

packages/effect/src/internal/schedule.ts:1794–1797  ·  view source on GitHub ↗
(now: number)

Source from the content-addressed store, hash-verified

1792
1793/** @internal */
1794export const endOfDay = (now: number): number => {
1795 const date = new Date(beginningOfDay(now))
1796 return date.setDate(date.getDate() + 1)
1797}
1798
1799/** @internal */
1800export const nextDay = (now: number, dayOfWeek: number, initial: boolean): number => {

Callers 2

dayOfMonthFunction · 0.85
dayOfWeekFunction · 0.85

Calls 1

beginningOfDayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…