MCPcopy Index your code
hub / github.com/Effect-TS/effect / if

Function if

packages/effect/src/internal/dateTime.ts:797–799  ·  view source on GitHub ↗
(disambiguation === "earlier" || disambiguation === "compatible")

Source from the content-addressed store, hash-verified

795 // The wall clock time is in the earlier offset, so we use that
796 if (currentBeforeOffset === beforeOffset) {
797 if (disambiguation === "earlier" || disambiguation === "compatible") {
798 return makeZonedProto(adjustedMillis - beforeOffset, zone)
799 }
800 const laterOffset = calculateNamedOffset(
801 adjustedMillis - beforeOffset + transitionMillis,
802 adjustedMillis + transitionMillis,

Callers 1

dateTime.tsFile · 0.85

Calls 1

makeZonedProtoFunction · 0.85

Tested by

no test coverage detected