That's what I thought, too. But I'm desperately tr...
# announcements
j
That's what I thought, too. But I'm desperately trying to check if the type is java.util.Date, and I can't:
Copy code
private fun KProperty<*>.getDateSerializer(value: Any?): ValueSerializer<Any?>? {
    println(this.returnType)
    println(this.returnType == Date::class)
    println(this.returnType == Date::class.java)
prints
Copy code
java.util.Date
false
false