Simon Olander Sahlén

Results 4 comments of Simon Olander Sahlén

> Could you share the business logic you need this for? I have recurring events that happen during certain time windows, e.g. between 12:00 and 18:00, or 02:00 and 02:30,...

My use cases are the following: * Display the time remaining until the start of the next event occurrence. This duration may be larger if the next occurrence doesn't happen...

Good examples, I think they highlight an issue with my proposed solution. > So, for an event like 02:00-02:30, if 02:00 doesn't exist because 01:15 jumped directly to 02:15 (or...

> Is that so? Yes, I believe the problem can be stated this way. One approach I'm imagining is this: 1. Identify all the `Instant` values that correspond to the...