MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / addDays

Function addDays

packages/billing/src/subscription.ts:112–114  ·  view source on GitHub ↗
(date: Date, days: number)

Source from the content-addressed store, hash-verified

110}
111
112function addDays(date: Date, days: number): Date {
113 return new Date(date.getTime() + days * 24 * 60 * 60 * 1000)
114}
115
116function addHours(date: Date, hours: number): Date {
117 return new Date(date.getTime() + hours * 60 * 60 * 1000)

Callers 2

getWeekStartFunction · 0.85
getWeekEndFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected