atrium icon indicating copy to clipboard operation
atrium copied to clipboard

deprecate ChronoZonedDateTime.toBeLessThan etc.

Open robstoll opened this issue 5 years ago • 0 comments

Platform (all, jvm, js): jvm Extension (none, kotlin 1.3): none

Code related feature

val now = ZonedDateTime.now()
now.compareTo(now.withZoneSameInstant(ZoneOffset.UTC)) // 1
now.isEqual(now.withZoneSameInstant(ZoneOffset.UTC)) // true

We should deprecated the Comparable assertion functions in the context of ZonedDateTime and point to toBeBefore, toBeAfter etc.

See https://github.com/robstoll/atrium-roadmap/issues/50 for further details

Your first contribution?

  • Write a comment I'll work on this if you would like to take this issue over. This way we get the chance to revise the description in case things have changed in the meantime, we might give you additional hints and we can assign the task to you, so that others do not start as well.
  • See Your first code contribution for guidelines.
  • Do not hesitate to ask questions here or to contact us via Atrium's slack channel if you need help (Invite yourself in case you do not have an account yet).

robstoll avatar Dec 09 '20 21:12 robstoll