MCPcopy
hub / github.com/CodebuffAI/codebuff / addHours

Function addHours

packages/billing/src/subscription.ts:116–118  ·  view source on GitHub ↗
(date: Date, hours: number)

Source from the content-addressed store, hash-verified

114}
115
116function addHours(date: Date, hours: number): Date {
117 return new Date(date.getTime() + hours * 60 * 60 * 1000)
118}
119
120/**
121 * Get the start of the current billing-aligned week.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected