File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 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*:
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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)))
You can’t perform that action at this time.
0 commit comments