package
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Dec 10, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Bound defines a time interval
NewBound creates a spoke-bound within start,end time bounds
Contains returns true if sb fully contains o
ContainsTime returns true if this time instant is bounded by this spoke
End returns the ending time of this spoke bound (exclusive)
IsExpired returns true if SpokeBound ended in the past
IsStarted returns true if this time Bound started in the past
time.Now() may or may not be after this bound's end
Start returns the starting time of this spoke bound (inclusive)
State is a classification of time for an object
Source Files
¶
Click to show internal directories.
Click to hide internal directories.