Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean
Examples: 1 come from the library's tests; 13 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzTimeLine("2025-10-22", "2025-10-22"). 73 methods have none yet. Examples run on 2026-10-03 20:34 inside the library at commit 0e72e2e2c.
Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
(no comment in the source: the name reads as a sentence) content 1 examples runo1 = new stzTimeLine(:From = "2024-10-10", :To = "2024-10-22 16:40:00")
? @@NL(o1.Content()) # Time is added automatically to "2024-10-10"
#--> [
#--> [ "start", "2024-10-10 00:00:00" ],
#--> [ "end", "2024-10-22 16:40:00" ],
#--> [ "points", [ ] ],
#--> ...
library testno extension Start
Boundary Management
also written: StartDatecomposed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22")
? o1.Start()
#--> 2025-10-22 00:00:00composed from the signature, run for this page QCSXTZZZIBWUEnd_
(no comment in the source: the name reads as a sentence) end_also written: Endd · EndDatecomposed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22")
? o1.End_()
#--> 2025-10-22 23:59:59composed from the signature, run for this page QCSXTZZZIBWU EndQ
(no comment in the source: the name reads as a sentence) end qno extension
SetStart
(no comment in the source: the name reads as a sentence) set startQCSXTZZZIBWU
SetEnd
(no comment in the source: the name reads as a sentence) set endQCSXTZZZIBWU
Duration
(no comment in the source: the name reads as a sentence) durationcomposed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22")
? o1.Duration()
#--> 86399composed from the signature, run for this page QCSXTZZZIBWU AddPoint
Point Management (single moments in time)QCSXTZZZIBWU
AddTimePoint
Same as AddPoint: Point Management (single moments in time)QCSXTZZZIBWU
Same as AddPoint: Point Management (single moments in time)
1 examples runQCSXTZZZIBWUAddInstant
Same as AddPoint: Point Management (single moments in time)QCSXTZZZIBWU
AddPoints
(no comment in the source: the name reads as a sentence) add pointsno extension
AddMoments
(no comment in the source: the name reads as a sentence) add momentsno extension
AddInstants
(no comment in the source: the name reads as a sentence) add instantsno extension
FindPoint
Find the occurences of a given moment (by label) on the timeline (returns its relative datetimes)also written: FindMoment · FindInstantQCSXTZZZIBWU
(no comment in the source: the name reads as a sentence) points 1 examples runalso written: Moments · Instants · TimePointsQCSXTZZZIBWU PointNames
(no comment in the source: the name reads as a sentence) point namesalso written: MomentNames · InstantNodesQCSXTZZZIBWU
InstantNamesXT
(no comment in the source: the name reads as a sentence) instant names xtno extension
SpanNames
(no comment in the source: the name reads as a sentence) span namesalso written: PeriodNamesQCSXTZZZIBWU
Point
Getting a point datetimealso written: Moment · InstantQCSXTZZZIBWU
HasPoint
Checking if a point exists
composed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22")
? o1.HasPoint("an")
#--> 0composed from the signature, run for this page no extensionHasMoment
(no comment in the source: the name reads as a sentence) has momentalso written: HasInstant · ContainsMoment · ContainsInstantno extension
RemovePoint
Removing pointsQCSXTZZZIBWU
RemoveMoment
Same as RemovePoint: Removing pointsQCSXTZZZIBWU
RemoveMInstant
Same as RemovePoint: Removing pointsno extension
RemoveInstantQ
Same as RemovePointQ: Same as RemovePoint: Removing pointsno extension
RenameLabel
Renaming labelsno extension
RenamePointLabel
(no comment in the source: the name reads as a sentence) rename point labelno extension
RenameMomentLabel
(no comment in the source: the name reads as a sentence) rename moment labelno extension
RenameInstantLabel
(no comment in the source: the name reads as a sentence) rename instant labelno extension
RenameSpanLabel
(no comment in the source: the name reads as a sentence) rename span labelno extension
How many points
3 examples runalso written: CountMoments · HowManyPoints · CountOInstants · HowManyMoments · NumberOfPoints · HowManyInstants · NumberOfMoments · NumberOfInstantscomposed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22")
? o1.CountPoints()
#--> 0composed from the signature, run for this page no extensionAddSpans
Span Management (time periods with start and end)no extension
AddPeriods
Same as AddSpans: Span Management (time periods with start and end)no extension
AddSpan
(no comment in the source: the name reads as a sentence) add spanQCSXTZZZIBWU
(no comment in the source: the name reads as a sentence) add period 1 examples runQCSXTZZZIBWU FindSpan
Find the occurences of a given Period (by label) on the timeline (returns its relative datetimes)also written: FindPeriodQCSXTZZZIBWU
(no comment in the source: the name reads as a sentence) spans 1 examples runalso written: PeriodsQCSXTZZZIBWU Span
(no comment in the source: the name reads as a sentence) spanalso written: Periodno extension
SpanStart
(no comment in the source: the name reads as a sentence) span startQCSXTZZZIBWU
SpanEnd
(no comment in the source: the name reads as a sentence) span endQCSXTZZZIBWU
SpanDuration
(no comment in the source: the name reads as a sentence) span durationQCSXTZZZIBWU
HasSpan
(no comment in the source: the name reads as a sentence) has spancomposed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22")
? o1.HasSpan("an")
#--> 0composed from the signature, run for this page no extension RemoveSpan
(no comment in the source: the name reads as a sentence) remove spanQCSXTZZZIBWU
(no comment in the source: the name reads as a sentence) count spans 2 examples runalso written: CountPeriods · HowManySpans · NumberOfSpans · HowManyPeriods · NumberOfPeriodscomposed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22")
? o1.CountSpans()
#--> 0composed from the signature, run for this page no extension Temporal Queries
1 examples runalso written: PointsAt · MomentsAt · HappeningAt · WhatHappenedAtQCSXTZZZIBWU(no comment in the source: the name reads as a sentence) points between 1 examples runalso written: WhatsBetween · MomentsBetween · InstantsBetween · HappeningBetween · WhatHappenedBetweenno extension (no comment in the source: the name reads as a sentence) spans between 1 examples runalso written: PeriodsBetweenno extension SpansOverlapping
(no comment in the source: the name reads as a sentence) spans overlappingalso written: SpansContaining · PeriodsContaining · PeriodsOverlappingno extension
HasOverlaps
Overlap Detection
composed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22")
? o1.HasOverlaps()
#--> 0composed from the signature, run for this page no extensionOverlappingSpans
(no comment in the source: the name reads as a sentence) overlapping spansalso written: OverlappingPeriodsno extension
Gaps
Gap Analysisno extension
UncoveredPeriods
(no comment in the source: the name reads as a sentence) uncovered periodsalso written: UncoveredSpansno extension
Interval
Same as DurationXT: Duration CalculationsQCSXTZZZIBWU
DurationBetween
Same as DurationXT: Duration CalculationsQCSXTZZZIBWU
TimeBetween
Same as DurationXT: Duration CalculationsQCSXTZZZIBWU
Distance
(no comment in the source: the name reads as a sentence) distanceQCSXTZZZIBWU
IntervalBetween
Same as DurationXT: Duration CalculationsQCSXTZZZIBWU
(no comment in the source: the name reads as a sentence) sorted points 1 examples runalso written: SortedMoments · SortedInstantsno extension Summary
Output Methods
composed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22")
? @@( o1.Summary() )
#--> [ [ "start", "2025-10-22 00:00:00" ], [ "end", "2025-10-22 23:59:59" ], [ "totalduration", "23 hours, 59 minutes, and 59 seconds" ], [ "countpoints", 0 ], [ "countspans", 0 ] ]composed from the signature, run for this page no extension(no comment in the source: the name reads as a sentence) clear 1 examples runno extension Copy
(no comment in the source: the name reads as a sentence) copyalso written: Cloneno extension
SetVizWidth
Configurationno extension
SetVizHeight
(no comment in the source: the name reads as a sentence) set viz heightin the section visual display system for stztimelineno extension
VizWidth
(no comment in the source: the name reads as a sentence) viz widthin the section visual display system for stztimelineno extension
VizHeight
(no comment in the source: the name reads as a sentence) viz heightin the section visual display system for stztimelineno extension
Show
(no comment in the source: the name reads as a sentence) showin the section visual display system for stztimelineQCSXTZZZIBWU
ToString
(no comment in the source: the name reads as a sentence) to stringin the section visual display system for stztimelineQCSXTZZZIBWU
Stats
(no comment in the source: the name reads as a sentence) statsin the section visual display system for stztimelinecomposed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22")
? @@( o1.Stats() )
#--> [ [ "metric", "value" ], [ "Total Points", 0 ], [ "Total Spans", 0 ], [ "Timeline Duration", "23 hours, 59 minutes, and 59 seconds" ], [ "Gaps Between Spans", 0 ], [ "Overlapping Spans", 0 ] ]composed from the signature, run for this page no extension ShowShort
(no comment in the source: the name reads as a sentence) show shortin the section visual display system for stztimelineno extension
ToStringShort
(no comment in the source: the name reads as a sentence) to string shortin the section visual display system for stztimelinecomposed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22")
? o1.ToStringShort()
#--> |────────────────────────────────────────────────○─►composed from the signature, run for this page no extension VizFindMoments
Highlight Visualization Methodsalso written: VizFindPoint · VizFindMoment · VizFindPointsno extension
VizFindSpans
(no comment in the source: the name reads as a sentence) viz find spansalso written: VizFindSpan · VizFindPeriod · VizFindPeriodsin the section visual display system for stztimelineno extension
ShowUncovered
Hihlighting the uncovered spans in the timelineno extension
ToStringUncovered
(no comment in the source: the name reads as a sentence) to string uncoveredin the section visual display system for stztimelinecomposed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22")
? o1.ToStringUncovered()
#--> Timeline is fully covered by spanscomposed from the signature, run for this page no extension AddBlockedPoint
(no comment in the source: the name reads as a sentence) add blocked pointin the section managing blocked points and spansQCSXTZZZIBWU
AddBlockedPoints
(no comment in the source: the name reads as a sentence) add blocked pointsin the section managing blocked points and spansno extension
RemoveBlockedPoint
(no comment in the source: the name reads as a sentence) remove blocked pointin the section managing blocked points and spansQCSXTZZZIBWU
BlockedPoints
(no comment in the source: the name reads as a sentence) blocked pointsin the section managing blocked points and spansQCSXTZZZIBWU
IsPointBlocked
(no comment in the source: the name reads as a sentence) is point blockedin the section managing blocked points and spansno extension
IsBlocked
(no comment in the source: the name reads as a sentence) is blockedin the section managing blocked points and spansno extension
IsSectionBlocked
(no comment in the source: the name reads as a sentence) is section blockedalso written: IsBlockedSectionin the section managing blocked points and spanscomposed example
o1 = new stzTimeLine("2025-10-22", "2025-10-22")
? o1.IsSectionBlocked(2, 4)
#--> 0composed from the signature, run for this page no extension (no comment in the source: the name reads as a sentence) add blocked span 1 examples runin the section managing blocked points and spansQCSXTZZZIBWU RemoveBlockedSpan
(no comment in the source: the name reads as a sentence) remove blocked spanin the section managing blocked points and spansQCSXTZZZIBWU
BlockedSpans
(no comment in the source: the name reads as a sentence) blocked spansin the section managing blocked points and spansQCSXTZZZIBWU