Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make TimeSpan a subtype of AbstractInterval #14

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

omus
Copy link
Member

@omus omus commented Jul 12, 2021

A good intermediate step to switching over to Intervals.jl completely. Makes the TimeSpan type a subtype of AbstractInterval{Nanosecond,Closed,Open} and implements functionality using Intervals functions.

Main things to do here:

  • Update generic AbstractInterval functions to return TimeSpan instead of Interval. Changing this will probably require some formalizing of the intervals interface
  • Add deprecations for no longer needed TimeSpan functions
  • Upstream changes that belong elsewhere

@haberdashPI
Copy link
Member

Is this something I can help move things forward on. It would be nice if the work I put into invenia/Intervals.jl#192 would work seamlessly with TimeSpans.

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