We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26ea08d commit 302b179Copy full SHA for 302b179
src/java_time/convert.clj
@@ -82,7 +82,7 @@
82
(IllegalArgumentException.)
83
(throw))))))
84
85
-(defn ^java.util.Date to-java-date
+(defn ^:deprecated ^java.util.Date to-java-date
86
"Converts a date entity to a `java.util.Date`.
87
88
*Deprecated*:
@@ -93,7 +93,7 @@
93
(if (instance? Date o) o
94
(Date/from (jt.t/instant o))))
95
96
-(defn ^java.sql.Date to-sql-date
+(defn ^:deprecated ^java.sql.Date to-sql-date
97
"Converts a local date entity to a `java.sql.Date`.
98
99
@@ -102,7 +102,7 @@
102
instead."
103
[o] (java.sql.Date/valueOf (jt.l/local-date o)))
104
105
-(defn ^java.sql.Timestamp to-sql-timestamp
+(defn ^:deprecated ^java.sql.Timestamp to-sql-timestamp
106
"Converts a date entity to a `java.sql.Timestamp`.
107
108
0 commit comments