package
Version:
v0.0.0-...-9b5cd94
Opens a new window with list of versions in this module.
Published: Apr 5, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Span represents interval between two times.
Intersect returns intersect of spans or nil if they don't overlap.
New creates new span with given start and end times.
Diff returns difference which is in s but not in d.
Duration returns duration of span.
From returns time at the start of span.
In checks if the time moment is in the time span.
To returns time at the end of span.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.