Liking cljdoc? Tell your friends :D

org.soulspace.astronomy.time

Functions to handle time.

Functions to handle time.
raw docstring

date-to-julian-dayclj/s

(date-to-julian-day year month day)

Calculates the julian day for the date given by year, month and day.

Calculates the julian day for the date given by year, month and day.
sourceraw docstring

date-to-millisecondsclj/s

(date-to-milliseconds date)

Returns the milliseconds since 1970-01-01 00:00:00.000 for a platform date

Returns the milliseconds since 1970-01-01 00:00:00.000 for a platform date
sourceraw docstring

day-of-weekclj/s

(day-of-week jd)

Calculates the index of the day in the week for the given julian day instant.

Calculates the index of the day in the week for the given julian day instant.
sourceraw docstring

day-of-yearclj/s

(day-of-year jd)
(day-of-year year month day)

Calculates the index of the day in the year for the given julian day instant.

Calculates the index of the day in the year for the given julian day instant.
sourceraw docstring

daysclj/s

source

delta-tclj/s

source

delta-t-meeusclj/s

(delta-t-meeus year)

Calculates Delta T after the formulars given in Astronomical Algorithms.

Calculates Delta T after the formulars given in Astronomical Algorithms.
sourceraw docstring

delta-t-nasaclj/s

(delta-t-nasa year month)

Calculates Delta T after the formulars given on the web page 'Polynomial Expressions for Delta T (ΔT)'.

Calculates Delta T after the formulars given on the web page 'Polynomial Expressions for Delta T (ΔT)'.
sourceraw docstring

dynamic-time-to-universal-timeclj/s

(dynamic-time-to-universal-time year td)

Calculates the universal time by for the dynamic time.

Calculates the universal time by for the dynamic time.
sourceraw docstring

easter-dateclj/s

(easter-date year)

Calculates the easter date for the given year.

Calculates the easter date for the given year.
sourceraw docstring

easter-date-by-gregorian-dateclj/s

(easter-date-by-gregorian-date year)

Calculates the easter date for the given year in the gregorian calender.

Calculates the easter date for the given year in the gregorian calender.
sourceraw docstring

easter-date-by-julian-dateclj/s

(easter-date-by-julian-date year)

Calculates the easter date for the given year in the julian calender.

Calculates the easter date for the given year in the julian calender.
sourceraw docstring

easter-date-by-julian-dayclj/s

(easter-date-by-julian-day jd)

Calculates the easter date for the year of the julian day.

Calculates the easter date for the year of the julian day.
sourceraw docstring

Epochclj/sprotocol

Protocol for Epochs.

Protocol for Epochs.

to-bessel-epochclj/s

(to-bessel-epoch this)
(to-bessel-epoch this year)
(to-bessel-epoch this year type)

to-julian-epochclj/s

(to-julian-epoch this)
(to-julian-epoch this year)
(to-julian-epoch this year type)
sourceraw docstring

gregorian-date-to-julian-dayclj/s

(gregorian-date-to-julian-day year month day)

Calculates the julian day for the date given by year, month and day using the gregorian calender.

Calculates the julian day for the date given by year, month and day using the gregorian calender.
sourceraw docstring

gregorian-leap-year?clj/s

(gregorian-leap-year? year)

Returns true if the given year is a leap year in the gregorian calender.

Returns true if the given year is a leap year in the gregorian calender.
sourceraw docstring

Instantclj/sprotocol

as-dateclj/s

(as-date date)

as-julian-dayclj/s

(as-julian-day date)

Returns the julian day of this point in time.

Returns the julian day of this point in time.
source

J2000clj/s

source

julian-centuriesclj/s

(julian-centuries jd)
(julian-centuries jd epoch)

Calculates the julian centuries since the epoch (default J2000.0).

Calculates the julian centuries since the epoch (default J2000.0).
sourceraw docstring

julian-centuryclj/s

source

julian-date-to-julian-dayclj/s

(julian-date-to-julian-day year month day)

Calculates the julian day for the date given by year, month and day using the julian calender.

Calculates the julian day for the date given by year, month and day using the julian calender.
sourceraw docstring

julian-dayclj/s

(julian-day y m d b)

Calculates the julian day from a calender date.

Calculates the julian day from a calender date.
sourceraw docstring

julian-day-of-bessel-yearclj/s

(julian-day-of-bessel-year bessel-year)

Calculates the julian day of the beginning of the given bessel year.

Calculates the julian day of the beginning of the given bessel year.
sourceraw docstring

julian-day-of-julian-yearclj/s

(julian-day-of-julian-year julian-year)

Calculates the julian day of the beginning of the given bessel year.

Calculates the julian day of the beginning of the given bessel year.
sourceraw docstring

julian-day-to-dateclj/s

(julian-day-to-date jd)

Calculates the calender date of the julian day instant.

Calculates the calender date of the julian day instant.
sourceraw docstring

julian-ephemeris-dayclj/s

(julian-ephemeris-day jd)

Calculates the julian ephemeris day (JDE) from the given julian day instant.

Calculates the julian ephemeris day (JDE) from the given julian day instant.
sourceraw docstring

julian-leap-year?clj/s

(julian-leap-year? year)

Returns true if the given year is a leap year in the julian calender.

Returns true if the given year is a leap year in the julian calender.
sourceraw docstring

leap-year-by-julian-day?clj/s

(leap-year-by-julian-day? jd)

Returns true if the year of the given julian day instant is a leap year in the gregorian calender.

Returns true if the year of the given julian day instant is a leap year in the gregorian calender.
sourceraw docstring

leap-year?clj/s

(leap-year? year)

Returns true if the given year is a leap year.

Returns true if the given year is a leap year.
sourceraw docstring

mean-siderial-time-greenwichclj/s

(mean-siderial-time-greenwich jd)

Calculates the mean sidereal time in degrees at greenwich for the given instant in UT.

Calculates the mean sidereal time in degrees at greenwich for the given instant in UT.
sourceraw docstring

mean-siderial-time-greenwich-0utclj/s

(mean-siderial-time-greenwich-0ut jd)

Calculates the mean sidereal time in degrees at greenwich at 0h UT.

Calculates the mean sidereal time in degrees at greenwich at 0h UT.
sourceraw docstring

milliseconds-to-julian-dayclj/s

(milliseconds-to-julian-day ms)

Calculates the julian day for the milliseconds since 1970-01-01 00:00:00.000.

Calculates the julian day for the milliseconds since 1970-01-01 00:00:00.000.
sourceraw docstring

modified-julian-dayclj/s

(modified-julian-day jd)

Calculates the modified julian day from the julian day

Calculates the modified julian day from the julian day
sourceraw docstring

new-julian-dayclj/s

(new-julian-day)
(new-julian-day date)

Creates a new julian day instant.

Creates a new julian day instant.
sourceraw docstring

now-msclj/s

(now-ms)

Returns the current time in milliseconds since 1970-01-01 00:00:00.000.

Returns the current time in milliseconds since 1970-01-01 00:00:00.000.
sourceraw docstring

time-by-julian-dayclj/s

(time-by-julian-day jd)

Calculates the time for the given julian day instant.

Calculates the time for the given julian day instant.
sourceraw docstring

time-of-dayclj/s

(time-of-day day)

Calculates the time in hours, minutes and seconds for the given decimal day.

Calculates the time in hours, minutes and seconds for the given decimal day.
sourceraw docstring

timezonesclj/s

source

universal-time-to-dynamic-timeclj/s

(universal-time-to-dynamic-time year ut)

Calculates the dynamic time by for the universal time.

Calculates the dynamic time by for the universal time.
sourceraw docstring

yearclj/s

(year jd)

Calculates the year of the julian day instant

Calculates the year of the julian day instant
sourceraw docstring

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

× close