Description
Return overlap duration and its share of each separate interval.
Cross-source records often use different labels, time spans, and support conventions. Exact equality and overlap checks describe the supplied metadata; they do not prove that sources measure the same social or geographic concept.
Return overlap duration and its share of each separate interval.
When to use this tool
Use Country Comparison Fiscal Year Overlap when you need a literal source comparison or coverage diagnostic.
How to use the tool and how it works
- Enter firstStart, firstEnd, secondStart, secondEnd. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read overlap, firstCoverage, secondCoverage. Use the output convention below.
Require two positive-length fiscal-period coordinate intervals. Return overlap duration and its share of each separate interval.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstStart | First Start | Required. Finite number. |
| firstEnd | First End | Required. Finite number. |
| secondStart | Second Start | Required. Finite number. |
| secondEnd | Second End | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| overlap | Overlap | Required. Finite number. |
| firstCoverage | First Coverage | Required. Finite number. |
| secondCoverage | Second Coverage | Required. Finite number. |
{
"input": {
"firstStart": 0,
"firstEnd": 12,
"secondStart": 3,
"secondEnd": 15
},
"output": {
"overlap": 9,
"firstCoverage": 0.75,
"secondCoverage": 0.75
}
} Limitations and assumptions
- Endpoints use one numeric day or time basis without inclusive-day addition; overlap does not make fiscal definitions, currencies, price years, or indicators comparable.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Inspect the original source definitions and collection methods. Harmonize conceptual scope and timing before treating matching labels or overlapping records as comparable evidence.
References
Similar or alternative tools
- Country Series Valid Period Share
Count expected records and the valid expected subset, returning their ratio or zero with defined false for no expected records.
- World Region Unassigned Country Count
Return IDs whose assignment equals unassignedToken and count all other assignment strings as assigned.