Liking cljdoc? Tell your friends :D

std.time.instant.java-util-calendar


calendar-metaclj


from-mapclj

(from-map {:keys [millisecond second minute hour day month year timezone]})

creates a Calendar object from a map

(cal/from-map (t/epoch {:timezone "GMT"})) => java.util.Calendar

creates a Calendar object from a map

(cal/from-map (t/epoch {:timezone "GMT"}))
=> java.util.Calendar
raw docstring

with-timezoneclj

(with-timezone t tz)

adds the timezone to a Calendar object

(-> (cal/from-map (t/epoch {:timezone "EST"})) (cal/with-timezone "GMT")) => java.util.Calendar ;;#inst "1970-01-01T00:00:00.000+00:00"

adds the timezone to a Calendar object

(-> (cal/from-map (t/epoch {:timezone "EST"}))
    (cal/with-timezone "GMT"))
=> java.util.Calendar ;;#inst "1970-01-01T00:00:00.000+00:00"
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close