Circle V2 API Docs
    Preparing search index...

    Function locateInWindow

    • Where instant sits against the half-open window [start, end); outside it, by whole days to the nearer edge.

      Parameters

      • instant: Date
      • window: { end: Date; start: Date }

      Returns WindowPosition