isDate

fun isDate(date: DateProperty<*>?): Boolean

Determines whether a given date represents a DATE value.

Return

true if the date is a DATE value; false otherwise (for instance, when the argument is a DATE-TIME value or null)

Parameters

date

date property to check


fun isDate(date: Temporal?): Boolean

Determines whether a given Temporal represents a DATE value.