#1274: SqlDateHandler.kt
projectforge-business/src/main/kotlin/org/projectforge/framework/persistence/candh/SqlDateHandler.kt Copy-and-History Handler (java.sql.Date), projectforge-business/src/main/kotlin/org/projectforge/framework/persistence/candh/SqlDateHandler.kt 42 lines · 13 code · 25 comments · 4 blank
CandH handler for java.sql.Date properties. Extends DefaultHandler and converts both source and destination values to LocalDate (via toLocalDate()) before comparison, ensuring date-only equality checks without time component interference.
Key Methods
| Method | Description |
accept(property) | True if return type is exactly java.sql.Date::class |
propertyValuesEqual(src, dest) | Compares via toLocalDate().equals() (date-only) |
Git History
868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
eb03cafda candh package moved.