Tempo API
    Preparing search index...

    Function resolveRangeDiff

    Term Plugin API

    Exports the framework utilities and types required for authoring custom Term plugins. This barrel is utilized by external developers building natural-language components.

    • Resolves the difference between two Tempo instances in terms of a range-based Term plugin. (e.g. t1.until(t2, '#qtr'), t2.since(t1, '#szn'))

      Parameters

      • termObj: any

        The term plugin instance providing ranges via define()

      • other: Tempo

        The target Tempo instance

      • _unit: string

        The unit string (e.g. "#qtr")

      • tempo: Tempo

        The origin Tempo instance

      Returns number | undefined

      The signed count of ranges between tempo and other, or undefined