MCPcopy Index your code
hub / github.com/simstudioai/sim / isSameDay

Function isSameDay

packages/emcn/src/components/calendar/calendar.tsx:106–112  ·  view source on GitHub ↗
(a: Date, b: Date)

Source from the content-addressed store, hash-verified

104}
105
106function isSameDay(a: Date, b: Date): boolean {
107 return (
108 a.getFullYear() === b.getFullYear() &&
109 a.getMonth() === b.getMonth() &&
110 a.getDate() === b.getDate()
111 )
112}
113
114function isStrictlyWithin(date: Date, start: Date, end: Date): boolean {
115 const time = date.getTime()

Callers 4

SingleCalendarViewFunction · 0.85
RangeCalendarViewFunction · 0.85
toCellFunction · 0.85
useCalendarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected