|
@@ -200,15 +200,15 @@ public class TypeKit {
|
|
|
return (LocalDateTime)ldt;
|
|
return (LocalDateTime)ldt;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if (ldt instanceof java.util.Date) {
|
|
|
|
|
+ return TimeKit.toLocalDateTime((java.util.Date)ldt);
|
|
|
|
|
+ }
|
|
|
if (ldt instanceof LocalDate) {
|
|
if (ldt instanceof LocalDate) {
|
|
|
return ((LocalDate)ldt).atStartOfDay();
|
|
return ((LocalDate)ldt).atStartOfDay();
|
|
|
}
|
|
}
|
|
|
if (ldt instanceof LocalTime) {
|
|
if (ldt instanceof LocalTime) {
|
|
|
return LocalDateTime.of(LocalDate.now(), (LocalTime)ldt);
|
|
return LocalDateTime.of(LocalDate.now(), (LocalTime)ldt);
|
|
|
}
|
|
}
|
|
|
- if (ldt instanceof java.util.Date) {
|
|
|
|
|
- return TimeKit.toLocalDateTime((java.util.Date)ldt);
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
if (ldt instanceof String) {
|
|
if (ldt instanceof String) {
|
|
|
String s = (String)ldt;
|
|
String s = (String)ldt;
|