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

Add separate kotlinx.interval.datetime library #13

Merged
merged 4 commits into from Aug 1, 2022

Conversation

Whathecode
Copy link
Owner

@Whathecode Whathecode commented Jun 25, 2022

Closes #12

Turned the main kotlinx.interval into a submodule as part of a multi-module project.

To be able to reuse the test base classes from other modules, I moved them to a new submodule kotlinx.interval.test. Rather than pulling in this dependency in each kotlinx.interval library, a test dependency to this library should likely be included as part of the interval.library-conventions gradle plugin (#14).

Next up is adding kotlinx.interval.datetime which defines Interval<Instant, Duration>.

@Whathecode Whathecode mentioned this pull request Jun 25, 2022
3 tasks
Currently, this is the only way these test sources can be reused by `kotlinx.interval` extensions (https://stackoverflow.com/q/58956010/590790), such as the upcoming `kotlinx.interval.datetime` module.
Provide access to `TypeOperations` for `Instant` and `Duration`.
@Whathecode Whathecode marked this pull request as ready for review August 1, 2022 20:04
@Whathecode Whathecode merged commit 637bcb6 into develop Aug 1, 2022
@Whathecode Whathecode deleted the datetime-intervals branch August 1, 2022 20:04
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.

Include datetime intervals
1 participant