Compare Kotlin type and java class
I'm trying to create a request convertor like in this question except for JodaDateTime
How to pass custom enum in @Query via Retrofit?
However I'm struggling comparing the type that's passed in with the Joda Date Time class.
class JodaDateConverterFactory : Converter.Factory() {
override fun stringConverter(
type: Type?, annotations: Array?,
retrofit: Retrofit?...