Last active
August 8, 2019 13:55
-
-
Save ruslanbogun/0cd5b91cc80bd8346273e0be966fa588 to your computer and use it in GitHub Desktop.
No implicit Ordering defined for org.joda.time.DateTime
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
implicit def dateTimeOrdering: Ordering[DateTime] = Ordering.fromLessThan(_ isBefore _) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use
isAfter
if you wish to reverse order; like so...