Skip to content

Commit 302b179

Browse files
committed
add deprecated meta
1 parent 26ea08d commit 302b179

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/java_time/convert.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
(IllegalArgumentException.)
8383
(throw))))))
8484

85-
(defn ^java.util.Date to-java-date
85+
(defn ^:deprecated ^java.util.Date to-java-date
8686
"Converts a date entity to a `java.util.Date`.
8787
8888
*Deprecated*:
@@ -93,7 +93,7 @@
9393
(if (instance? Date o) o
9494
(Date/from (jt.t/instant o))))
9595

96-
(defn ^java.sql.Date to-sql-date
96+
(defn ^:deprecated ^java.sql.Date to-sql-date
9797
"Converts a local date entity to a `java.sql.Date`.
9898
9999
*Deprecated*:
@@ -102,7 +102,7 @@
102102
instead."
103103
[o] (java.sql.Date/valueOf (jt.l/local-date o)))
104104

105-
(defn ^java.sql.Timestamp to-sql-timestamp
105+
(defn ^:deprecated ^java.sql.Timestamp to-sql-timestamp
106106
"Converts a date entity to a `java.sql.Timestamp`.
107107
108108
*Deprecated*:

0 commit comments

Comments
 (0)