Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Add some instances to Duration and add compareTo to fx-coroutines #272

Merged
merged 4 commits into from
Sep 3, 2020

Conversation

1Jajen1
Copy link
Member

@1Jajen1 1Jajen1 commented Aug 26, 2020

After #262, fx had some functionality that fx-coroutines was missing. This adds duration comparison to fx-coroutines.

It also adds some instances so we get good coverage with laws.

At some point (probably best when kotlin time is stable) we should move Duration to core or something similar and add/test instances there to avoid duplicate code. Duration may also be useful outside of fx as well.

Copy link
Member

@rachelcarmena rachelcarmena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @1Jajen1 🙌

@rachelcarmena rachelcarmena merged commit 4f0f613 into master Sep 3, 2020
@rachelcarmena rachelcarmena deleted the jo-duration-order branch September 3, 2020 15:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants