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 methods min, max, minmax taking only single Dates.AbstractTime #32525

Merged
merged 2 commits into from
Jul 8, 2019
Merged

Add methods min, max, minmax taking only single Dates.AbstractTime #32525

merged 2 commits into from
Jul 8, 2019

Conversation

pfarndt
Copy link
Contributor

@pfarndt pfarndt commented Jul 8, 2019

No description provided.

@test minmax(a, b) == (a, b)
@test minmax(a) == (a, a)
end
end
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

You might want to test these in the other direction as well, so min(b, a) == a, etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good suggestion - done

@StefanKarpinski StefanKarpinski merged commit f552fb2 into JuliaLang:master Jul 8, 2019
@StefanKarpinski
Copy link
Sponsor Member

Nice, thanks for the contribution!

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.

None yet

2 participants