Two modes
The node works out what to do from how it is wired:- Compose — set From or To (either the inline field or the port) and the node builds a range from them. Whatever is on In is ignored.
- Decompose — leave both bounds empty and unwired, and the node reads a range from In instead.
Inputs
- In — in decompose mode, the range to take apart. Ignored when either bound is set.
- From — the start of the range. Optional.
- To — the end of the range. Optional.
Outputs
- Range — the range itself.
- From — its start bound, or
nilwhen open. - To — its end bound, or
nilwhen open.
Tips
- Leave one bound empty for an open-ended period — a From of
2024-01-01with no To means “from 2024-01-01 onwards”, which is how an ongoing employment or an unclosed absence is usually shaped. - Bounds keep the precision they arrive with. Wire two datetimes to get an intra-day window (a shift, a punch window); the inline fields are whole days.
- When both bounds end up empty the node emits nothing rather than a range that would match every date.
- When From carries a timeline of several dates, To is paired to each entry by its valid-from, and one range is emitted per entry.