АМ
Size: a a a
АМ
S
ST
(java.time.LocalDate/of 2020 02 31)
(defn valid-date? [date]
(try
(let [[y m d] (->> (str/split date #"\.")
(mapv #(Integer/parseInt %)))]
(java.time.LocalDate/of ^int y ^int m ^int d))
true
(catch Exception _
false)))
АМ
(defn valid-date? [date]
(try
(let [[y m d] (->> (str/split date #"\.")
(mapv #(Integer/parseInt %)))]
(java.time.LocalDate/of ^int y ^int m ^int d))
true
(catch Exception _
false)))
ST
ST
(defn valid-date? [date]
(try
(apply #(java.time.LocalDate/of ^int %1 ^int %2 ^int %3)
(->> (str/split date #"\.")
(mapv #(Integer/parseInt %))))
true
(catch Exception _
false)))
АМ
(defn valid-date? [date]
(try
(apply #(java.time.LocalDate/of ^int %1 ^int %2 ^int %3)
(->> (str/split date #"\.")
(mapv #(Integer/parseInt %))))
true
(catch Exception _
false)))
(apply java.time.LocalDate/of (map int (str/split date #"\.")))
ST
(apply java.time.LocalDate/of (map int (str/split date #"\.")))
java.time.LocalDate/of
как clojure functionАМ
АМ
АМ
ST
АМ
java.time.LocalDate/of
args))ST
ST
java.time.LocalDate/of
args))АМ
ST
АМ
MP
ST