Turn a DateIntent into a concrete facility-local window, anchored to referenceInstant.
All arithmetic runs in timeZone (via date-fns v4's { in: tz() } context) so
a Central-facility Saturday never renders as Sunday. Weeks are Mon–Sun.
Returns null for intents this resolver can't ground on referenceInstant alone
(since_event, none, unresolvable) — those are handled upstream.
Turn a
DateIntentinto a concrete facility-local window, anchored toreferenceInstant. All arithmetic runs intimeZone(via date-fns v4's{ in: tz() }context) so a Central-facility Saturday never renders as Sunday. Weeks are Mon–Sun.Returns null for intents this resolver can't ground on
referenceInstantalone (since_event,none,unresolvable) — those are handled upstream.