Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Span ¶
type Span struct {
// contains filtered or unexported fields
}
Span represents interval between two times.
func Intersect ¶
Intersect returns intersect of spans or nil if they don't overlap.
func (*Span) Diff ¶
Diff returns difference which is in s but not in d.
func (*Span) In ¶
In checks if the time moment is in the time span.
Click to show internal directories.
Click to hide internal directories.