(find-date m d)
(find-date m d date)
(find-date lat lon m d date)
Return a map containing the details of a hebrew-date
where:
lat
is the latitude of the location,
lon
is the longitude of the location,
m
is the hebrew month of year,
d
is the hebrew day of month that you are looking for, and
date
is a java.time.ZonedDateTime object from which the beginning of the
hebrew year will be calculated. I.e, it will use the 'current' year of the
date
as the base for calculating m
and d
.
If only m
, d
, and date
are provided lat
and lon
will default to
the coordinates of the Temple Mount in Jerusalem.
In addition, if only m
, and d
is provided date
will default to the
current time in the "Asia/Jerusalem" timezone.
Example: (find-date 59.3325800 18.0649000 1 14 (zone-it "Europe/Stockholm" (now)))
The above will look for the 14th day of the 1st month in the hebrew year that
starts in the current gregorian year (based on the system time and timezone.
The coordinates are those of Stockholm, Sweden. Using the zone-it
function
to make sure that now
is returned in the correct timezone is recommended,
in this case "Europe/Stockholm".
Caution: Make sure that date
is using the actual timezone of the location at
the provided coordinates. Otherwise the results may not even be produced, or
they will be inaccurate. Calculating the timezone of a given location is out
of scope of this library.
See also hebrew-date
, zone-it
, and now
.
Return a map containing the details of a `hebrew-date` where: `lat` is the latitude of the location, `lon` is the longitude of the location, `m` is the hebrew month of year, `d` is the hebrew day of month that you are looking for, and `date` is a java.time.ZonedDateTime object from which the beginning of the hebrew year will be calculated. I.e, it will use the 'current' year of the `date` as the base for calculating `m` and `d`. If only `m`, `d`, and `date` are provided `lat` and `lon` will default to the coordinates of the Temple Mount in Jerusalem. In addition, if only `m`, and `d` is provided `date` will default to the current time in the "Asia/Jerusalem" timezone. Example: (find-date 59.3325800 18.0649000 1 14 (zone-it "Europe/Stockholm" (now))) The above will look for the 14th day of the 1st month in the hebrew year that starts in the current gregorian year (based on the system time and timezone. The coordinates are those of Stockholm, Sweden. Using the `zone-it` function to make sure that `now` is returned in the correct timezone is recommended, in this case "Europe/Stockholm". Caution: Make sure that `date` is using the actual timezone of the location at the provided coordinates. Otherwise the results may not even be produced, or they will be inaccurate. Calculating the timezone of a given location is out of scope of this library. See also `hebrew-date`, `zone-it`, and `now`.
(find-date-in-year y m d)
(find-date-in-year tz y m d)
(find-date-in-year lat lon tz y m d)
Return a map containing the details of a hebrew-date
where:
lat
is the latitude of the location
lon
is the longitude of the location
tz
is a string containing a valid TimeZone description
y
is the gregorian year in which the hebrew year in question starts
m
is the hebrew month of year, and
d
is the hebrew day of month that you are looking for.
If only tz
, y
, m
, and d
are provided lat
and lon
will default to
the coordinates of the Temple Mount in Jerusalem.
In addition, if only y
, m
, and d
is provided tz
will default to
"Asia/Jerusalem".
Example: (find-date-in-year 59.3325800 18.0649000 "Europe/Stockholm" 2025 1 14)
The above will look for the 14th day of the 1st month of the hebrew year that starts in the gregorian year 2025. The timezone in use will be "Europe/Stockholm" and the coordinates are those of Stockholm, Sweden.
Caution: Make sure that tz
is the actual timezone of the location at the
provided coordinates. Otherwise the results may not even be produced, or they
will be inaccurate. Calculating the timezone of a given location is out of
scope of this library.
See also find-date
.
Return a map containing the details of a `hebrew-date` where: `lat` is the latitude of the location `lon` is the longitude of the location `tz` is a string containing a valid TimeZone description `y` is the gregorian year in which the hebrew year in question starts `m` is the hebrew month of year, and `d` is the hebrew day of month that you are looking for. If only `tz`, `y`, `m`, and `d` are provided `lat` and `lon` will default to the coordinates of the Temple Mount in Jerusalem. In addition, if only `y`, `m`, and `d` is provided `tz` will default to "Asia/Jerusalem". Example: (find-date-in-year 59.3325800 18.0649000 "Europe/Stockholm" 2025 1 14) The above will look for the 14th day of the 1st month of the hebrew year that starts in the gregorian year 2025. The timezone in use will be "Europe/Stockholm" and the coordinates are those of Stockholm, Sweden. Caution: Make sure that `tz` is the actual timezone of the location at the provided coordinates. Otherwise the results may not even be produced, or they will be inaccurate. Calculating the timezone of a given location is out of scope of this library. See also `find-date`.
(hebrew-date)
(hebrew-date date)
(hebrew-date lat lon)
(hebrew-date lat lon date)
Return a map containing the details of a hebrew-date
where:
lat
is the latitude of the location,
lon
is the longitude of the location, and
date
is a java.time.ZonedDateTime object from which the beginning of the
hebrew year will be calculated. I.e, it will use the 'current' year of the
date
as the base for calculating m
and d
.
If only date
is provided lat
and lon
will default to the coordinates of
the Temple Mount in Jerusalem.
In addition, if only lat
, and lon
is provided date
will default to the
current time in the "Asia/Jerusalem" timezone.
Example: (hebrew-date 59.3325800 18.0649000 (zone-it "Europe/Stockholm" (now)))
The above will look for the current hebrew date. The coordinates are those of
Stockholm, Sweden. Using the zone-it
function to make sure that now
is
returned in the correct timezone is recommended, in this case
"Europe/Stockholm".
Caution: Make sure that date
is using the actual timezone of the location at
the provided coordinates. Otherwise the results may not even be produced, or
they will be inaccurate. Calculating the timezone of a given location is out
of scope of this library.
See also zone-it
, and now
.
Return a map containing the details of a `hebrew-date` where: `lat` is the latitude of the location, `lon` is the longitude of the location, and `date` is a java.time.ZonedDateTime object from which the beginning of the hebrew year will be calculated. I.e, it will use the 'current' year of the `date` as the base for calculating `m` and `d`. If only `date` is provided `lat` and `lon` will default to the coordinates of the Temple Mount in Jerusalem. In addition, if only `lat`, and `lon` is provided `date` will default to the current time in the "Asia/Jerusalem" timezone. Example: (hebrew-date 59.3325800 18.0649000 (zone-it "Europe/Stockholm" (now))) The above will look for the current hebrew date. The coordinates are those of Stockholm, Sweden. Using the `zone-it` function to make sure that `now` is returned in the correct timezone is recommended, in this case "Europe/Stockholm". Caution: Make sure that `date` is using the actual timezone of the location at the provided coordinates. Otherwise the results may not even be produced, or they will be inaccurate. Calculating the timezone of a given location is out of scope of this library. See also `zone-it`, and `now`.
(list-of-known-feast-days-in-gregorian-year year)
(list-of-known-feast-days-in-gregorian-year year coll)
Given a gregorian year
, return a list of strings describing the feast days
in that year. The dates represent the gregorian day on which the sunset would
begin the feast day in question. Some days will have more than one feast day.
Given a gregorian `year`, return a list of strings describing the feast days in that year. The dates represent the gregorian day on which the sunset would begin the feast day in question. Some days will have more than one feast day.
(zone-it tz date)
Given a string containing a valid timezone name tz
, and a
java.time.ZonedDateTime object date
, convert date
to the same instant in
tz
.
Given a string containing a valid timezone name `tz`, and a java.time.ZonedDateTime object `date`, convert `date` to the same instant in `tz`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close