Liking cljdoc? Tell your friends :D
All platforms.

xyz.thoren.julian


jdn->timeclj/s

(jdn->time jdn)

Given a Julian Day Number jdn, return a map with the corresponding time. Will round jdn to 5 decimals.

Given a Julian Day Number `jdn`, return a map with the corresponding time.
Will round `jdn` to 5 decimals.
sourceraw docstring

time->jdnclj/s

(time->jdn x)
(time->jdn year month)
(time->jdn year month day)
(time->jdn year month day hour)
(time->jdn year month day hour minute)
(time->jdn year month day hour minute second)

Given 1-6 integers representing year, month, day, hour, minute, and second, or a map containing all of the keys :year, :month, :day, :hour, :minute, and :second, with corresponding integer values, return a Julian Day Number with 5 decimal precision.

Given 1-6 integers representing year, month, day, hour, minute, and second,
or a map containing all of the keys :year, :month, :day, :hour, :minute, and
:second, with corresponding integer values, return a Julian Day Number with 5
decimal precision.
sourceraw docstring

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

× close