EternalInterval returns an interval representing all time (negative infinity to positive infinity). This is used for facts without temporal annotations.
()
| 344 | // EternalInterval returns an interval representing all time (negative infinity to positive infinity). |
| 345 | // This is used for facts without temporal annotations. |
| 346 | func EternalInterval() Interval { |
| 347 | return Interval{ |
| 348 | Start: NegativeInfinity(), |
| 349 | End: PositiveInfinity(), |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | // IsEternal returns true if this interval represents all time. |
| 354 | func (i Interval) IsEternal() bool { |