Hi,
I’m using js-joda
, which is a port of the java8-time API to JavaScript. Unfortunately I cannot compare ZonedDateTime
s from it, because it’s an external class, so I can’t let it implement Comparable<ZonedDateTime>
even though it does (it has operator fun compareTo(other: ZonedDateTime): Int
).
What can I do in this case?