Skip to content

Commit 26ea08d

Browse files
committed
compiles with bb
1 parent 96461b1 commit 26ea08d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/java_time/convert.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
(IllegalArgumentException.)
8383
(throw))))))
8484

85-
(defn ^Date to-java-date
85+
(defn ^java.util.Date to-java-date
8686
"Converts a date entity to a `java.util.Date`.
8787
8888
*Deprecated*:

src/java_time/format.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
(.parseCaseInsensitive fmt-builder))
4141
fmt-builder))
4242

43-
(defn ^DateTimeFormatter formatter
43+
(defn ^java.time.format.DateTimeFormatter formatter
4444
"Constructs a DateTimeFormatter out of a
4545
4646
* format string - \"yyyy/MM/dd\", \"HH:mm\", etc.

src/java_time/zone.clj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,26 +387,26 @@
387387

388388
;;;;; Clock
389389

390-
(defn ^Clock system-clock
390+
(defn ^java.time.Clock system-clock
391391
"Creates a system clock. In the default timezone if called without arguments,
392392
otherwise accepts a Zone Id."
393393
([] (Clock/systemDefaultZone))
394394
([k] (Clock/system (zone-id k))))
395395

396-
(defn ^Clock fixed-clock
396+
(defn ^java.time.Clock fixed-clock
397397
"Creates a fixed clock either at the current instant or at the supplied
398398
instant/instant + zone."
399399
([] (Clock/fixed (Instant/now) (zone-id)))
400400
([i] (Clock/fixed (jt.t/instant i) (zone-id)))
401401
([i z] (Clock/fixed (jt.t/instant i) (zone-id z))))
402402

403-
(defn ^Clock offset-clock
403+
(defn ^java.time.Clock offset-clock
404404
"Creates a clock offset from the current/provided clock by a given
405405
`duration`."
406406
([d] (Clock/offset (system-clock) (jt.a/duration d)))
407407
([^Clock c, d] (Clock/offset c (jt.a/duration d))))
408408

409-
(defn ^Clock tick-clock
409+
(defn ^java.time.Clock tick-clock
410410
"Creates a clock wrapping system/provided clock that only ticks as per
411411
specified duration."
412412
([d] (Clock/tick (system-clock) (jt.a/duration d)))

0 commit comments

Comments
 (0)