CountPoints()
How many points
also written: CountMoments · HowManyPoints · CountOInstants · HowManyMoments · NumberOfPoints · HowManyInstants · NumberOfMoments · NumberOfInstants
Basic examples (2)
oTimeLine = new stzTimeLine(
:Start = "2024-01-01 00:00:00",
:End = "2024-12-31 23:59:59"
)
oTimeLine.AddMoment("MILESTONE", "2024-06-15 12:00:00")
? oTimeLine.Moments()
? oTimeLine.CountPoints()MILESTONE 2024-06-15 12:00:00 1
run on 2026-10-02 04:24 inside the library at commit 0e72e2e2c; taken from 09_alternative_names_for_points_moments.ring(opens in a new tab)
oTimeLine = new stzTimeLine(
:Start = "2024-01-01 00:00:00",
:End = "2024-12-31 23:59:59"
)
oTimeLine {
AddPoint("EVENT1", "2024-03-15 10:00:00")
AddPoint("EVENT2", "2024-03-16 14:30:00")
AddPoint("EVENT3", "2024-03-17 09:00:00")
}
? oTimeLine.CountPoints()3
run on 2026-10-02 04:24 inside the library at commit 0e72e2e2c; taken from 05_adding_points_with_q_chaining.ring(opens in a new tab)
Scope (1)
oTimeLine = new stzTimeLine(
:Start = "2024-01-01 00:00:00",
:End = "2024-12-31 23:59:59"
)
oTimeLine {
AddPoint("EVENT1", "2024-03-15 10:00:00")
AddPoint("EVENT2", "2024-04-15 10:00:00")
AddSpan("PERIOD", "2024-05-01 00:00:00", "2024-05-31 23:59:59")
}
? oTimeLine.CountPoints()
? oTimeLine.CountSpans()
oTimeLine.Clear()
? oTimeLine.CountPoints()
? oTimeLine.CountSpans()2 1 0 0
run on 2026-10-02 04:24 inside the library at commit 0e72e2e2c; taken from 31_clearing_timeline.ring(opens in a new tab)
The extensions of this method
Each extension, and whether it exists for this method; an extension that exists combines with the others (FindSTCS).
Every example is a test file of the library, run inside the library for this page; only those whose output kept every promise their file wrote are shown.
See also
- The class stzTimeLine
- The area's reference: Internationalization
- The other methods in these examples: stzTimeLine.AddMoment · stzTimeLine.Clear · stzTimeLine.CountSpans · stzTimeLine.Points

