Liking cljdoc? Tell your friends :D

hara.time.data.common


*default-timezone*clj


*default-type*clj


+default-fns+clj


+default-keys+clj


+zero-values+clj


calendarclj

(calendar date timezone)

creates a calendar to be used by the base date classes (-> ^Calendar (calendar (Date. 0) (TimeZone/getTimeZone "GMT")) (.getTime)) => #inst "1970-01-01T00:00:00.000-00:00"

creates a calendar to be used by the base date classes
(-> ^Calendar (calendar (Date. 0) (TimeZone/getTimeZone "GMT"))
    (.getTime))
=> #inst "1970-01-01T00:00:00.000-00:00"
raw docstring

default-timezoneclj

(default-timezone)
(default-timezone tz)

accesses the default timezone as a string

(default-timezone) ;; getter => "Asia/Ho_Chi_Minh"

(default-timezone "GMT") ;; setter => "GMT"

accesses the default timezone as a string
       
(default-timezone)  ;; getter
=> "Asia/Ho_Chi_Minh"

(default-timezone "GMT")  ;; setter
=> "GMT"
raw docstring

default-typeclj

(default-type)
(default-type cls)

accesses the default type for datetime

(default-type) ;; getter => clojure.lang.PersistentArrayMap

(default-type Long) ;; setter => java.lang.Long

accesses the default type for datetime

(default-type) ;; getter
=> clojure.lang.PersistentArrayMap

(default-type Long) ;; setter
=> java.lang.Long
raw docstring

local-timezoneclj

(local-timezone)

returns the current timezone as a string

(local-timezone) => "Asia/Ho_Chi_Minh"

returns the current timezone as a string

(local-timezone)
=> "Asia/Ho_Chi_Minh"
raw docstring

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

× close