Skip to content

Add TimeInterval wrapper type (internal) #1025

Merged
schillic merged 1 commit intomasterfrom
schillic/timeinterval
Feb 13, 2026
Merged

Add TimeInterval wrapper type (internal) #1025
schillic merged 1 commit intomasterfrom
schillic/timeinterval

Conversation

@schillic
Copy link
Member

@schillic schillic commented Feb 6, 2026

This turned out to be a bigger changeset. I am not 100% sure we want to use it.

Reminder: the motivation is that const TimeInterval = IA.Interval will soon not work anymore because we use it in two ways:

  1. as a type annotation in methods
  2. as a constructor

With new IntervalArithmetic versions, IA.Interval cannot be used as a constructor anymore.

The alternative currently applied in #954 is to introduce another function name TimeIntervalC that can be used as a constructor.

@schillic schillic force-pushed the schillic/timeinterval branch from c3d9879 to 9cae954 Compare February 6, 2026 22:46
@schillic schillic marked this pull request as ready for review February 7, 2026 06:27
@schillic schillic force-pushed the schillic/timeinterval branch 4 times, most recently from 6c62e59 to a3dab90 Compare February 7, 2026 13:22
@schillic schillic force-pushed the schillic/timeinterval branch 7 times, most recently from 7c850fd to fb4a324 Compare February 13, 2026 08:25
@schillic schillic force-pushed the schillic/timeinterval branch from fb4a324 to 2f4f2ef Compare February 13, 2026 08:42
@schillic schillic merged commit d22d889 into master Feb 13, 2026
6 checks passed
@schillic schillic deleted the schillic/timeinterval branch February 13, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants