TemporalValueRange exceptions #1059
Closed
mikepictor
started this conversation in
Ideas
Replies: 1 comment
-
The We see most people using lists, as that is the easiest thing to do. Since this can also be solved using a list, I don't see us working on this any time soon. Pull requests are welcome though! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have multiple times wished I could add breaks in my TemporalValueRange. I specify a range of 9:00 to 17:00 for example for scheduling, but I want to skip 12:00 -12:30 when the lunch break is.
It would be real nice if the TemporalValueRange can take a list of Pairs (I am using kolin, so the Pair entity, but whatever Java equivalent) representing start and end of the exceptions to the temporal range.
As it is, I originally had a constraint devoted to catching anything in a break, though I recently threw out the TemporalValueRange in favour of a list of timestamps that exclude timesamps in the break ranges.
Beta Was this translation helpful? Give feedback.
All reactions