Just began looking at tick, how does one specify an Interval that has some beginning time, but hasn't ended yet?
(t/new-interval
(t/instant "2018-12-31T23:55:00Z")
what-to-put-here?)
Are tick interval bounds (beginning, end) inclusive or exclusive?
I'm not sure java has a representation for infinity. There is a MAX instant you could use
By "MAX instant", do you mean something like this?
(t/instant Long/MAX_VALUE)
I'm thinking of java.time.Instant/MAX_VALUE
OK, thanks
java.time.Instant/MAX
must be it...
IMHO, the following is awesome/inspired:
Intervals are maps containing both a tick/beginning and a tick/end entry. This flexible design allows any Clojure map to be treated as an interval.
FWIW, when creating tick intervals for dates, java.time.LocalDate/MIN and MAX seem like the way to go... Instant/MAX can't convert to a actual date....