Calixir v0.1.7 Calixir View Source

Documentation for Calixir.

This module contains all the translated functions of calendrica-4.0.cl ordered as presented in DR4.

Some functions are not needed for calendar conversions, thus they have been omitted.

Link to this section Summary

Functions

Aberration at moment tee. DR4 223 (14.35), aberration lines 4112-4120 of calendrica-4.0.cl

Acre. DR4 204 (14.5), acre

Moment(s) of season in Gregorian year g_year per R. Adda bar Ahava. DR4 133 (8.41), adda-season-in-gregorian

Advent DR4 70 (2.42), advent

The n-th name of the AkanDayName cycle. DR4 38 (1.76), akan-day-name

Number of names from AkanDayName name a_name1 to the next occurrence of AkanDayName name a_name2. DR4 38 (1.77), akan-name-difference

AkanDayName Epoch. DR4 38 (1.78), akan-day-name-epoch

AkanDayName name for fixed date. DR4 38 (1.79), akan-name-from-fixed

Fixed date of latest date on or before fixed date that has AkanDayName name. DR4 38 (1.80), akan-day-name-on-or-before

Standard time of asr on fixed date at location. According to Shafi'i rule. Returns bogus is no asr occurs. DR4 249 (14.94), alt-asr

List of fixed date of Birkath ha-Hama in Gregorian year g_year. DR4 132 (8.40), alt-birkath-ha-hama

Returns the fixed_date corresponding to the Egyptian date. (Alternate calculation) DR4 31 (1.48), alt-fixed-from-egyptian

Fixed date equivalent to Observational Hebrew i_date. Months are never longer than 30 days. DR4 299 (18.27), alt-fixed-from-observational-hebrew

Fixed date equivalent to Observational Islamic i_date. Months are never longer than 30 days. DR4 295 (18.15), alt-fixed-from-observational-islamic

Astronomical sunrise at Hindu location on date, per Lahiri, rounded to nearest minute, as a rational number. DR4 357 (20.39), alt-hindu-sunrise

Observational Hebrew date {year, month, day} corresponding to fixed date. Months are never longer than 30 days. DR4 299 (18.26), alt-observational-hebrew-from-fixed

Observational Islamic date {year, month, day} corresponding to fixed date. Months are never longer than 30 days. DR4 295 (18.16), alt-observational-islamic-from-fixed

Returns the Fixed date Gregorian g_year of Orthodox Easter. DR4 146 (9.2), alt-orthodox-easter

Returns the adjusted modulus of x and y. DR4 22 (1.28)

Convert angle d degrees, m arcminutes, s arcseconds into decimal degrees. Alternate Variant! DR4 29 (1.45)

Convert a number of degrees into a list of degrees. DR4 29 (1.45)

Sundial time from local time t_local at location. DR4 217 (14.21), apparent-from-local

True (apparent) time at universal time tee at location. DR4 218 (14.23), apparent-from-universal

Moment in local time near tee when depression angle of sun is alpha (negative if above horizon) at location; early? is true when morning event is sought and false for evening. Returns bogus if depression angle is not reached. DR4 240 (14.68), approx-moment-of-depression

Angular separation of sun and moon at moment tee. DR4 250 (14.95), arc-of-light

Angular difference in altitudes of sun and moon at moment tee at location. DR4 251 (14.98), arc-of-vision

Arccosine of x in degrees.

x arcminutes. DR4 mins (!)

x arcseconds. DR4 secs (!)

Arcsine of x in degrees.

Arctangent of y/x in degrees. Returns bogus if x and y are both 0. see lines 3462-3476 of calendrica-4.0.cl DR4 205 (14.7) arctan

Arithmetic French Revolutionary date corresponding to the fixed date. DR4 285 (17.10), arithmetic-french-from-fixed

True if year is a leap year on the Arithmetic French Revolutionary calendar. DR4 285 (17.8), arithmetic-french-leap-year?

Persian date corresponding to fixed date. DR4 263 (15.10), arithmetic-persian-from-fixed

True if p_year is a leap year on the Persian calendar. DR4 262 (15.7), arithmetic-persian-leap-year?

Persian year corresponding to the fixed date. DR4 263 (15.9), arithmetic-persian-year-from-fixed

Armenian Epoch. DR4 31 (1.50), armenian-epoch

Returns the Armenian date {year, month, day} corresponding to fixed_date. DR4 31 (1.52), armenian-from-fixed

Number of days in one revolution of Jupiter around the Sun. DR4 157 (10.4), arya-jovian-period

Length of Old Hindu lunar day. DR4 160 (10.10), arya-lunar-day

Length of Old Hindu lunar month. = 29.53058181... days DR4 160 (10.9), arya-lunar-month

Length of Old Hindu solar month. DR4 158 (10.6), arya-solar-month

Length of Old Hindu solar year. DR4 157 (10.3), arya-solar-year

Standard time of asr on fixed date at location. According to Hanafi rule. Returns bogus is no asr occurs. DR4 249 (14.93), asr

Bahai date corresponding to fixed date. DR4 275 (16.9), astro-bahai-from-fixed

Fixed date of Astronomical Bahai New Year on or before fixed date. DR4 274 (16.7), astro-bahai-new-year-on-or-before

Astronomical Hindu solar year KY at given moment tee. DR4 360 (20.44), astro-hindu-calendar-year

Astronomical Hindu lunar date equivalent to fixed date. DR4 361 (20.48), astro-hindu-lunar-from-fixed

Astronomical Hindu (Tamil) solar date equivalent to fixed date. DR4 360 (20.45), astro-hindu-solar-from-fixed

Geometrical sunset at Hindu location on fixed. DR4 360 (20.42), astro-hindu-sunset

Phase of moon (tithi) at moment tee, as an integer in the range 1..30. DR4 361 (20.47), astro-lunar-day-from-moment

Date of (proposed) astronomical Easter in Gregorian year g_year. Return the Sunday following the Paschal moon. DR4 292 (18.9), astronomical-easter

Difference between tropical and sidereal solar longitude. DR4 359 (20.40), ayanamsha

DR4 271 (16.1)

The precise correlation between Aztec dates and our R.D. dates is based on the recorded Aztec Dates of the fall of (what later became) Mexico City to Mermán Cortés, August 13, 1521 (Julian). Known date of Aztec cycles (Caso's correlation) August, 13, 1521 (Julian) DR4 177 (11.14), aztec-correlation

Start of a tonalpohualli cycle. = R.D. 555299 DR4 179 (11.20), aztec-tonalpohualli-correlation

Aztec tonalpohualli date of fixed date. DR4 179 (11.21), aztec-tonalpohualli-from-fixed

Fixed date of latest date on or before fixed date that is Aztec tonalpohualli date tonalpohualli. DR4 180 (11.22), aztec-tonalpohualli-on-or-before

Number of days into Aztec tonalpohualli cycle of t_date. DR4 179 (11.19), aztec-tonalpohualli-ordinal (Error in book: name and number are interchanged!)

Start of a xihuitl cycle. DR4 178 (11.16), aztec-xihuitl-correlation

AztecXihuitl Epoch. = aztec_xihuitl_correlation (not DR4)

Aztec xihuitl date of fixed date. DR4 178 (11.17), aztec-xihuitl-from-fixed

Fixed date of latest date on or before fixed date that is Aztec xihuitl date xihuitl. DR4 179 (11.18), aztec-xihuitl-on-or-before

Number of elapsed days into cycle of Aztec xihuitl x_date. DR4 178 (11.15), aztec-xihuitl-ordinal

Designation of year containing fixed date. Returns bogus for nemontemi. DR4 180 (11.23), aztec-xiuhmolpilli-from-fixed

Fixed date of latest xihuitl_tonalpohualli combination on or before fixed. That is the date on or before fixed that is Aztec xihuitl date xihuitl and tonalpohualli date tonalpohualli. Returns bogus for impossible combinations. DR4 180 (11.24), aztec-xihuitl-tonalpohualli-on-or-before

Location of Babylon. DR4 290 (18.2), 409, babylon

Moonlag criterion for visibility of crescent moon on eve of fixed in Babylon. DR4 290 (18.3), babylonian-criterion

Babylonian Epoch. Epoch is the fixed date of start of the Babylonian calendar (Seleucid era): April 3, 311 BCE (Julian). DR4 291 (18.5), babylonian-epoch

Babylonian date corresponding to fixed date. DR4 291 (18.8), babylonian-from-fixed

Returns true if the given year is a leap year. DR4 291 (18.6), babylonian-leap-year?

Fixed date of start of Babylonian month on or before Babylonian fixed. Using lag of moonset criterion. DR4 290 (18.4), babylonian-new-month-on-or-before

Bahai Epoch. ... we just number the years, ..., and choose as epoch the traditional year of ascension of the first Yarlun King, Nyatri Tsenpo. = fixed-from-julian(ce(622), march, 19) DR4 271 (16.2), bahai-epoch

Bahai date corresponding to fixed date. DR4 272 (16.4), bahai-from-fixed

Bahai location. DR4 274 (16.5), bahai-location

Bahai New Year. DR4 277 (16.10), bahai-new-year

DR4 274 (16.6), bahai-sunset

Position of fixed in 8-day Balinese cycle. DR4 188 (12.13), bali-asatawara-from-fixed

Position of fixed in 4-day Balinese cycle. DR4 189 (12.14), bali-caturwara-from-fixed

Position of date in 10-day Balinese cycle. DR4 188 (12.9), bali-dasawara-from-fixed

Position of fixed in 210-day Pawukon cycle. DR4 187 (12.3), bali-day-from-fixed

Position of fixed in 2-day Balinese cycle. DR4 188 (12.10), bali-dwiwara-from-fixed

Membership of fixed in "1-day" Balinese cycle. DR4 188 (12.11), bali-luang-from-fixed

Last fixed date on or before date with Pawukon b_date. DR4 189 (12.15), bali-on-or-before

Position of fixed in 5-day Balinese cycle. DR4 187 (12.7), bali-pancawara-from-fixed

BaliPawukon Epoch. = fixed_from_jd(146) DR4 187 (12.2), bali-epoch

Positions of fixed in ten cycles of Balinese Pawukon calendar. DR4 185 (12.1), bali-pawukon-from-fixed

Position of fixed in 6-day Balinese cycle. DR4 187 (12.5), bali-sadwara-from-fixed

Position of date in 9-day Balinese cycle. DR4 188 (12.12), bali-sangawara-from-fixed

Position of fixed in Balinese week. DR4 187 (12.6), bali-saptawara-from-fixed

Position of fixed in 3-day Balinese cycle. DR4 187 (12.4), bali-triwara-from-fixed

Week number of date in Balinese cycle. DR4 187 (12.8), bali-week-from-fixed

Returns a negative value indicating a BCE Julian year.

Bisection search for x in [lo..hi] such that condition e holds. p determines when to go left. lines 653-663 of calendrica-4.0.cl DR4 24 (1.35), binary-search

List of fixed date of Birkath ha-Hama occurring in Gregorian year g_year. DR4 131 (8.38), birkath-ha-hama

Date of Bahai New Year in Gregorian year g_year. DR4 278 (16.13), birth-of-the-bab

List of the fixed dates of Hebrew birthday in Gregorian g_year. DR4 135 (8.45), hebrew-birthday-in-gregorian

Lichun occurs once at the end. DR4 325 (19.32), blind

Used to denote nonexistent dates. DR4 47 (1.97), bogus

Lichun occurs once at the start. DR4 325 (19.31), bright

Best viewing time (UT) in the evening. Yallop version, per Bruin (1977). DR4 251 (14.99), bruin-best-view

Returns a positive value indicating a CE Julian year.

Convert x days into a fraction of a century. (not DR4)

DR4 243 (14.79)

Age at fixed date, given Chinese birthdate, according to the Chinese custom. Returns bogus if fixed is before birthdate. DR4 325 (19.29), chinese-age

Chinese sexagesimal name for fixed date. DR4 320 (19.24), chinese-day-name

RD date of a start of Chinese sexagesimal day cycle. DR4 320 (19.23), chinese-day-name-epoch

Fixed date of latest date on or before fixed date that has Chinese name. DR4 320 (19.25), chinese-day-name-on-or-before

Chinese Epoch. = March 8, 2637 BCE (Julian) = February 15, -2636 (Gregorian) DR4 316 (19.15), chinese_epoch

Chinese date (cycle year month leap day) of fixed date. ordinal position of month in year minus 1 during or after a leap month DR4 317 (19.16), chinese-from-fixed

Location of Beijing; time zone varies with tee. DR4 306 (19.2), chinese-location

Sexagesimal name for month month of Chinese year year. DR4 320 (19.22), chinese-month-name

Elapsed months at start of Chinese sexagesimal month cycle. DR4 320 (19.21), chinese-month-name-epoch

Number of names from Chinese name c_name1 to the next occurrence of Chinese name c_name2. DR4 319 (19.19), chinese-name-difference

Fixed date (Beijing) of first new moon before fixed date. DR4 310 (19.10), chinese-new-moon-before

Fixed date (Beijing) of first new moon on or after fixed date. DR4 309 (19.9), chinese-new-moon-on-or-after

Fixed date of Chinese New Year in Gregorian year g_year. DR4 322 (19.26), chinese-new-year

Fixed date of Chinese New Year in sui (period from solstice to solstice) containing date. DR4 315 (19.13), chinese-new-year-in-sui

Fixed date of Chinese New Year on or before fixed date. Got the New Year after--this happens if date is after the solstice but before the new year. So, go back half a year. DR4 316 (19.14), chinese-new-year-on-or-before

True if Chinese lunar month starting on fixed date has no major solar term. DR4 313 (19.11), chinese-no-major-solar-term?

True if there is a Chinese leap month on or after lunar month starting on fixed day m_prime and at or before lunar month starting at fixed date m. DR4 313 (19.12), chinese-prior-leap-month?

The n-th name of the Chinese sexagesimal cycle. DR4 319 (19.18), chinese-sexagesimal-name

Moment (Beijing time) of the first time at or after tee (Beijing time) when the solar longitude will be lambda degrees. DR4 308 (19.3), chinese-solar-longitude-on-or-after

Fixed date, in the Chinese zone, of winter solstice on or before fixed date. DR4 309 (19.8), chinese-winter-solstice-on-or-before

The marriage augury type of Chinese year in cycle. DR4 325 (19.34), chinese-year-marriage-augury

Sexagesimal name for Chinese year of any cycle. DR4 320 (19.20), chinese-year-name

Christmas DR4 70 (2.41), christmas

Fixed date of Classical (observational) Passover Eve (Nisan 14) occurring in Gregorian year g_year. DR4 298 (18.25), classical-passover-eve

Clock time hour:minute:second from moment tee. DR4 28 (1.44), clock-from-moment

Coptic Christmas. DR4 93 (4.9), coptic-christmas

Coptic Epoch. = fixed-from-julian(ce(284), august, 29) DR4 90 (4.1), coptic-epoch

Returns the Coptic date {year, month, day} corresponding to fixed_date. DR4 91 (4.4), coptic-from-fixed

Returns the list of the fixed dates of Coptic month c_month and Coptic day c_day that occur in Gregorian year g_year. DR4 92 (4.8), coptic-in-gregorian

Returns true if the given year is a leap year. DR4 90 (4.2), coptic-leap-year?

Cosine of theta (given in degrees).

Last Chinese major solar term (zhongqi) before fixed date. DR4 306 (19.1), current-major-solar-term

Last Chinese minor solar term (jieqi) before fixed date. DR4 308 (19.5), current-minor-solar-term

Returns the occurrences of seasons in g_year with year_length. DR4 83 (3.22), cycle-in-gregorian

Convert moment into complete Gregorian DateTime {year, month, day, hour, minute, second}.

Standard time in morning on fixed date at location when depression angle of sun is alpha. Returns bogus if there is no dawn on date. See DR4 244 for various depression angles. DR4 241 (14.72), dawn

Returns the ordinal day number of the Gregorian date date. DR4 62 (2.25), day-number

Returns the weekday of fixed. DR4 33 (1.60)

U.S. Daylight Saving End (as of 2007, the second Sunday in March and the first Sunday in November) DR4 70 (2.40), daylight-saving-end

U.S. Daylight Saving Start DR4 70 (2.39), daylight-saving-start

Number of days in Hebrew year h_year. DR4 123 (8.26), days-in-hebrew-year

Returns the number of days remaining in the Gregorian year after the date date. DR4 62 (2.26), days-remaining

Length of daytime temporal hour on fixed date at location. Returns bogus if there no sunrise or sunset on date. DR4 247 (14.89), daytime-temporal-hour

Declination at moment UT tee of object at latitude beta and longitude lambda. DR4 220 (14.29), declination lines 3630-3639 of calendrica-4.0.cl

x degrees. For typesetting purposes.

Convert angle from radians to degrees.

Angle (clockwise from North) to face focus when standing in location. DR4 205 (14.6), direction

List of fixed date(s) of Diwali in Gregorian year g_year. DR4 368 (20.57), diwali

Lichun occurs twice (double_happiness). DR4 325 (19.30), double-bright

Fixed date of the Dragon Festival occurring in Gregorian year g_year. DR4 324 (19.27), dragon-festival

Standard time in evening on fixed date at location when depression angle of sun is alpha. Returns bogus if there is no dusk on date. DR4 242 (14.74), dusk

Dynamical time at Universal moment t_universal. DR4 212 (14.16), dynamical-from-universal

fixed in location is in a month that was forced to start early. DR4 294 (18.14), early-month?

Returns the fixed date of Christian Gregorian date of easter. DR4 148 (9.3), easter

DR4 85 (3.25), eastern-orthodox-christmas

Epyptian Epoch.

Returns the Egyptian date {year, month, day} corresponding to fixed_date. DR4 31 (1.49), egyptian-from-fixed

U.S. Election Day DR4 70 (2.38), election-day

Dynamical Time minus Universal Time (in days) for moment tee. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell (1991) for years 1600-1986 and from polynomials on the NASA Eclipse web site for other years. DR4 210 (14.15), ephemeris-correction

Epiphany DR4 71 (2.43), epiphany

Equation of time (as fraction of day) for moment tee. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, p. 185. lines 4017-4046 of calendrica-4.0.cl DR4 215 (14.20), equation-of-time

Approximate moment at or before tee when solar longitude just exceeded lambda degrees. DR4 226 (14.42), estimate-prior-solar-longitude

Ethiopic Epoch. = August 29, 8 CE (Julian) DR4 92 (4.5), ethiopic-epoch

Returns the Ethiopic date {year, month, day} corresponding to fixed. DR4 92 (4.7), ethiopic-from-fixed

Signifies evening. DR4 241 (14.73), evening

DR4 277 (16.12), feast-of-ridvan

Returns the last integer greater or equal to initial index, i such that condition p holds. DR4 24 (1.33), MAX

Returns the Fixed date of the first k-day after a given Gregorian date date. DR4 69 (2.34), first-kday

Fixed date of Arithmetic French Revolutionary fixed date. DR4 285 (17.9), fixed-from-arithmetic-french

Fixed date equivalent to Persian date p_date. DR4 262 (15.8), fixed-from-arithmetic-persian

Returns the fixed date corresponding to the Armenian date. DR4 31 (1.51), fixed-from-armenian

Fixed date equivalent to Bahai date. DR4 275 (16.8), fixed-from-astro-bahai

Fixed date corresponding to Hindu lunar date l_date. DR4 361 (20.49), fixed-from-astro-hindu-lunar

Fixed date corresponding to Astronomical Hindu solar date (Tamil rule; Saka era). DR4 360 (20.46), fixed-from-astro-hindu-solar

Fixed date of Babylonian date. DR4 291 (18.7), fixed-from-babylonian

Fixed date of Astronomical Bahai date. DR4 271 (16.3), fixed-from-bahai

Fixed date of Chinese date c_date. otherwise, there was a prior leap month that year, so we want the next month DR4 318 (19.17), fixed-from-chinese

Returns the fixed_date corresponding to the Coptic date. DR4 90 (4.3), fixed-from-coptic

Returns the fixed date corresponding to the Egyptian date. DR4 30 (1.47), fixed-from-egyptian

Returns the Fixed date corresponding to the Ethiopic date. DR4 92 (4.6), fixed-from-ethiopic

Fixed date of French Revolutionary date. DR4 284 (17.5), fixed-from-french

Returns the fixed date corresponding to the Gregorian date. DR4 60 (2.17), fixed-from-gregorian

Returns the Fixed date corresponding to the Hebrew date {year, month, day}. DR4 123 (8.27), fixed-from-hebrew

Fixed date equivalent to Hindu lunar l_date in full_moon scheme. DR4 356 (20.37), fixed-from-hindu-fullmoon

Fixed date corresponding to Hindu lunar date l_date. DR4 350 (20.24), fixed-from-hindu-lunar

Fixed date corresponding to Hindu solar date s_date (Saka era; Orissa rule.) Search forward to correct month DR4 348 (20.21), fixed-from-hindu-solar

Returns the Fixed date corresponding to the Icelandic date {year, season, week, weekday}. DR4 100 (6.4), fixed-from-icelandic

Returns the Fixed date corresponding to the Islamic date {year, month, day}. DR4 107 (7.3), fixed-from-islamic

Returns the Fixed date corresponding to the ISO year, week, day date. DR4 95 (5.1), fixed-from-iso

Returns the fixed date corresponing to moment tee. DR4 20 (1.13), fixed-from-jd

Returns the fixed date corresponding to the date. DR4 76 (3.3), fixed-from-julian

Fixed date corresponding to Mayan Long Count count. DR4 171 (11.2), fixed-from-mayan-long-count

Returns the fixed date corresponding to the MJD Number mjd. DR4 19 (1.7), fixed-from-mjd

Fixed date of the molad that occurs moon days and fractional days into the week. DR4 126 (8.29), fixed-from-molad

Returns the fixed date corresponing to moment tee. DR4 20 (1.12), fixed-from-moment

Fixed date equivalent to Observational Hebrew date i_date. DR4 298 (18.24), fixed-from-observational-hebrew

Fixed date equivalent to Observational Islamic date i_date. DR4 293 (18.11), fixed-from-observational-islamic

Fixed date corresponding to Old Hindu lunar date l_date. DR4 165 (10.14), fixed-from-old-hindu-lunar

Fixed date corresponding to Old Hindu solar date s_date. DR4 158 (10.7), fixed-from-old-hindu-solar

Fixed date of Astronomical Persian date p_date. DR4 260 (15.5), fixed-from-persian

Returns the fixed date corresponding to the Roman date. DR4 80 (3.10), fixed-from-roman

Fixed date of Samaritan date s_date. DR4 301 (18.34), fixed-from-samaritan

Fixed date equivalent to Saudi Islamic date i_date. DR4 296 (18.19), fixed-from-saudi-islamic

Fixed date corresponding to Tibetan lunar date t_date. DR4 378 (21.4), fixed-from-tibetan

French Epoch. DR4 283 (17.4), french-epoch

French Revolutionary date of fixed date. DR4 284 (17.6), french-from-fixed

Returns true if the given year is a leap year. DR4 284 (17.7), french-leap-year?

Fixed date of French Revolutionary New Year on or before fixed date. DR4 283 (17.3), french-new-year-on-or-before

The number corresponding to a in radix notation with base b for whole part and c for fraction. DR4 27 (1.41), from-radix

Greatest common denominator. DR4 21 (1.22), gcd

Greenwich. DR4 204 (14.2), greenwich

Returns the number of days between two Gregorian dates date1, date2. DR4 62 (2.24), gregorian-date-difference

Gregorian Epoch. DR4 58 (2.3), gregorian-epoch = R.D. 1.

Returns the Gregorian date {year, month, day} corresponding to fixed_date. DR4 62 (2.23), gregorian-from-fixed

Returns true if the given year is a leap year. DR4 59 (2.16), gregorian-leap-year?

Returns the Fixed date corresponding the January, 1st of the Gregorian year. DR4 60 (2.18), gregorian-new-year

Returns the ordinal day of fixed in its Gregorian year. DR4 61 (2.22)

Returns the Fixed date corresponding the December, 31st of the Gregorian year. DR4 60 (2.19), gregorian-year-end

Returns the yearof the Gregorian date corresponding to the Fixed date fixed. DR4 61 (2.21), gregorian-year-from-fixed

Returns the range of dates (= number of days) of the Gregorian year year. DR4 60 (2.20), gregorian-year-range

Fixed date(s) of first day of Hanukkah in Gregorian year g_year. DR4 134 (8.43), hanukkah

Fixed date of the anniversary of Hebrew birthdate in Hebrew h_year. DR4 135 (8.44), hebrew-birthday

Returns the number of days elapsed from the (Sunday) noon prior to the epoch of the Hebrew calendar to the mean conjunction (molad) of Tishri of Hebrew year h_year, or one day later. DR4 121 (8.20), hebrew-calendar-elapsed-days

Hebrew Epoch. = (Tishri 1, 1 AM) = fixed-from-julian(bce(3761), october, 7) DR4 119 (8.17), hebrew-epoch

Returns the Hebrew date {year, month, day} equivalent to fixed date. DR4 123 (8.28), hebrew-from-fixed

List of the fixed dates of Hebrew month h_month, day h_day that occur in Gregorian year g_year. DR4 133 (8.42), hebrew-in-gregorian

Returns true if the given year is a leap year. DR4 115 (8.14), hebrew-leap-year

Take Haifa, a city at the western edge of Israel, as the location of the observation. DR4 297 (18.21), hebrew-location

Fixed date of Hebrew new year h_year. DR4 122 (8.22), hebrew-new-year

DR4 115 (8.16), hebrew-sabbatical-year?

Delays to start of Hebrew year h_year to keep ordinary year in range 353-356 and leap year in range 383-386. DR4 122 (8.21), hebrew-year-length-correction

Time from apogee to apogee, with bija correction. DR4 345 (20.10), hindu-anomalistic-month

Time from aphelion to aphelion. DR4 344 (20.9), hindu-anomalistic-year

Inverse of Hindu sine function of amp. DR4 343 (20.6), hindu-arcsin

Difference between right and oblique ascension of sun on fixed at location. DR4 352 (20.27), hindu-ascensional-difference

Determine solar year at given moment tee. DR4 347 (20.18), hindu-calendar-year

Fixed date of Hindu creation. DR4 344 (20.8), hindu-creation

Sidereal daily motion of sun on fixed. DR4 353 (20.30), hindu-daily-motion

Fixed date of occurrence of Hindu lunar l_month, l_day in Hindu lunar year l_year, taking leap and expunged days into account. When the month is expunged, then the following month is used. DR4 367 (20.55), hindu-date-occur

Elapsed days (Ahargana) to fixed since Hindu epoch (KY). DR4 156 (10.2), hindu-day-count

The OldHindu epoch is the first day of year 0 of the Kali Yuga: = February 18, 3102 BCE (Julian) = January 23, -3101 (Gregorian) = -1132959 RD DR4 156 (10.1), hindu-epoch

Time from true to mean midnight of fixed. (This is a gross approximation to the correct value.) Arcsin is not needed since small DR4 353 (20.32), hindu-equation-of-time

True of Hindu lunar month l_month in l_year is expunged. DR4 356 (20.38), hindu-expunged?

Hindu lunar date, full_moon scheme, equivalent to fixed date. DR4 356 (20.36), hindu-fullmoon-from-fixed

DR4 351 (20.26), hindu-location

Time lunar_day (tithi) number k begins at or after moment tee. k can be fractional (for karanas). DR4 365 (20.52), hindu-lunar-day-at-or-after

Phase of moon (tithi) at moment tee, as an integer in the range 1..30. DR4 346 (20.16), hindu-lunar-day-from-moment

Years from Kali Yuga until Vikrama era. DR4 349 (20.22), hindu-lunar-era

List of fixed dates of occurrences of Hindu lunar tithi prior to sundial time tee, in Hindu lunar l_month, in Gregorian year g_year. DR4 368 (20.59), hindu-lunar-event

Hindu lunar date, new_moon scheme, equivalent to fixed date. DR4 349 (20.23), hindu-lunar-from-fixed

List of fixed dates of occurrences of Hindu lunar month, day in Gregorian year g_year. DR4 367 (20.56), hindu-lunar-holiday

Lunar longitude at moment tee. DR4 346 (20.14), hindu-lunar-longitude

Fixed date of Hindu lunisolar new year in Gregorian g_year. Next day if new moon after sunrise, unless lunar day ends before next sunrise. DR4 365 (20.53), hindu-lunar-new-year

True if Hindu lunar date l_date1 is on or before Hindu lunar date l_date2. DR4 367 (20.54), hindu-lunar-on-or-before?

Longitudinal distance between the sun and moon at moment tee. DR4 346 (20.15), hindu-lunar-phase

Hindu lunar station (nakshatra) at sunrise on fixed. DR4 369 (20.62), hindu-lunar-station

Position in degrees at moment tee in uniform circular orbit of period days. DR4 344 (20.7), hindu-mean-position

Approximate moment of last new moon preceding moment tee, close enough to determine zodiacal sign. DR4 346 (20.17), hindu-new-moon-before

Tabulated speed of rising of current zodiacal sign on fixed. DR4 353 (20.31), hindu-rising-sign

Mean length of Hindu sidereal month. DR4 336 (20.2), hindu-sidereal-month

Mean length of Hindu sidereal year. DR4 336 (20.1), hindu-sidereal-year

Linear interpolation for theta in Hindu table. DR4 342 (20.5), hindu-sine

This simulates the Hindu sine table. entry is an angle given as a multiplier of 225'. DR4 342 (20.4), hindu-sine-table

Years from Kali Yuga until Saka era. DR4 347 (20.19), hindu-solar-era

Hindu (Orissa) solar date equivalent to fixed date. DR4 347 (20.20), hindu-solar-from-fixed

Solar longitude at moment tee. DR4 345 (20.12), hindu-solar-longitude

Moment of the first time at or after tee when Hindu solar longitude will be lambda degrees. DR4 364 (20.50), hindu-solar-longitude-at-or-after

Difference between solar and sidereal day on fixed. DR4 352 (20.29), hindu-solar-sidereal-difference

Hindu local time of temporal moment tee. DR4 355 (20.35), hindu-standard-from-sundial

Sunrise at location on fixed. DR4 354 (20.33), hindu-sunrise

Sunset at hindu_location on date. DR4 354 (20.34), hindu-sunset

Mean time from new moon to new moon. DR4 336 (20.3), hindu-synodic-month

Fixed date of occurrence of Hindu lunar tithi prior to sundial time tee, in Hindu lunar l_month, l_year. DR4 368 (20.58), hindu-tithi-occur

Hindu tropical longitude on fixed date.atest Assumes precession with maximum of 27 degrees and period of 7200 sidereal years (= 1577917828/600 days). DR4 352 (20.28), hindu-tropical-longitude

Longitudinal position at moment tee. period is period of mean motion in days. size is ratio of radii of epicycle and deferent. anomalistic is the period of retrograde revolution about epicycle. change is maximum decrease in epicycle size. DR4 345 (20.11), hindu-true-position

Zodiacal sign of the sun, as integer in range 1..12, at moment tee. DR4 345 (20.13), hindu-zodiac

Convert x hours into a fraction of a day.

Icelandic Epoch. The Epoch of the Icelandic calendar is Thursday, April 19, in year 1 of the Gregorian calendar, the onset of Icelandic summer. = Thursday, April 19, 1 (Gregorian) DR4 100 (6.1), icelandic_epoch

Returns the Icelandic date {year, season, week, weekday} equivalent to fixed date. DR4 101 (6.5), icelandic-from-fixed

Returns true if the given year is a leap year. Ordinary years, with 52 weeks, have 364 days; leap years have 371 years (53 weeks). DR4 101 (6.6), icelandic-leap-year

Returns the month of the season. The months of each season are numbered 1..6 and can be determined from the date by counting units of 30 days from the start of the season. DR4 101 (6.7) icelandic-month

Returns the week of the begin of the Icelandic summer. DR4 100 (6.2), icelandic-summer

Returns the week of the begin of the Icelandic winter. DR4 100 (6.3), icelandic-winter

Ides of month. DR4 77 (3.8), ides-of-month

True if tee is in half_open range. DR4 26 (1.38), in-range?

U.S. Indepence Day DR4 69 (2.32), independence-day

Use bisection to find inverse of angular function f at y within interval a..b. lines 665-672 of calendrica-4.0.cl DR4 25 (1.36), invert-angular

Islamic Epoch. The Calendar is computed, by the majority of the Muslim world, starting at sunset of Thursday, July 15, &22 C.E. (Julian), the year of Mohammad's migration to Medina from Mecca.. The introduction of the calöendar is often attrituted to the Caliph 'Umar in 639 C.E., but there is evidence that it was in use before his succession. Muslims count R.D. 227015 = Friday, July 16, 622 C.E. (Julian) as the beginning of the Islamic year 1, that is, as Muharram 1, A.H. (Anno Hegira). DR4 106 (7.1), islamic-epoch = fixed-from-julian(ce(622), july, 16)

Returns the Islamic date {year, season, week, weekday} equivalent to fixed date. DR4 108 (7.4), islamic-from-fixed

Returns the list of the fixed dates of a Islamic date that occur in Gregorian year g_year. DR4 108 (7.5), islamic-in-gregorian

Returns true if the given year is a leap year. DR4 102 (7.2), islamic-leap-year

Take the Al-Azhar University, Cairo, a major Islamic religious center, as the location of the observation. DR4 293 (18.10), islamic-location

Returns the ISO date [year, week, day] equivalent to fixed date. DR4 96 (5.2), iso-from-fixed

Returns true, if year is a long (= 53 week) year, instead of the normal short (= 52 week) year. DR4 97 (5.3), iso-long-year?

Italian time corresponding to local time t_local. DR4 247 (14.88), italian-from-local

Noon at start of Gregorian year 2000 (precalculated). = gregorian_new_year(2000) + hr(12) DR4 212 (14.19), j2000

Location for Japanese calendar; varies with tee. Tokyo (139 deg 46 min east) local time DR4 326 (19.35), japanese-location

Returns the moment corresponding to the Julian Day Number 0. JD0 = noon on Monday, January 1, 4713 B.C.E. (Julian)

Returns the Julian Day Number jd corresponding to the moment tee. DR4 20 (1.14), jd-from-fixed

Returns the Julian Day Number jd corresponding to the moment tee. DR4 18 (1.5), jd-from-moment

Jerusalem. DR4 204 (14.4), jerusalem

Standard time of Jewish dusk on fixed date at location (as per Vilna Gaon). DR4 243 (14.81), jewish-dusk

Standard time on fixed date at location of end of morning according to Jewish ritual. DR4 248 (14.92), jewish-morning-end

Standard time of end of Jewish sabbath on fixed date at location (as per Berthold Cohn). DR4 243 (14.80), jewish-sabbath-ends

Year of Jupiter cycle at fixed date. DR4 157 (10.5), jovian-year

Julian centuries since 2000 at moment tee. DR4 212 (14.18), julian-centuries

Julian Epoch. {:gregorian, {0, 12, 30}} DR4 76 (3.2), julian-epoch

Returns the Julian date {year, month, day} corresponding to fixed_date. DR4 76 (3.4), julian-from-fixed

Returns the list of the fixed dates of Julian month j_month and Julian day j_day that occur in Gregorian year g_year. DR4 85 (3.24), julian-in-gregorian

Returns true if the given year is a leap year. DR4 75 (3.1), julian-leap-year

DR4 84 (3.23), julian-season-in-gregorian

Returns the Julian year equivalent to AUC year. DR4 81 (3.13), julian-year-from-auc

Returns the year on the Julian calendar of the olympiad. DR4 82 (3.16), julian-year-from-olympiad

Returns the year AUC equivalent to Julian year. DR4 81 (3.14), auc-year-from-julian

Occurrences of Kajeng Keliwon (9th day of each 15-day subcycle of Pawukon) in Gregorian year g_year. DR4 190 (12.16), kajeng-keliwon

Kalends, Nones, and Ides. The kalends are always the first of the month. The ides are near the middle of the month - the thirteenth of the month, ecept in March, May, July, and October, when they fall on the fifteenth... The nones are always 8 days before the ides. DR4 77

Number (0-10) of the name of the n-th (1-60) Hindu karana. DR4 369 (20.63), karana

DR4 34 (1.68)

DR4 34 (1.67)

DR4 34 (1.66)

Location for Korean calendar; varies with tee. Seoul city hall at a varying time zone. local mean time for longitude 126 deg 58 min DR4 328 (19.36), korean-location

Equivalent Korean year to Chinese cycle and year. DR4 328 (19.37), korean-year

U.S. Labor Day DR4 69 (2.36), labor-day

Returns the last day of a Gregorian month given by date and month. DR4 63 (2.27), last-day-of-gregorian-month

Last day of month month in Hebrew year year. DR4 122 (8.23), last-day-of-hebrew-month

Returns the Fixed date of the last k-day before, a given Gregorian date date. DR4 69 (2.35), last-kday

DR4 115 (8.15), last-month-of-hebrew-year

Least common multiple. DR4 21 (1.23), lcm

Convert each element of a list of moments into a fixed date. DR4 26 (1.37), list-of-fixed-from-moments

Those moments in list ell that occur in range. DR4 26 (1.39), list-range

Local time from sundial time tee at location. DR4 218 (14.22), local-from-apparent

Local time corresponding to Italian time tee. DR4 247 (14.87), local-from-italian

Local time from standard t_standard at location. DR4 208 (14.14), local-from-standard

Local time from universal t_universal at location. DR4 208 (14.10), local-from-universal

Local time of dusk in Padua, Italy on date of moment tee. DR4 246 (14.86), local-zero-hour

True if Marheshvan is long in Hebrew year h_year. DR4 122 (8.24), long-marheshvan?

Fixed date of Tibetan New Year (Losar) in Tibetan year t_year. DR4 381 (21.8), losar

Geocentric altitude of moon at tee at location, as a small positive/negative angle in degrees, ignoring parallax and refraction. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998. DR4 237 (14.64), lunar-altitude

Mean anomaly of moon (in degrees) at moment given in Julian centuries c. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, p. 338. DR4 234 (14.52), lunar-anomaly

Geocentric apparent lunar diameter of the moon (in degrees) at moment tee. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998. DR4 252 (14.102), lunar-diameter

Distance to moon (in meters) at moment tee. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, pp. 338-342. DR4 238 (14.65), lunar-distance

Elongation of moon (in degrees) at moment given in Julian centuries c. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, p. 338. DR4 234 (14.50), lunar-elongation

Latitude of moon (in degrees) at moment tee. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, pp. 338-342. DR4 (14.63), lunar-latitude

Longitude of moon (in degrees) at moment tee. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, pp. 338-342. DR4 232 (14.48), lunar-longitude

Angular distance of the lunar node from the equinoctial point on fixed date. DR4 234 (14.54), lunar-node

Parallax of moon at tee at location. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998. DR4 238 (14.66), lunar-parallax

Lunar phase, as an angle in degrees, at moment tee. An angle of 0 means a new moon, 90 degrees means the first quarter, 180 means a full moon, and 270 degrees means the last quarter. DR4 235 (14.56), lunar-phase

Moment UT of the next time at or after tee when the lunar_phase is phi degrees. DR4 235 (14.58), lunar-phase-at-or-after

Moment UT of the last time at or before tee when the lunar_phase was phi degrees. DR4 235 (14.57), lunar-phase-at-or-before

Topocentric lunar semi_diameter at moment tee and location. DR4 251 (14.101), lunar-semi-diameter

Moment (in Beijing) of the first Chinese major solar term (zhongqi) on or after fixed date. The major terms begin when the sun's longitude is a multiple of 30 degrees. DR4 308 (19.4), major-solar-term-on-or-after

Returns the Gregorian date of the Mawlid holiday. DR4 109 (7.6), mawlid

Fixed date of latest date on or before fixed, that is Mayan haab date haab and tzolkin date tzolkin. Returns bogus for impossible combinations. DR4 176 (11.13), mayan-calendar-round-on-or-before

Mayan Epoch. Fixed date of start of the Mayan calendar, according to the Goodman-Martinez-Thompson correlation. Monday, August 11, -3113 (Gregorian), = September 6, 3114 BCE (Julian), = 584283 (JD) = -1137142 (R.D.) DR4 171 (11.1), mayan-epoch

MayanHaab Epoch. The long count date 0.0.0.0.0 is considered to be the haab date 8 Cumku (...), which we specify by giving the starting R.D. date of the haab cycle preceding the start of the long count. mayan-haab-epoch = mayan-epoch - mayan-haab-ordinal(18, 8) DR4 173 (11.5), mayan-haab-epoch

Mayan haab date of fixed date. DR4 173 (11.6), mayan-haab-from-fixed

Fixed date of latest date on or before fixed date that is Mayan haab date haab. DR4 173 (11.7), mayan-haab-on-or-before PyCalCal

Number of days into cycle of Mayan haab date h_date. DR4 173 (11.4), mayan-haab-ordinal

Mayan long count date of fixed date. DR4 171 (11.3), mayan-long-count-from-fixed

MayanTzolkin Epoch. __ The long count date 0.0.0.0.0 is taken to be the tzolkin date 4 Ahau (...). Representing tzolkin dates as pairs of positive integers {number, name} where numberabd nameare integers in the ranges 1 to 13 and 1 to 20, respectively, we specify

Mayan tzolkin date of fixed date. DR4 175 (11.9), mayan-tzolkin-from-fixed

Fixed date of latest date on or before fixed date that is Mayan tzolkin date tzolkin. DR4 175 (11.11), mayan-tzolkin-on-or-before

Number of days into Mayan tzolkin cycle of t_date. DR4 175 (11.10), mayan-tzolkin-ordinal

Mean longitude of moon (in degrees) at moment given in Julian centuries c. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, pp. 337-340. DR4 233 (14.49), mean-lunar-longitude

DR4 221 (14.32), mean-sidereal-year

DR4 227 (14.44), mean-synodic-month

DR4 221 (14.31), mean-tropical-year

Mecca. DR4 204 (14.3), mecca

U.S. Memorial Day DR4 70 (2.37), memorial-day

Fixed moment of Mesha samkranti (Vernal equinox) in Gregorian g_year. DR4 364 (20.51), mesha-samkranti

Universal time on fixed date of midday at location. DR4 218 (14.26), midday

Universal time of true noon on fixed date in Tehran. DR4 259 (15.3), midday-in-tehran

Universal time of true (apparent) midnight of fixed date at location. DR4 218 (14.25), midnight

Universal time of (clock) midnight at start of fixed date in China. DR4 309 (19.7), midnight-in-china

Universal time of true noon on fixed date in Paris. DR4 283 (17.2), midnight-in-paris

Moment (in Beijing) of the first Chinese minor solar term (jieqi) on or after fixed date. The minor terms begin when the sun's longitude is an odd multiple of 15 degrees. DR4 308 (19.6), minor-solar-term-on-or-after

MJD Epoch. = midnight on Wednesday, November 17, 1858 (Gregorian) DR4 19 (1.6), mjd-epoch

Returns the MJD Number mjd corresponding to fixed date. DR4 19 (1.8), mjd-from-fixed

Convert x minutes into a fraction of a day.

Modified modulo function. DR4 21 (1.17)

Returns the Interval Modulus. The value of x shifted into the range [a..b). Returns x if a=b. DR4 22 (1.24), mod3 aka imod

Returns the moment of mean conjunction of h_month in Hebrew h_year. DR4 119 (8.19), molad

Round moment to integer number of seconds. (not DR4)

Returns the moment corresponding to the Julian Day Number jd. DR4 18 (1.4), moment-from-jd

Returns the moment corresponding to the Unix date s. DR4 19 (1.10), moment-from-unix

Moment in local time near approx when depression angle of sun is alpha (negative if above horizon) at location; early? is true when morning event is sought, and false for evening. Returns bogus if depression angle is not reached. DR4 241 (14.70), moment-of-depression

Length of lunar month based on observability at location, which includes fixed. DR4 294 (18.13), month-length

Moon's argument of latitude (in degrees) at moment given in Julian centuries c. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, p. 338. DR4 234 (14.53), moon-node

Moonlag. The lag time is simply the difference between the times of the moon and the sun. DR4 290 (18.1), moonlag

Standard time of moonrise on fixed date at location. Returns bogus if there is no moonrise on fixed. Else no moonrise this day. DR4 244 (14.83), moonrise

Standard time of moonset on fixed date at location. Returns bogus if there is no moonset on fixed. Else no moonset this day. DR4 245 (14.84), moonset

Signifies morning. DR4 241 (14.71), morning

Date of Bahai New Year in Gregorian year g_year. DR4 277 (16.11), naw-ruz

Moment UT of first new moon at or after tee. DR4 231 (14.47), new-moon-at-or-after

Moment UT of last new moon before tee. DR4 230 (14.46), new-moon-before

Returns the first integer greater or equal to initial index i such that condition p holds. DR4 23 (1.32), MIN

Length of nighttime temporal hour on fixed date at location. Returns bogus if there no sunrise or sunset on date. DR4 248 (14.90), nighttime-temporal-hour

Nones of month. DR4 78 (3.9), nones_of_month

Date of Persian New Year (Nowruz) in Gregorian year g_year. DR4 265 (15.11), nowruz

Returns the Fixed date of the n-th k-day (n != 0 and kday the day of the week) on, or after or before, a given Gregorian date g_date (counting forward when n > 0, or backward when n < 0). DR4 69 (2.33), nth-kday

Moment of n-th new moon after (or before) the new moon of January 11, 1. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, corrected 2nd edn., 2005. DR4 229 (14.45), nth-new-moon

Longitudinal nutation at moment tee. DR4 223 (14.34), nutation lines 4100-4110 of calendrica-4.0.cl

Obliquity of ecliptic at moment tee. lines 3620-3628 of calendrica-4.0.cl DR4 220 (14.28), obliquity

Fixed date of Observational (classical) Nisan 1 occurring in Gregorian year g_year. DR4 297 (18.22), observational-hebrew-first-of-nisan

Observational Hebrew date {year, month, day} corresponding to fixed date. DR4 298 (18.23), observational-hebrew-from-fixed

Observational Islamic date {year, month, day} corresponding to fixed date. DR4 294 (18.12), observational-islamic-from-fixed

Observed altitude of upper limb of moon at tee at location, as a small positive/negative angle in degrees, including refraction and elevation. 16' is the approximate half-diameter of the moon. DR4 243 (14.82), observed-lunar-altitude

True if l_year is a leap year on the old Hindu calendar. DR4 163 (10.11), old-hindu-lunar-leap-year?

Old Hindu lunar fixed equivalent to fixed fixed. DR4 165 (10.13), old-hindu-lunar-from-fixed

Old Hindu solar fixed equivalent to fixed. DR4 159 (10.8), old-hindu-solar-from-fixed

Returns the Olympiad corresponding to Julian year j_year. DR4 82 (3.17), olympiad-from-julian-year

Returns the start of the Olympiads. DR4 82 (3.15), olympiad-start

Number of elapsed weeks and days in the omer at fixed. Returns bogus if that date does not fall during the omer. DR4 129 (8.32), omer

Returns the Fixed date Gregorian g_year of Orthodox Easter. DR4 146 (9.1), orthodox-easter

Location of Padua. DR4 246 (14.85), padua

Location of Paris Observatory. Longitude corresponds to difference of 9m 21s between Paris time zone and Universal Time. DR4 283 (17.1), paris

Fixed date of Passover occurring in Gregorian year g_year. DR4 129 (8.31), passover

Returns the fixed Date of Christian Gregorian date of pentecost. DR4 152 (9.4), pentecost

Persian Epoch. ... we just number the years, ..., and choose as epoch the traditional year of ascension of the first Yarlun King, Nyatri Tsenpo. = fixed-from-julian(622 C.E., march, 19) DR4 258 (15.1), persian-epoch

Astronomical Persian date {year, month, day} corresponding to fixed date. DR4 260 (15.6), persian-from-fixed

Fixed date of Astronomical Persian New Year on or before fixed date. DR4 259 (15.4), persian-new-year-on-or-before

Closest fixed date on or after date on the eve of which crescent moon first became visible at location. DR4 252 (14.105), phasis-on-or-after

Closest fixed date on or before date when crescent moon first became visible at location. DR4 252 (14.104), phasis-on-or-before

Sum powers of x with coefficients (from order 0 up) in list ell. see lines 685-691 of calendrica-4.0.cl

Returns the list of occurrences of n-th day of c-day cycle in range. delta is the position in cycle of RD 0. a and b define the range to be searched. DR4 27 (1.40), positions-in-range

Possible days of week. DR4 139 (8.50), possible-hebrew-days

List of possible weekdays. DR4 138 (8.48)

Precession at moment tee using 0,0 as J2000 coordinates. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, pp. 136-137. DR4 225 (14.39), precession

Product of expression for index = initial and successive integers, as long as condition holds. DR4 23 (1.31), lines 643-651 of calendrica-4.0.cl

Fixed date of Purim occurring in Gregorian year g_year. DR4 129 (8.33), purim

Fixed date of Qingming occurring in Gregorian year g_year. DR4 324 (19.28), qing-ming

Convert angle from degrees to radians.

List of fixed date(s) of Rama's Birthday in Gregorian year g_year. DR4 369 (20.61), rama

Identity function for fixed dates/moments. If internal timekeeping is shifted, change epoch to be RD date of origin of internal count. epoch should be an integer. see lines 693-699 of calendrica-4.0.cl DR4 12 (1.1), rd

Refraction angle at moment tee at location. The moment is not used. DR4 242 (14.75), refraction

Right ascension at moment UT tee of object at latitude beta and longitude lambda. DR4 220 (14.30), right-ascension lines 3641-3651 of calendrica-4.0.cl

Returns the Romam date corresponding to the fixed date. DR4 80 (3.11), roman-from-fixed

Rounded value. DR4 20 (1.15), round

List of Wednesdays in Gregorian year g_year that are day 8 of Hindu lunar months. DR4 370 (20.65), sacred-wednesdays

List of Wednesdays within range of dates that are day 8 of Hindu lunar months. DR4 371 (20.66), sacred-wednesdays-in-range

Samaritan epoch. fixed_from_julian(bce(1639), 3, 15) DR4 301 (18.32), samaritan-epoch

Samaritan date corresponding to fixed date. DR4 302 (18.35), samaritan-from-fixed

Location of Mt. Gerizim. DR4 300 (18.28), samaritan-location

Fixed date of first new moon after UT moment tee. Modern calculation. DR4 300 (18.30), samaritan-new-moon-after

Fixed_date of last new moon before UT moment tee. Modern calculation. DR4 300 (18.31), samaritan-new-moon-at-or-before

Fixed date of Samaritan New Year on or before fixed date. DR4 301 (18.33), samaritan-new-year-on-or-before

Universal time of true noon on fixed at Samaritan location. DR4 300 (18.29), samaritan-noon

Moment(s) of season in Gregorian year g_year. DR4 132 (8.39), samuel-season-in-gregorian

Saudi visibility criterion on eve of fixed date in Mecca. DR4 296 (18.17), saudi-criterion

Saudi Islamic date {year, month, day} corresponding to fixed date. DR4 296 (18.20), saudi-islamic-from-fixed

Closest fixed date on or before fixed when Saudi visibility criterion held. DR4 296 (18.18), saudi-new-month-on-or-before

Moment UT of season in Gregorian year g_year. seelines 4157-4161 of calendrica-4.0.cl DR4 224 (14.37), season-in-gregorian

Convert x seconds into a fraction of a day.

List of fixed dates of Sh'ela occurring in Gregorian year g_year. DR4 131 (8.37), sh-ela

S. K. Shaukat's criterion for likely visibility of crescent moon on eve of date at location. Not intended for high altitudes or polar regions. DR4 250 (14.97), shaukat-criterion

Shift each weekday on list l by cap-Delta days. DR4 138 (8.49), shift-days

List of fixed date(s) of Night of Shiva in Gregorian year g_year. DR4 369 (20.60), shiva

True if Kislev is short in Hebrew year h_year. DR4 122 (8.25), short-kislev?

Mean sidereal time of day from moment tee expressed as hour angle. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, Inc., 2nd edn., 1998, p. 88. lines 3923-3933 of calendrica-4.0.cl DR4 219 (14.27), sidereal-from-moment

Sidereal lunar longitude at moment tee. DR4 234 (14.55), sidereal-lunar-longitude

Sidereal solar longitude at moment tee. DR4 225 (14.40), sidereal-solar-longitude

precession(universal_from_local(
  mesha_samkranti(ce(285)),hindu_location()))

precalculated: 336.13605101930455 DR4 359 (20.41), sidereal-start

Sidereal zodiacal sign of the sun, as integer in range 1..12, at moment tee. DR4 360 (20.43), sidereal-zodiac

Returns the sum of body b for indices i1 .. in running simultaneously thru lists l1 .. ln. List l is of the form [[i1 l1]..[in ln]]

Sign of y. DR4 20 (1.16), sign

Best viewing time (UT) in the evening. Simple version. DR4 250 (14.96), simple-best-view

Sine of theta (given in degrees).

Sine of angle between position of sun at local time tee and when its depression is alpha at location. Out of range when it does not occur. DR4 241 (14.69), sine-offset

Geocentric altitude of sun at tee at location, as a positive/negative angle in degrees, ignoring parallax and refraction. DR4 226 (14.41), solar-altitude

Mean anomaly of sun (in degrees) at moment given in Julian centuries c. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, p. 338. DR4 234 (14.51), solar-anomaly

Longitude of sun at moment tee. Adapted from "Planetary Programs and Tables from -4000 to +2800" by Pierre Bretagnon and Jean-Louis Simon, Willmann-Bell, 1986. lines 4048-4098 of calendrica-4.0.cl DR4 223 (14.33), solar-longitude

Moment UT of the first time at or after tee when the solar longitude will be lambda degrees. lines 4122-4135 of calendrica-4.0.cl DR4 224 (14.36), solar-longitude-after

Standard time from local t_local at location. DR4 208 (14.13), standard-from-local

Standard time of temporal moment tee at location. Returns bogus if temporal hour is undefined that day. DR4 248 (14.91), standard-from-sundial

Standard time from t_universal in universal time at location. DR4 208 (14.11), standard-from-universal

Sum expression for index = initial and successive integers, as long as condition holds. DR4 23 (1.30), lines 634-641 of calendrica-4.0.cl

Standard time of sunrise on fixed date at location. DR4 242 (14.76), sunrise

Standard time of sunset on fixed date at location. DR4 242 (14.77), sunset

Fixed date of Ta'anit Esther occurring in Gregorian year g_year. DR4 130 (8.34), ta-anit-esther

Tangent of theta (given in degrees).

Location of Theran. DR4 259 (15.2), tehran

Tibetan Epoch. ... we just number the years, ..., and choose as epoch the traditional year of ascension of the first Yarlun King, Nyatri Tsenpo. = {:gregorian, {-127, 12, 7}} DR4 376 (21.1), tibetan-epoch

Tibetan lunar date corresponding to fixed date. DR4 378 (21.5), tibetan-from-fixed

True if t_day is leap in Tibetan month t_month and year t_year. DR4 381 (21.7), tibetan-leap-day?

True if t_month is leap in Tibetan year t_year. DR4 380 (21.6), tibetan-leap-month?

Interpolated tabular sine of lunar anomaly alpha. DR4 (21.3), tibetan-moon-equation

List of fixed dates of Tibetan New Year in Gregorian year g_year. DR4 381 (21.9), tibetan-new-year

Interpolated tabular sine of solar anomaly alpha. DR4 (21.2), tibetan-sun-equation

Time of day from hms = hour:minute:second. DR4 28 (1.43), time-from-clock

Returns the time of day (= the day fraction of a moment). DR4 21 (1.18)

Fixed date of Tishah be-Av occurring in Gregorian year g_year. DR4 130 (8.35), tishah-be-av

The radix notation corresponding to x with base b for whole part and c for fraction. DR4 28 (1.42), to-radix

Topocentric altitude of moon at tee at location, as a small positive/negative angle in degrees, ignoring refraction. DR4 239 (14.67), topocentric-lunar-altitude

Occurrences of Tumpek (14th day of Pawukon and every 35th subsequent day) within Gregorian year g_year. DR4 190 (12.17), tumpek

DR4 351 (20.25), ujjain

Universal time from sundial time tee at location. DR4 218 (14.24), universal-from-apparent

Universal moment from Dynamical time tee. DR4 212 (14.17), universal-from-dynamical

Universal time from local t_local at location. DR4 208 (14.9), universal-from-local

Universal time from t_standard in standard time at location. DR4 208 (14.12), universal-from-standard

Returns the moment corresponding to the Unix epoch. = midnight Universal Time on January 1, 1970 (Gregorian) DR4 19 (1.9), unix-epoch

Returns the moment corresponding to the Unix date s. DR4 19 (1.11), unix-from-moment

Unlucky Fridays DR4 71 (2.45), unlucky-fridays

Unlucky Fridays in Range DR4 71 (2.44), unlucky-fridays-in-range

Urbana, Illinois. DR4 204 (14.1), urbana

Standard time of sunset in Urbana, Illinois, on a given Gregorian date. DR4 243 (14.78), sunset

Standard time of the winter solstice in Urbana, Illinois. DR4 225 (14.38), urbana-winter

Location for Vietnamese calendar is Hanoi; varies with tee. Time zone has changed over the years. DR4 329 (19.38), vietnamese-location

Criterion for possible visibility of crescent moon on eve of fixed at location. Shaukat's criterion may be replaced with another. DR4 252 (14.103), visible-crescent

Lichun does not occur (double_blind year). DR4 325 (19.33), widow

Fixed date of the anniversary of Hebrew death_date in Hebrew h_year. DR4 136 (8.46), yahrzeit

List of the fixed dates of death_date (yahrzeit) in Gregorian year g_year. DR4 137 (8.47), yahrzeit-in-gregorian

B. D. Yallop's criterion for possible visibility of crescent moon on eve of fixed at location. Not intended for high altitudes or polar regions. DR4 251 (14.100), yallop-criterion

Year bearer of year containing fixed date. Returns bogus for uayeb. DR4 176 (11.12), mayan-year-bearer-from-fixed

Returns the year on the Julian calendar of the founding of Rome. DR4 81 (3.12), year-rome-founded

Hindu yoga on fixed date. DR4 369 (20.64), yoga

Fixed date of Yom ha-Zikkaron occurring in Gregorian year g_year. DR4 131 (8.36), yom-ha-zikkaron

Fixed date of Yom Kippur occurring in Gregorian year g_year. DR4 128 (8.30), yom-kippur

Difference between UT and local mean time at longitude as a fraction of a day. DR4 208 (14.8), zone-from-longitude

Link to this section Types

Specs

circle() :: -180..180

Specs

duration() :: number()

Specs

elevation() :: meters()

Specs

fraction_of_day() :: number()

Specs

latitude() :: -180..180

Specs

location() :: {latitude(), longitude(), elevation(), zone()}

Specs

longitude() :: -180..180

Specs

meters() :: number()

Specs

moment() :: number()

Specs

season() :: 0..360

Specs

zone() :: fraction_of_day()

Link to this section Functions

Specs

aberration(moment()) :: circle()

Aberration at moment tee. DR4 223 (14.35), aberration lines 4112-4120 of calendrica-4.0.cl

Acre. DR4 204 (14.5), acre

Link to this function

adda_season_in_gregorian(season, g_year)

View Source

Moment(s) of season in Gregorian year g_year per R. Adda bar Ahava. DR4 133 (8.41), adda-season-in-gregorian

Advent DR4 70 (2.42), advent

The n-th name of the AkanDayName cycle. DR4 38 (1.76), akan-day-name

Link to this function

akan_day_name_date(prefix, stem)

View Source
Link to this function

akan_day_name_difference(a_name1, a_name2)

View Source

Number of names from AkanDayName name a_name1 to the next occurrence of AkanDayName name a_name2. DR4 38 (1.77), akan-name-difference

AkanDayName Epoch. DR4 38 (1.78), akan-day-name-epoch

Link to this function

akan_day_name_from_fixed(fixed)

View Source

AkanDayName name for fixed date. DR4 38 (1.79), akan-name-from-fixed

Link to this function

akan_day_name_on_or_before(name_, fixed)

View Source

Fixed date of latest date on or before fixed date that has AkanDayName name. DR4 38 (1.80), akan-day-name-on-or-before

Link to this function

akan_day_name_prefix(akan_day_name_date)

View Source
Link to this function

akan_day_name_stem(akan_day_name_date)

View Source
Link to this function

alt_asr(fixed, location)

View Source

Standard time of asr on fixed date at location. According to Shafi'i rule. Returns bogus is no asr occurs. DR4 249 (14.94), alt-asr

Link to this function

alt_birkath_ha_hama(g_year)

View Source

List of fixed date of Birkath ha-Hama in Gregorian year g_year. DR4 132 (8.40), alt-birkath-ha-hama

Link to this function

alt_fixed_from_egyptian(arg)

View Source

Returns the fixed_date corresponding to the Egyptian date. (Alternate calculation) DR4 31 (1.48), alt-fixed-from-egyptian

Link to this function

alt_fixed_from_egyptian(year, month, day)

View Source
Link to this function

alt_fixed_from_observational_hebrew(i_date)

View Source

Fixed date equivalent to Observational Hebrew i_date. Months are never longer than 30 days. DR4 299 (18.27), alt-fixed-from-observational-hebrew

Link to this function

alt_fixed_from_observational_hebrew(year, month, day)

View Source
Link to this function

alt_fixed_from_observational_islamic(i_date)

View Source

Fixed date equivalent to Observational Islamic i_date. Months are never longer than 30 days. DR4 295 (18.15), alt-fixed-from-observational-islamic

Link to this function

alt_fixed_from_observational_islamic(year, month, day)

View Source
Link to this function

alt_hindu_sunrise(fixed)

View Source

Astronomical sunrise at Hindu location on date, per Lahiri, rounded to nearest minute, as a rational number. DR4 357 (20.39), alt-hindu-sunrise

Link to this function

alt_observational_hebrew_from_fixed(fixed)

View Source

Observational Hebrew date {year, month, day} corresponding to fixed date. Months are never longer than 30 days. DR4 299 (18.26), alt-observational-hebrew-from-fixed

Link to this function

alt_observational_islamic_from_fixed(fixed)

View Source

Observational Islamic date {year, month, day} corresponding to fixed date. Months are never longer than 30 days. DR4 295 (18.16), alt-observational-islamic-from-fixed

Link to this function

alt_orthodox_easter(g_year)

View Source

Returns the Fixed date Gregorian g_year of Orthodox Easter. DR4 146 (9.2), alt-orthodox-easter

Returns the adjusted modulus of x and y. DR4 22 (1.28)

Convert angle d degrees, m arcminutes, s arcseconds into decimal degrees. Alternate Variant! DR4 29 (1.45)

Link to this function

angle_from_degrees(alpha)

View Source

Convert a number of degrees into a list of degrees. DR4 29 (1.45)

Link to this function

apparent_from_local(t_local, location)

View Source

Sundial time from local time t_local at location. DR4 217 (14.21), apparent-from-local

Link to this function

apparent_from_universal(t_universal, location)

View Source

True (apparent) time at universal time tee at location. DR4 218 (14.23), apparent-from-universal

Link to this function

approx_moment_of_depression(tee, location, alpha, early?)

View Source

Moment in local time near tee when depression angle of sun is alpha (negative if above horizon) at location; early? is true when morning event is sought and false for evening. Returns bogus if depression angle is not reached. DR4 240 (14.68), approx-moment-of-depression

Angular separation of sun and moon at moment tee. DR4 250 (14.95), arc-of-light

Link to this function

arc_of_vision(tee, location)

View Source

Angular difference in altitudes of sun and moon at moment tee at location. DR4 251 (14.98), arc-of-vision

Arccosine of x in degrees.

x arcminutes. DR4 mins (!)

x arcseconds. DR4 secs (!)

Arcsine of x in degrees.

Arctangent of y/x in degrees. Returns bogus if x and y are both 0. see lines 3462-3476 of calendrica-4.0.cl DR4 205 (14.7) arctan

Link to this function

arithmetic_french_date(year, month, day)

View Source
Link to this function

arithmetic_french_day(arithmetic_french_date)

View Source
Link to this function

arithmetic_french_from_fixed(fixed)

View Source

Arithmetic French Revolutionary date corresponding to the fixed date. DR4 285 (17.10), arithmetic-french-from-fixed

Link to this function

arithmetic_french_leap_year?(year)

View Source

True if year is a leap year on the Arithmetic French Revolutionary calendar. DR4 285 (17.8), arithmetic-french-leap-year?

Link to this function

arithmetic_french_month(arithmetic_french_date)

View Source
Link to this function

arithmetic_french_year(arithmetic_french_date)

View Source
Link to this function

arithmetic_persian_date(year, month, day)

View Source
Link to this function

arithmetic_persian_day(arithmetic_persian_date)

View Source
Link to this function

arithmetic_persian_from_fixed(fixed)

View Source

Persian date corresponding to fixed date. DR4 263 (15.10), arithmetic-persian-from-fixed

Link to this function

arithmetic_persian_leap_year?(p_year)

View Source

True if p_year is a leap year on the Persian calendar. DR4 262 (15.7), arithmetic-persian-leap-year?

Link to this function

arithmetic_persian_month(arithmetic_persian_date)

View Source
Link to this function

arithmetic_persian_year(arithmetic_persian_date)

View Source
Link to this function

arithmetic_persian_year_from_fixed(fixed)

View Source

Persian year corresponding to the fixed date. DR4 263 (15.9), arithmetic-persian-year-from-fixed

Link to this function

armenian_date(year, month, day)

View Source
Link to this function

armenian_day(armenian_date)

View Source

Armenian Epoch. DR4 31 (1.50), armenian-epoch

Link to this function

armenian_from_fixed(fixed)

View Source

Returns the Armenian date {year, month, day} corresponding to fixed_date. DR4 31 (1.52), armenian-from-fixed

Link to this function

armenian_month(armenian_date)

View Source
Link to this function

armenian_year(armenian_date)

View Source

Number of days in one revolution of Jupiter around the Sun. DR4 157 (10.4), arya-jovian-period

Length of Old Hindu lunar day. DR4 160 (10.10), arya-lunar-day

Length of Old Hindu lunar month. = 29.53058181... days DR4 160 (10.9), arya-lunar-month

Length of Old Hindu solar month. DR4 158 (10.6), arya-solar-month

Length of Old Hindu solar year. DR4 157 (10.3), arya-solar-year

Standard time of asr on fixed date at location. According to Hanafi rule. Returns bogus is no asr occurs. DR4 249 (14.93), asr

Link to this function

astro_bahai_cycle(astro_bahai_date)

View Source
Link to this function

astro_bahai_date(major, cycle, year, month, day)

View Source
Link to this function

astro_bahai_day(astro_bahai_date)

View Source
Link to this function

astro_bahai_from_fixed(fixed)

View Source

Bahai date corresponding to fixed date. DR4 275 (16.9), astro-bahai-from-fixed

Link to this function

astro_bahai_major(astro_bahai_date)

View Source
Link to this function

astro_bahai_month(astro_bahai_date)

View Source
Link to this function

astro_bahai_new_year_on_or_before(fixed)

View Source

Fixed date of Astronomical Bahai New Year on or before fixed date. DR4 274 (16.7), astro-bahai-new-year-on-or-before

Link to this function

astro_bahai_year(astro_bahai_date)

View Source
Link to this function

astro_hindu_calendar_year(tee)

View Source

Astronomical Hindu solar year KY at given moment tee. DR4 360 (20.44), astro-hindu-calendar-year

Link to this function

astro_hindu_lunar_date(year, month, leap_month, day, leap_day)

View Source
Link to this function

astro_hindu_lunar_day(astro_hindu_lunar_date)

View Source
Link to this function

astro_hindu_lunar_from_fixed(fixed)

View Source

Astronomical Hindu lunar date equivalent to fixed date. DR4 361 (20.48), astro-hindu-lunar-from-fixed

Link to this function

astro_hindu_lunar_leap_day(astro_hindu_lunar_date)

View Source
Link to this function

astro_hindu_lunar_leap_month(astro_hindu_lunar_date)

View Source
Link to this function

astro_hindu_lunar_month(astro_hindu_lunar_date)

View Source
Link to this function

astro_hindu_lunar_year(astro_hindu_lunar_date)

View Source
Link to this function

astro_hindu_solar_date(year, month, day)

View Source
Link to this function

astro_hindu_solar_day(astro_hindu_solar_date)

View Source
Link to this function

astro_hindu_solar_from_fixed(fixed)

View Source

Astronomical Hindu (Tamil) solar date equivalent to fixed date. DR4 360 (20.45), astro-hindu-solar-from-fixed

Link to this function

astro_hindu_solar_month(astro_hindu_solar_date)

View Source
Link to this function

astro_hindu_solar_year(astro_hindu_solar_date)

View Source
Link to this function

astro_hindu_sunset(fixed)

View Source

Geometrical sunset at Hindu location on fixed. DR4 360 (20.42), astro-hindu-sunset

Link to this function

astro_lunar_day_from_moment(tee)

View Source

Phase of moon (tithi) at moment tee, as an integer in the range 1..30. DR4 361 (20.47), astro-lunar-day-from-moment

Link to this function

astronomical_easter(g_year)

View Source

Date of (proposed) astronomical Easter in Gregorian year g_year. Return the Sunday following the Paschal moon. DR4 292 (18.9), astronomical-easter

Difference between tropical and sidereal solar longitude. DR4 359 (20.40), ayanamsha

DR4 271 (16.1)

The precise correlation between Aztec dates and our R.D. dates is based on the recorded Aztec Dates of the fall of (what later became) Mexico City to Mermán Cortés, August 13, 1521 (Julian). Known date of Aztec cycles (Caso's correlation) August, 13, 1521 (Julian) DR4 177 (11.14), aztec-correlation

Link to this function

aztec_tonalpohualli_correlation()

View Source

Start of a tonalpohualli cycle. = R.D. 555299 DR4 179 (11.20), aztec-tonalpohualli-correlation

Link to this function

aztec_tonalpohualli_date(number, name)

View Source
Link to this function

aztec_tonalpohualli_from_fixed(fixed)

View Source

Aztec tonalpohualli date of fixed date. DR4 179 (11.21), aztec-tonalpohualli-from-fixed

Link to this function

aztec_tonalpohualli_name(aztec_tonalpohualli_date)

View Source
Link to this function

aztec_tonalpohualli_number(aztec_tonalpohualli_date)

View Source
Link to this function

aztec_tonalpohualli_on_or_before(tonalpohualli, fixed)

View Source

Fixed date of latest date on or before fixed date that is Aztec tonalpohualli date tonalpohualli. DR4 180 (11.22), aztec-tonalpohualli-on-or-before

Link to this function

aztec_tonalpohualli_ordinal(t_date)

View Source

Number of days into Aztec tonalpohualli cycle of t_date. DR4 179 (11.19), aztec-tonalpohualli-ordinal (Error in book: name and number are interchanged!)

Link to this function

aztec_xihuitl_correlation()

View Source

Start of a xihuitl cycle. DR4 178 (11.16), aztec-xihuitl-correlation

Link to this function

aztec_xihuitl_date(month, day)

View Source
Link to this function

aztec_xihuitl_day(aztec_xihuitl_date)

View Source

AztecXihuitl Epoch. = aztec_xihuitl_correlation (not DR4)

Link to this function

aztec_xihuitl_from_fixed(fixed)

View Source

Aztec xihuitl date of fixed date. DR4 178 (11.17), aztec-xihuitl-from-fixed

Link to this function

aztec_xihuitl_month(aztec_xihuitl_date)

View Source
Link to this function

aztec_xihuitl_on_or_before(xihuitl, fixed)

View Source

Fixed date of latest date on or before fixed date that is Aztec xihuitl date xihuitl. DR4 179 (11.18), aztec-xihuitl-on-or-before

Link to this function

aztec_xihuitl_ordinal(x_date)

View Source

Number of elapsed days into cycle of Aztec xihuitl x_date. DR4 178 (11.15), aztec-xihuitl-ordinal

Link to this function

aztec_xiuhmolpilli_date(number, name)

View Source
Link to this function

aztec_xiuhmolpilli_from_fixed(fixed)

View Source

Designation of year containing fixed date. Returns bogus for nemontemi. DR4 180 (11.23), aztec-xiuhmolpilli-from-fixed

Link to this function

aztec_xiuhmolpilli_name(aztec_xiuhmolpilli_date)

View Source
Link to this function

aztec_xiuhmolpilli_number(aztec_xiuhmolpilli_date)

View Source
Link to this function

aztec_xiuitl_tonalpohuaulli_on_or_before(xihuitl, tonalpohualli, fixed)

View Source

Fixed date of latest xihuitl_tonalpohualli combination on or before fixed. That is the date on or before fixed that is Aztec xihuitl date xihuitl and tonalpohualli date tonalpohualli. Returns bogus for impossible combinations. DR4 180 (11.24), aztec-xihuitl-tonalpohualli-on-or-before

Location of Babylon. DR4 290 (18.2), 409, babylon

Link to this function

babylonian_criterion(fixed)

View Source

Moonlag criterion for visibility of crescent moon on eve of fixed in Babylon. DR4 290 (18.3), babylonian-criterion

Link to this function

babylonian_date(year, month, leap, day)

View Source
Link to this function

babylonian_day(babylonian_date)

View Source

Babylonian Epoch. Epoch is the fixed date of start of the Babylonian calendar (Seleucid era): April 3, 311 BCE (Julian). DR4 291 (18.5), babylonian-epoch

Link to this function

babylonian_from_fixed(fixed)

View Source

Babylonian date corresponding to fixed date. DR4 291 (18.8), babylonian-from-fixed

Link to this function

babylonian_leap(babylonian_date)

View Source
Link to this function

babylonian_leap_year?(year)

View Source

Returns true if the given year is a leap year. DR4 291 (18.6), babylonian-leap-year?

Link to this function

babylonian_month(babylonian_date)

View Source
Link to this function

babylonian_new_month_on_or_before(fixed)

View Source

Fixed date of start of Babylonian month on or before Babylonian fixed. Using lag of moonset criterion. DR4 290 (18.4), babylonian-new-month-on-or-before

Link to this function

babylonian_year(babylonian_date)

View Source
Link to this function

bahai_date(major, cycle, year, month, day)

View Source

Bahai Epoch. ... we just number the years, ..., and choose as epoch the traditional year of ascension of the first Yarlun King, Nyatri Tsenpo. = fixed-from-julian(ce(622), march, 19) DR4 271 (16.2), bahai-epoch

Bahai date corresponding to fixed date. DR4 272 (16.4), bahai-from-fixed

Bahai location. DR4 274 (16.5), bahai-location

Bahai New Year. DR4 277 (16.10), bahai-new-year

DR4 274 (16.6), bahai-sunset

Link to this function

bali_asatawara_from_fixed(fixed)

View Source

Position of fixed in 8-day Balinese cycle. DR4 188 (12.13), bali-asatawara-from-fixed

Link to this function

bali_caturwara_from_fixed(fixed)

View Source

Position of fixed in 4-day Balinese cycle. DR4 189 (12.14), bali-caturwara-from-fixed

Link to this function

bali_dasawara_from_fixed(fixed)

View Source

Position of date in 10-day Balinese cycle. DR4 188 (12.9), bali-dasawara-from-fixed

Link to this function

bali_day_from_fixed(fixed)

View Source

Position of fixed in 210-day Pawukon cycle. DR4 187 (12.3), bali-day-from-fixed

Link to this function

bali_dwiwara_from_fixed(fixed)

View Source

Position of fixed in 2-day Balinese cycle. DR4 188 (12.10), bali-dwiwara-from-fixed

Link to this function

bali_luang_from_fixed(fixed)

View Source

Membership of fixed in "1-day" Balinese cycle. DR4 188 (12.11), bali-luang-from-fixed

Link to this function

bali_on_or_before(b_date, fixed)

View Source

Last fixed date on or before date with Pawukon b_date. DR4 189 (12.15), bali-on-or-before

Link to this function

bali_pancawara_from_fixed(fixed)

View Source

Position of fixed in 5-day Balinese cycle. DR4 187 (12.7), bali-pancawara-from-fixed

Link to this function

bali_pawukon_asatawara(bali_pawukon_date)

View Source
Link to this function

bali_pawukon_caturwara(bali_pawukon_date)

View Source
Link to this function

bali_pawukon_dasawara(bali_pawukon_date)

View Source
Link to this function

bali_pawukon_date(luang, dwiwara, triwara, caturwara, pancawara, sadwara, saptawara, asatawara, sangawara, dasawara)

View Source
Link to this function

bali_pawukon_dwiwara(bali_pawukon_date)

View Source

BaliPawukon Epoch. = fixed_from_jd(146) DR4 187 (12.2), bali-epoch

Link to this function

bali_pawukon_from_fixed(fixed)

View Source

Positions of fixed in ten cycles of Balinese Pawukon calendar. DR4 185 (12.1), bali-pawukon-from-fixed

Link to this function

bali_pawukon_luang(bali_pawukon_date)

View Source
Link to this function

bali_pawukon_pancawara(bali_pawukon_date)

View Source
Link to this function

bali_pawukon_sadwara(bali_pawukon_date)

View Source
Link to this function

bali_pawukon_sangawara(bali_pawukon_date)

View Source
Link to this function

bali_pawukon_saptawara(bali_pawukon_date)

View Source
Link to this function

bali_pawukon_triwara(bali_pawukon_date)

View Source
Link to this function

bali_sadwara_from_fixed(fixed)

View Source

Position of fixed in 6-day Balinese cycle. DR4 187 (12.5), bali-sadwara-from-fixed

Link to this function

bali_sangawara_from_fixed(fixed)

View Source

Position of date in 9-day Balinese cycle. DR4 188 (12.12), bali-sangawara-from-fixed

Link to this function

bali_saptawara_from_fixed(fixed)

View Source

Position of fixed in Balinese week. DR4 187 (12.6), bali-saptawara-from-fixed

Link to this function

bali_triwara_from_fixed(fixed)

View Source

Position of fixed in 3-day Balinese cycle. DR4 187 (12.4), bali-triwara-from-fixed

Link to this function

bali_week_from_fixed(fixed)

View Source

Week number of date in Balinese cycle. DR4 187 (12.8), bali-week-from-fixed

Returns a negative value indicating a BCE Julian year.

Link to this function

binary_search(lo, hi, p, e)

View Source

Bisection search for x in [lo..hi] such that condition e holds. p determines when to go left. lines 653-663 of calendrica-4.0.cl DR4 24 (1.35), binary-search

List of fixed date of Birkath ha-Hama occurring in Gregorian year g_year. DR4 131 (8.38), birkath-ha-hama

Link to this function

birth_of_the_bab(g_year)

View Source

Date of Bahai New Year in Gregorian year g_year. DR4 278 (16.13), birth-of-the-bab

Link to this function

birthday_in_gregorian(birthdate, g_year)

View Source

List of the fixed dates of Hebrew birthday in Gregorian g_year. DR4 135 (8.45), hebrew-birthday-in-gregorian

Lichun occurs once at the end. DR4 325 (19.32), blind

Used to denote nonexistent dates. DR4 47 (1.97), bogus

Lichun occurs once at the start. DR4 325 (19.31), bright

Link to this function

bruin_best_view(fixed, location)

View Source

Best viewing time (UT) in the evening. Yallop version, per Bruin (1977). DR4 251 (14.99), bruin-best-view

Returns a positive value indicating a CE Julian year.

Convert x days into a fraction of a century. (not DR4)

DR4 243 (14.79)

Link to this function

chinese_age(birthdate, fixed)

View Source

Age at fixed date, given Chinese birthdate, according to the Chinese custom. Returns bogus if fixed is before birthdate. DR4 325 (19.29), chinese-age

Link to this function

chinese_cycle(chinese_date)

View Source
Link to this function

chinese_date(cycle, year, month, leap, day)

View Source
Link to this function

chinese_day(chinese_date)

View Source

Chinese sexagesimal name for fixed date. DR4 320 (19.24), chinese-day-name

Link to this function

chinese_day_name_epoch()

View Source

RD date of a start of Chinese sexagesimal day cycle. DR4 320 (19.23), chinese-day-name-epoch

Link to this function

chinese_day_name_on_or_before(name, fixed)

View Source

Fixed date of latest date on or before fixed date that has Chinese name. DR4 320 (19.25), chinese-day-name-on-or-before

Chinese Epoch. = March 8, 2637 BCE (Julian) = February 15, -2636 (Gregorian) DR4 316 (19.15), chinese_epoch

Link to this function

chinese_from_fixed(fixed)

View Source

Chinese date (cycle year month leap day) of fixed date. ordinal position of month in year minus 1 during or after a leap month DR4 317 (19.16), chinese-from-fixed

Link to this function

chinese_leap(chinese_date)

View Source

Location of Beijing; time zone varies with tee. DR4 306 (19.2), chinese-location

Link to this function

chinese_month(chinese_date)

View Source
Link to this function

chinese_month_name(month, year)

View Source

Sexagesimal name for month month of Chinese year year. DR4 320 (19.22), chinese-month-name

Link to this function

chinese_month_name_epoch()

View Source

Elapsed months at start of Chinese sexagesimal month cycle. DR4 320 (19.21), chinese-month-name-epoch

Link to this function

chinese_name_difference(c_name1, c_name2)

View Source

Number of names from Chinese name c_name1 to the next occurrence of Chinese name c_name2. DR4 319 (19.19), chinese-name-difference

Link to this function

chinese_new_moon_before(fixed)

View Source

Fixed date (Beijing) of first new moon before fixed date. DR4 310 (19.10), chinese-new-moon-before

Link to this function

chinese_new_moon_on_or_after(fixed)

View Source

Fixed date (Beijing) of first new moon on or after fixed date. DR4 309 (19.9), chinese-new-moon-on-or-after

Link to this function

chinese_new_year(g_year)

View Source

Fixed date of Chinese New Year in Gregorian year g_year. DR4 322 (19.26), chinese-new-year

Link to this function

chinese_new_year_in_sui(fixed)

View Source

Fixed date of Chinese New Year in sui (period from solstice to solstice) containing date. DR4 315 (19.13), chinese-new-year-in-sui

Link to this function

chinese_new_year_on_or_before(fixed)

View Source

Fixed date of Chinese New Year on or before fixed date. Got the New Year after--this happens if date is after the solstice but before the new year. So, go back half a year. DR4 316 (19.14), chinese-new-year-on-or-before

Link to this function

chinese_no_major_solar_term?(fixed)

View Source

True if Chinese lunar month starting on fixed date has no major solar term. DR4 313 (19.11), chinese-no-major-solar-term?

Link to this function

chinese_prior_leap_month?(m_prime, m)

View Source

True if there is a Chinese leap month on or after lunar month starting on fixed day m_prime and at or before lunar month starting at fixed date m. DR4 313 (19.12), chinese-prior-leap-month?

Link to this function

chinese_sexagesimal_name(n)

View Source

The n-th name of the Chinese sexagesimal cycle. DR4 319 (19.18), chinese-sexagesimal-name

Link to this function

chinese_solar_longitude_on_or_after(lambda, tee)

View Source

Moment (Beijing time) of the first time at or after tee (Beijing time) when the solar longitude will be lambda degrees. DR4 308 (19.3), chinese-solar-longitude-on-or-after

Link to this function

chinese_winter_solstice_on_or_before(fixed)

View Source

Fixed date, in the Chinese zone, of winter solstice on or before fixed date. DR4 309 (19.8), chinese-winter-solstice-on-or-before

Link to this function

chinese_year(chinese_date)

View Source
Link to this function

chinese_year_marriage_augury(cycle, year)

View Source

The marriage augury type of Chinese year in cycle. DR4 325 (19.34), chinese-year-marriage-augury

Sexagesimal name for Chinese year of any cycle. DR4 320 (19.20), chinese-year-name

Christmas DR4 70 (2.41), christmas

Link to this function

classical_passover_eve(g_year)

View Source

Fixed date of Classical (observational) Passover Eve (Nisan 14) occurring in Gregorian year g_year. DR4 298 (18.25), classical-passover-eve

Clock time hour:minute:second from moment tee. DR4 28 (1.44), clock-from-moment

Link to this function

coptic_christmas(g_year)

View Source

Coptic Christmas. DR4 93 (4.9), coptic-christmas

Link to this function

coptic_date(year, month, day)

View Source

Coptic Epoch. = fixed-from-julian(ce(284), august, 29) DR4 90 (4.1), coptic-epoch

Link to this function

coptic_from_fixed(fixed)

View Source

Returns the Coptic date {year, month, day} corresponding to fixed_date. DR4 91 (4.4), coptic-from-fixed

Link to this function

coptic_in_gregorian(c_month, c_day, g_year)

View Source

Returns the list of the fixed dates of Coptic month c_month and Coptic day c_day that occur in Gregorian year g_year. DR4 92 (4.8), coptic-in-gregorian

Returns true if the given year is a leap year. DR4 90 (4.2), coptic-leap-year?

Link to this function

coptic_month(coptic_date)

View Source
Link to this function

coptic_year(coptic_date)

View Source

Cosine of theta (given in degrees).

Link to this function

current_major_solar_term(fixed)

View Source

Last Chinese major solar term (zhongqi) before fixed date. DR4 306 (19.1), current-major-solar-term

Link to this function

current_minor_solar_term(fixed)

View Source

Last Chinese minor solar term (jieqi) before fixed date. DR4 308 (19.5), current-minor-solar-term

Link to this function

cycle_in_gregorian(season, g_year, year_length, start)

View Source

Returns the occurrences of seasons in g_year with year_length. DR4 83 (3.22), cycle-in-gregorian

Link to this function

date_time_from_moment(moment)

View Source

Convert moment into complete Gregorian DateTime {year, month, day, hour, minute, second}.

Link to this function

dawn(fixed, location, alpha)

View Source

Standard time in morning on fixed date at location when depression angle of sun is alpha. Returns bogus if there is no dawn on date. See DR4 244 for various depression angles. DR4 241 (14.72), dawn

Returns the ordinal day number of the Gregorian date date. DR4 62 (2.25), day-number

Link to this function

day_of_week_from_fixed(fixed)

View Source

Returns the weekday of fixed. DR4 33 (1.60)

Link to this function

daylight_saving_end(year)

View Source

U.S. Daylight Saving End (as of 2007, the second Sunday in March and the first Sunday in November) DR4 70 (2.40), daylight-saving-end

Link to this function

daylight_saving_start(year)

View Source

U.S. Daylight Saving Start DR4 70 (2.39), daylight-saving-start

Link to this function

days_in_hebrew_year(year)

View Source

Number of days in Hebrew year h_year. DR4 123 (8.26), days-in-hebrew-year

Returns the number of days remaining in the Gregorian year after the date date. DR4 62 (2.26), days-remaining

Link to this function

daytime_temporal_hour(fixed, location)

View Source

Length of daytime temporal hour on fixed date at location. Returns bogus if there no sunrise or sunset on date. DR4 247 (14.89), daytime-temporal-hour

Link to this function

declination(tee, latitude, longitude)

View Source

Declination at moment UT tee of object at latitude beta and longitude lambda. DR4 220 (14.29), declination lines 3630-3639 of calendrica-4.0.cl

x degrees. For typesetting purposes.

Link to this function

degrees_from_radians(radians)

View Source

Convert angle from radians to degrees.

Link to this function

direction(location, focus)

View Source

Angle (clockwise from North) to face focus when standing in location. DR4 205 (14.6), direction

List of fixed date(s) of Diwali in Gregorian year g_year. DR4 368 (20.57), diwali

Lichun occurs twice (double_happiness). DR4 325 (19.30), double-bright

Fixed date of the Dragon Festival occurring in Gregorian year g_year. DR4 324 (19.27), dragon-festival

Link to this function

dusk(fixed, location, alpha)

View Source

Standard time in evening on fixed date at location when depression angle of sun is alpha. Returns bogus if there is no dusk on date. DR4 242 (14.74), dusk

Link to this function

dynamical_from_universal(t_universal)

View Source

Dynamical time at Universal moment t_universal. DR4 212 (14.16), dynamical-from-universal

Link to this function

early_month?(fixed, location)

View Source

fixed in location is in a month that was forced to start early. DR4 294 (18.14), early-month?

Returns the fixed date of Christian Gregorian date of easter. DR4 148 (9.3), easter

Link to this function

eastern_orthodox_christmas(g_year)

View Source

DR4 85 (3.25), eastern-orthodox-christmas

Link to this function

egyptian_date(year, month, day)

View Source
Link to this function

egyptian_day(egyptian_date)

View Source

Epyptian Epoch.

The epoch chosen by the famous Alexandrian astronomer Ptolemy,
author of the __Almagest__, for this calendar, and called the
__Nabonassar Era__ fater the Chaldean king Nobonassar, is given ...
as JD 1448638.

= February 26, 747 BCE (Julian) DR4 30 (1.46), egyptian-epoch

Link to this function

egyptian_from_fixed(fixed)

View Source

Returns the Egyptian date {year, month, day} corresponding to fixed_date. DR4 31 (1.49), egyptian-from-fixed

Link to this function

egyptian_month(egyptian_date)

View Source
Link to this function

egyptian_year(egyptian_date)

View Source

U.S. Election Day DR4 70 (2.38), election-day

Link to this function

ephemeris_correction(tee)

View Source

Dynamical Time minus Universal Time (in days) for moment tee. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell (1991) for years 1600-1986 and from polynomials on the NASA Eclipse web site for other years. DR4 210 (14.15), ephemeris-correction

Epiphany DR4 71 (2.43), epiphany

Equation of time (as fraction of day) for moment tee. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, p. 185. lines 4017-4046 of calendrica-4.0.cl DR4 215 (14.20), equation-of-time

Link to this function

estimate_prior_solar_longitude(lambda, tee)

View Source

Approximate moment at or before tee when solar longitude just exceeded lambda degrees. DR4 226 (14.42), estimate-prior-solar-longitude

Link to this function

ethiopic_date(year, month, day)

View Source
Link to this function

ethiopic_day(ethiopic_date)

View Source

Ethiopic Epoch. = August 29, 8 CE (Julian) DR4 92 (4.5), ethiopic-epoch

Link to this function

ethiopic_from_fixed(fixed)

View Source

Returns the Ethiopic date {year, month, day} corresponding to fixed. DR4 92 (4.7), ethiopic-from-fixed

Link to this function

ethiopic_month(ethiopic_date)

View Source
Link to this function

ethiopic_year(ethiopic_date)

View Source

Signifies evening. DR4 241 (14.73), evening

DR4 277 (16.12), feast-of-ridvan

Returns the last integer greater or equal to initial index, i such that condition p holds. DR4 24 (1.33), MAX

Returns the Fixed date of the first k-day after a given Gregorian date date. DR4 69 (2.34), first-kday

Link to this function

fixed_from_arithmetic_french(arg)

View Source

Fixed date of Arithmetic French Revolutionary fixed date. DR4 285 (17.9), fixed-from-arithmetic-french

Link to this function

fixed_from_arithmetic_french(year, month, day)

View Source
Link to this function

fixed_from_arithmetic_persian(arg)

View Source

Fixed date equivalent to Persian date p_date. DR4 262 (15.8), fixed-from-arithmetic-persian

Link to this function

fixed_from_arithmetic_persian(p_year, month, day)

View Source
Link to this function

fixed_from_armenian(arg)

View Source

Returns the fixed date corresponding to the Armenian date. DR4 31 (1.51), fixed-from-armenian

Link to this function

fixed_from_armenian(year, month, day)

View Source
Link to this function

fixed_from_astro_bahai(arg)

View Source

Fixed date equivalent to Bahai date. DR4 275 (16.8), fixed-from-astro-bahai

Link to this function

fixed_from_astro_bahai(major, cycle, year, month, day)

View Source
Link to this function

fixed_from_astro_hindu_lunar(arg)

View Source

Fixed date corresponding to Hindu lunar date l_date. DR4 361 (20.49), fixed-from-astro-hindu-lunar

Link to this function

fixed_from_astro_hindu_lunar(year, month, leap_month, day, leap_day)

View Source
Link to this function

fixed_from_astro_hindu_solar(arg)

View Source

Fixed date corresponding to Astronomical Hindu solar date (Tamil rule; Saka era). DR4 360 (20.46), fixed-from-astro-hindu-solar

Link to this function

fixed_from_astro_hindu_solar(year, month, day)

View Source
Link to this function

fixed_from_babylonian(arg)

View Source

Fixed date of Babylonian date. DR4 291 (18.7), fixed-from-babylonian

Link to this function

fixed_from_babylonian(year, month, leap, day)

View Source

Fixed date of Astronomical Bahai date. DR4 271 (16.3), fixed-from-bahai

Link to this function

fixed_from_bahai(major, cycle, year, month, day)

View Source
Link to this function

fixed_from_chinese(c_year)

View Source

Fixed date of Chinese date c_date. otherwise, there was a prior leap month that year, so we want the next month DR4 318 (19.17), fixed-from-chinese

Link to this function

fixed_from_chinese(cycle, year, month, leap, day)

View Source

Returns the fixed_date corresponding to the Coptic date. DR4 90 (4.3), fixed-from-coptic

Link to this function

fixed_from_coptic(year, month, day)

View Source
Link to this function

fixed_from_egyptian(arg)

View Source

Returns the fixed date corresponding to the Egyptian date. DR4 30 (1.47), fixed-from-egyptian

Link to this function

fixed_from_egyptian(year, month, day)

View Source
Link to this function

fixed_from_ethiopic(arg)

View Source

Returns the Fixed date corresponding to the Ethiopic date. DR4 92 (4.6), fixed-from-ethiopic

Link to this function

fixed_from_ethiopic(year, month, day)

View Source

Fixed date of French Revolutionary date. DR4 284 (17.5), fixed-from-french

Link to this function

fixed_from_french(year, month, day)

View Source
Link to this function

fixed_from_gregorian(arg)

View Source

Returns the fixed date corresponding to the Gregorian date. DR4 60 (2.17), fixed-from-gregorian

Link to this function

fixed_from_gregorian(year, month, day)

View Source

Returns the Fixed date corresponding to the Hebrew date {year, month, day}. DR4 123 (8.27), fixed-from-hebrew

Link to this function

fixed_from_hebrew(year, month, day)

View Source
Link to this function

fixed_from_hindu_fullmoon(l_date)

View Source

Fixed date equivalent to Hindu lunar l_date in full_moon scheme. DR4 356 (20.37), fixed-from-hindu-fullmoon

Link to this function

fixed_from_hindu_lunar(arg)

View Source

Fixed date corresponding to Hindu lunar date l_date. DR4 350 (20.24), fixed-from-hindu-lunar

Link to this function

fixed_from_hindu_lunar(year, month, leap_month, day, leap_day)

View Source
Link to this function

fixed_from_hindu_solar(arg)

View Source

Fixed date corresponding to Hindu solar date s_date (Saka era; Orissa rule.) Search forward to correct month DR4 348 (20.21), fixed-from-hindu-solar

Link to this function

fixed_from_hindu_solar(year, month, day)

View Source
Link to this function

fixed_from_icelandic(arg)

View Source

Returns the Fixed date corresponding to the Icelandic date {year, season, week, weekday}. DR4 100 (6.4), fixed-from-icelandic

Link to this function

fixed_from_icelandic(year, season, week, weekday)

View Source

Returns the Fixed date corresponding to the Islamic date {year, month, day}. DR4 107 (7.3), fixed-from-islamic

Link to this function

fixed_from_islamic(year, month, day)

View Source

Returns the Fixed date corresponding to the ISO year, week, day date. DR4 95 (5.1), fixed-from-iso

Link to this function

fixed_from_iso(year, week, day)

View Source

Returns the fixed date corresponing to moment tee. DR4 20 (1.13), fixed-from-jd

Returns the fixed date corresponding to the date. DR4 76 (3.3), fixed-from-julian

Link to this function

fixed_from_julian(year, month, day)

View Source
Link to this function

fixed_from_mayan_long_count(arg)

View Source

Fixed date corresponding to Mayan Long Count count. DR4 171 (11.2), fixed-from-mayan-long-count

Link to this function

fixed_from_mayan_long_count(baktun, katun, tun, uinal, kin)

View Source

Returns the fixed date corresponding to the MJD Number mjd. DR4 19 (1.7), fixed-from-mjd

Fixed date of the molad that occurs moon days and fractional days into the week. DR4 126 (8.29), fixed-from-molad

Returns the fixed date corresponing to moment tee. DR4 20 (1.12), fixed-from-moment

Link to this function

fixed_from_observational_hebrew(h_date)

View Source

Fixed date equivalent to Observational Hebrew date i_date. DR4 298 (18.24), fixed-from-observational-hebrew

Link to this function

fixed_from_observational_hebrew(year, month, day)

View Source
Link to this function

fixed_from_observational_islamic(i_date)

View Source

Fixed date equivalent to Observational Islamic date i_date. DR4 293 (18.11), fixed-from-observational-islamic

Link to this function

fixed_from_observational_islamic(year, month, day)

View Source
Link to this function

fixed_from_old_hindu_lunar(arg)

View Source

Fixed date corresponding to Old Hindu lunar date l_date. DR4 165 (10.14), fixed-from-old-hindu-lunar

Link to this function

fixed_from_old_hindu_lunar(year, month, leap, day)

View Source
Link to this function

fixed_from_old_hindu_solar(arg)

View Source

Fixed date corresponding to Old Hindu solar date s_date. DR4 158 (10.7), fixed-from-old-hindu-solar

Link to this function

fixed_from_old_hindu_solar(year, month, day)

View Source

Fixed date of Astronomical Persian date p_date. DR4 260 (15.5), fixed-from-persian

Link to this function

fixed_from_persian(year, month, day)

View Source

Returns the fixed date corresponding to the Roman date. DR4 80 (3.10), fixed-from-roman

Link to this function

fixed_from_roman(year, month, event, count, leap)

View Source
Link to this function

fixed_from_samaritan(s_date)

View Source

Fixed date of Samaritan date s_date. DR4 301 (18.34), fixed-from-samaritan

Link to this function

fixed_from_samaritan(year, month, day)

View Source
Link to this function

fixed_from_saudi_islamic(i_date)

View Source

Fixed date equivalent to Saudi Islamic date i_date. DR4 296 (18.19), fixed-from-saudi-islamic

Link to this function

fixed_from_saudi_islamic(year, month, day)

View Source
Link to this function

fixed_from_tibetan(t_date)

View Source

Fixed date corresponding to Tibetan lunar date t_date. DR4 378 (21.4), fixed-from-tibetan

Link to this function

fixed_from_tibetan(year, month, leap_month, day, leap_day)

View Source
Link to this function

french_date(year, month, day)

View Source

French Epoch. DR4 283 (17.4), french-epoch

Link to this function

french_from_fixed(fixed)

View Source

French Revolutionary date of fixed date. DR4 284 (17.6), french-from-fixed

Returns true if the given year is a leap year. DR4 284 (17.7), french-leap-year?

Link to this function

french_month(french_date)

View Source
Link to this function

french_new_year_on_or_before(fixed)

View Source

Fixed date of French Revolutionary New Year on or before fixed date. DR4 283 (17.3), french-new-year-on-or-before

Link to this function

french_year(french_date)

View Source

The number corresponding to a in radix notation with base b for whole part and c for fraction. DR4 27 (1.41), from-radix

Specs

from_radix([number()], [number()], [number()]) :: number()

Greatest common denominator. DR4 21 (1.22), gcd

Greenwich. DR4 204 (14.2), greenwich

Link to this function

gregorian_date(year, month, day)

View Source
Link to this function

gregorian_date_difference(arg1, arg2)

View Source

Returns the number of days between two Gregorian dates date1, date2. DR4 62 (2.24), gregorian-date-difference

Link to this function

gregorian_day(gregorian_date)

View Source

Gregorian Epoch. DR4 58 (2.3), gregorian-epoch = R.D. 1.

Link to this function

gregorian_from_fixed(fixed)

View Source

Returns the Gregorian date {year, month, day} corresponding to fixed_date. DR4 62 (2.23), gregorian-from-fixed

Link to this function

gregorian_leap_year?(year)

View Source

Returns true if the given year is a leap year. DR4 59 (2.16), gregorian-leap-year?

Link to this function

gregorian_month(gregorian_date)

View Source
Link to this function

gregorian_new_year(year)

View Source

Returns the Fixed date corresponding the January, 1st of the Gregorian year. DR4 60 (2.18), gregorian-new-year

Link to this function

gregorian_ordinal_day(fixed)

View Source

Returns the ordinal day of fixed in its Gregorian year. DR4 61 (2.22)

Link to this function

gregorian_year(gregorian_date)

View Source
Link to this function

gregorian_year_end(year)

View Source

Returns the Fixed date corresponding the December, 31st of the Gregorian year. DR4 60 (2.19), gregorian-year-end

Link to this function

gregorian_year_from_fixed(fixed)

View Source

Returns the yearof the Gregorian date corresponding to the Fixed date fixed. DR4 61 (2.21), gregorian-year-from-fixed

Link to this function

gregorian_year_range(year)

View Source

Returns the range of dates (= number of days) of the Gregorian year year. DR4 60 (2.20), gregorian-year-range

Fixed date(s) of first day of Hanukkah in Gregorian year g_year. DR4 134 (8.43), hanukkah

Link to this function

hebrew_birthday(birth_date, h_year)

View Source

Fixed date of the anniversary of Hebrew birthdate in Hebrew h_year. DR4 135 (8.44), hebrew-birthday

Link to this function

hebrew_birthday(birth_year, birth_month, birth_day, h_year)

View Source
Link to this function

hebrew_calendar_elapsed_days(year)

View Source

Returns the number of days elapsed from the (Sunday) noon prior to the epoch of the Hebrew calendar to the mean conjunction (molad) of Tishri of Hebrew year h_year, or one day later. DR4 121 (8.20), hebrew-calendar-elapsed-days

Link to this function

hebrew_date(year, month, day)

View Source

Hebrew Epoch. = (Tishri 1, 1 AM) = fixed-from-julian(bce(3761), october, 7) DR4 119 (8.17), hebrew-epoch

Link to this function

hebrew_from_fixed(fixed)

View Source

Returns the Hebrew date {year, month, day} equivalent to fixed date. DR4 123 (8.28), hebrew-from-fixed

Link to this function

hebrew_in_gregorian(h_month, h_day, g_year)

View Source

List of the fixed dates of Hebrew month h_month, day h_day that occur in Gregorian year g_year. DR4 133 (8.42), hebrew-in-gregorian

Returns true if the given year is a leap year. DR4 115 (8.14), hebrew-leap-year

Take Haifa, a city at the western edge of Israel, as the location of the observation. DR4 297 (18.21), hebrew-location

Link to this function

hebrew_month(hebrew_date)

View Source

Fixed date of Hebrew new year h_year. DR4 122 (8.22), hebrew-new-year

Link to this function

hebrew_sabbatical_year?(year)

View Source

DR4 115 (8.16), hebrew-sabbatical-year?

Link to this function

hebrew_year(hebrew_date)

View Source
Link to this function

hebrew_year_length_correction(year)

View Source

Delays to start of Hebrew year h_year to keep ordinary year in range 353-356 and leap year in range 383-386. DR4 122 (8.21), hebrew-year-length-correction

Link to this function

hindu_anomalistic_month()

View Source

Time from apogee to apogee, with bija correction. DR4 345 (20.10), hindu-anomalistic-month

Link to this function

hindu_anomalistic_year()

View Source

Time from aphelion to aphelion. DR4 344 (20.9), hindu-anomalistic-year

Inverse of Hindu sine function of amp. DR4 343 (20.6), hindu-arcsin

Link to this function

hindu_ascensional_difference(fixed, location)

View Source

Difference between right and oblique ascension of sun on fixed at location. DR4 352 (20.27), hindu-ascensional-difference

Link to this function

hindu_calendar_year(tee)

View Source

Determine solar year at given moment tee. DR4 347 (20.18), hindu-calendar-year

Fixed date of Hindu creation. DR4 344 (20.8), hindu-creation

Link to this function

hindu_daily_motion(fixed)

View Source

Sidereal daily motion of sun on fixed. DR4 353 (20.30), hindu-daily-motion

Link to this function

hindu_date_occur(l_year, l_month, l_day)

View Source

Fixed date of occurrence of Hindu lunar l_month, l_day in Hindu lunar year l_year, taking leap and expunged days into account. When the month is expunged, then the following month is used. DR4 367 (20.55), hindu-date-occur

Elapsed days (Ahargana) to fixed since Hindu epoch (KY). DR4 156 (10.2), hindu-day-count

The OldHindu epoch is the first day of year 0 of the Kali Yuga: = February 18, 3102 BCE (Julian) = January 23, -3101 (Gregorian) = -1132959 RD DR4 156 (10.1), hindu-epoch

Link to this function

hindu_equation_of_time(fixed)

View Source

Time from true to mean midnight of fixed. (This is a gross approximation to the correct value.) Arcsin is not needed since small DR4 353 (20.32), hindu-equation-of-time

Link to this function

hindu_expunged?(l_year, l_month)

View Source

True of Hindu lunar month l_month in l_year is expunged. DR4 356 (20.38), hindu-expunged?

Link to this function

hindu_fullmoon_from_fixed(fixed)

View Source

Hindu lunar date, full_moon scheme, equivalent to fixed date. DR4 356 (20.36), hindu-fullmoon-from-fixed

DR4 351 (20.26), hindu-location

Link to this function

hindu_lunar_date(year, month, leap_month, day, leap_day)

View Source
Link to this function

hindu_lunar_day(hindu_lunar_date)

View Source
Link to this function

hindu_lunar_day_at_or_after(k, tee)

View Source

Time lunar_day (tithi) number k begins at or after moment tee. k can be fractional (for karanas). DR4 365 (20.52), hindu-lunar-day-at-or-after

Link to this function

hindu_lunar_day_from_moment(tee)

View Source

Phase of moon (tithi) at moment tee, as an integer in the range 1..30. DR4 346 (20.16), hindu-lunar-day-from-moment

Years from Kali Yuga until Vikrama era. DR4 349 (20.22), hindu-lunar-era

Link to this function

hindu_lunar_event(l_month, tithi, tee, g_year)

View Source

List of fixed dates of occurrences of Hindu lunar tithi prior to sundial time tee, in Hindu lunar l_month, in Gregorian year g_year. DR4 368 (20.59), hindu-lunar-event

Link to this function

hindu_lunar_from_fixed(fixed)

View Source

Hindu lunar date, new_moon scheme, equivalent to fixed date. DR4 349 (20.23), hindu-lunar-from-fixed

Link to this function

hindu_lunar_holiday(l_month, l_day, g_year)

View Source

List of fixed dates of occurrences of Hindu lunar month, day in Gregorian year g_year. DR4 367 (20.56), hindu-lunar-holiday

Link to this function

hindu_lunar_leap_day(hindu_lunar_date)

View Source
Link to this function

hindu_lunar_leap_month(hindu_lunar_date)

View Source
Link to this function

hindu_lunar_longitude(tee)

View Source

Lunar longitude at moment tee. DR4 346 (20.14), hindu-lunar-longitude

Link to this function

hindu_lunar_month(hindu_lunar_date)

View Source
Link to this function

hindu_lunar_new_year(g_year)

View Source

Fixed date of Hindu lunisolar new year in Gregorian g_year. Next day if new moon after sunrise, unless lunar day ends before next sunrise. DR4 365 (20.53), hindu-lunar-new-year

Link to this function

hindu_lunar_on_or_before?(l_date1, l_date2)

View Source

True if Hindu lunar date l_date1 is on or before Hindu lunar date l_date2. DR4 367 (20.54), hindu-lunar-on-or-before?

Longitudinal distance between the sun and moon at moment tee. DR4 346 (20.15), hindu-lunar-phase

Link to this function

hindu_lunar_station(fixed)

View Source

Hindu lunar station (nakshatra) at sunrise on fixed. DR4 369 (20.62), hindu-lunar-station

Link to this function

hindu_lunar_year(hindu_lunar_date)

View Source
Link to this function

hindu_mean_position(tee, period)

View Source

Position in degrees at moment tee in uniform circular orbit of period days. DR4 344 (20.7), hindu-mean-position

Link to this function

hindu_new_moon_before(tee)

View Source

Approximate moment of last new moon preceding moment tee, close enough to determine zodiacal sign. DR4 346 (20.17), hindu-new-moon-before

Link to this function

hindu_rising_sign(fixed)

View Source

Tabulated speed of rising of current zodiacal sign on fixed. DR4 353 (20.31), hindu-rising-sign

Mean length of Hindu sidereal month. DR4 336 (20.2), hindu-sidereal-month

Mean length of Hindu sidereal year. DR4 336 (20.1), hindu-sidereal-year

Linear interpolation for theta in Hindu table. DR4 342 (20.5), hindu-sine

This simulates the Hindu sine table. entry is an angle given as a multiplier of 225'. DR4 342 (20.4), hindu-sine-table

Link to this function

hindu_solar_date(year, month, day)

View Source
Link to this function

hindu_solar_day(hindu_solar_date)

View Source

Years from Kali Yuga until Saka era. DR4 347 (20.19), hindu-solar-era

Link to this function

hindu_solar_from_fixed(fixed)

View Source

Hindu (Orissa) solar date equivalent to fixed date. DR4 347 (20.20), hindu-solar-from-fixed

Link to this function

hindu_solar_longitude(tee)

View Source

Solar longitude at moment tee. DR4 345 (20.12), hindu-solar-longitude

Link to this function

hindu_solar_longitude_at_or_after(lambda, tee)

View Source

Moment of the first time at or after tee when Hindu solar longitude will be lambda degrees. DR4 364 (20.50), hindu-solar-longitude-at-or-after

Link to this function

hindu_solar_month(hindu_solar_date)

View Source
Link to this function

hindu_solar_sidereal_difference(fixed)

View Source

Difference between solar and sidereal day on fixed. DR4 352 (20.29), hindu-solar-sidereal-difference

Link to this function

hindu_solar_year(hindu_solar_date)

View Source
Link to this function

hindu_standard_from_sundial(tee)

View Source

Hindu local time of temporal moment tee. DR4 355 (20.35), hindu-standard-from-sundial

Sunrise at location on fixed. DR4 354 (20.33), hindu-sunrise

Sunset at hindu_location on date. DR4 354 (20.34), hindu-sunset

Mean time from new moon to new moon. DR4 336 (20.3), hindu-synodic-month

Link to this function

hindu_tithi_occur(l_month, tithi, tee, l_year)

View Source

Fixed date of occurrence of Hindu lunar tithi prior to sundial time tee, in Hindu lunar l_month, l_year. DR4 368 (20.58), hindu-tithi-occur

Link to this function

hindu_tropical_longitude(fixed)

View Source

Hindu tropical longitude on fixed date.atest Assumes precession with maximum of 27 degrees and period of 7200 sidereal years (= 1577917828/600 days). DR4 352 (20.28), hindu-tropical-longitude

Link to this function

hindu_true_position(tee, period, size, anomalistic, change)

View Source

Longitudinal position at moment tee. period is period of mean motion in days. size is ratio of radii of epicycle and deferent. anomalistic is the period of retrograde revolution about epicycle. change is maximum decrease in epicycle size. DR4 345 (20.11), hindu-true-position

Zodiacal sign of the sun, as integer in range 1..12, at moment tee. DR4 345 (20.13), hindu-zodiac

Convert x hours into a fraction of a day.

Link to this function

icelandic_date(year, season, week, weekday)

View Source

Icelandic Epoch. The Epoch of the Icelandic calendar is Thursday, April 19, in year 1 of the Gregorian calendar, the onset of Icelandic summer. = Thursday, April 19, 1 (Gregorian) DR4 100 (6.1), icelandic_epoch

Link to this function

icelandic_from_fixed(fixed)

View Source

Returns the Icelandic date {year, season, week, weekday} equivalent to fixed date. DR4 101 (6.5), icelandic-from-fixed

Link to this function

icelandic_leap_year?(year)

View Source

Returns true if the given year is a leap year. Ordinary years, with 52 weeks, have 364 days; leap years have 371 years (53 weeks). DR4 101 (6.6), icelandic-leap-year

Returns the month of the season. The months of each season are numbered 1..6 and can be determined from the date by counting units of 30 days from the start of the season. DR4 101 (6.7) icelandic-month

Link to this function

icelandic_season(icelandic_date)

View Source

Returns the week of the begin of the Icelandic summer. DR4 100 (6.2), icelandic-summer

Link to this function

icelandic_week(icelandic_date)

View Source
Link to this function

icelandic_weekday(icelandic_date)

View Source

Returns the week of the begin of the Icelandic winter. DR4 100 (6.3), icelandic-winter

Link to this function

icelandic_year(icelandic_date)

View Source

Ides of month. DR4 77 (3.8), ides-of-month

True if tee is in half_open range. DR4 26 (1.38), in-range?

U.S. Indepence Day DR4 69 (2.32), independence-day

Link to this function

invert_angular(f, y, a, b)

View Source

Use bisection to find inverse of angular function f at y within interval a..b. lines 665-672 of calendrica-4.0.cl DR4 25 (1.36), invert-angular

Link to this function

invert_angular(f, y, a, b, epsilon)

View Source
Link to this function

islamic_date(year, month, day)

View Source
Link to this function

islamic_day(islamic_date)

View Source

Islamic Epoch. The Calendar is computed, by the majority of the Muslim world, starting at sunset of Thursday, July 15, &22 C.E. (Julian), the year of Mohammad's migration to Medina from Mecca.. The introduction of the calöendar is often attrituted to the Caliph 'Umar in 639 C.E., but there is evidence that it was in use before his succession. Muslims count R.D. 227015 = Friday, July 16, 622 C.E. (Julian) as the beginning of the Islamic year 1, that is, as Muharram 1, A.H. (Anno Hegira). DR4 106 (7.1), islamic-epoch = fixed-from-julian(ce(622), july, 16)

Link to this function

islamic_from_fixed(fixed)

View Source

Returns the Islamic date {year, season, week, weekday} equivalent to fixed date. DR4 108 (7.4), islamic-from-fixed

Link to this function

islamic_in_gregorian(i_month, i_day, g_year)

View Source

Returns the list of the fixed dates of a Islamic date that occur in Gregorian year g_year. DR4 108 (7.5), islamic-in-gregorian

Link to this function

islamic_leap_year?(year)

View Source

Returns true if the given year is a leap year. DR4 102 (7.2), islamic-leap-year

Take the Al-Azhar University, Cairo, a major Islamic religious center, as the location of the observation. DR4 293 (18.10), islamic-location

Link to this function

islamic_month(islamic_date)

View Source
Link to this function

islamic_year(islamic_date)

View Source
Link to this function

iso_date(year, week, day)

View Source

Returns the ISO date [year, week, day] equivalent to fixed date. DR4 96 (5.2), iso-from-fixed

Returns true, if year is a long (= 53 week) year, instead of the normal short (= 52 week) year. DR4 97 (5.3), iso-long-year?

Link to this function

italian_from_local(t_local)

View Source

Italian time corresponding to local time t_local. DR4 247 (14.88), italian-from-local

Noon at start of Gregorian year 2000 (precalculated). = gregorian_new_year(2000) + hr(12) DR4 212 (14.19), j2000

Location for Japanese calendar; varies with tee. Tokyo (139 deg 46 min east) local time DR4 326 (19.35), japanese-location

Returns the moment corresponding to the Julian Day Number 0. JD0 = noon on Monday, January 1, 4713 B.C.E. (Julian)

= noon on November 24, -4713 (Gregorian)

DR4 18 (1.3), jd-epoch

Returns the Julian Day Number jd corresponding to the moment tee. DR4 20 (1.14), jd-from-fixed

Returns the Julian Day Number jd corresponding to the moment tee. DR4 18 (1.5), jd-from-moment

Jerusalem. DR4 204 (14.4), jerusalem

Link to this function

jewish_dusk(fixed, location)

View Source

Standard time of Jewish dusk on fixed date at location (as per Vilna Gaon). DR4 243 (14.81), jewish-dusk

Link to this function

jewish_morning_end(fixed, location)

View Source

Standard time on fixed date at location of end of morning according to Jewish ritual. DR4 248 (14.92), jewish-morning-end

Link to this function

jewish_sabbath_ends(fixed, location)

View Source

Standard time of end of Jewish sabbath on fixed date at location (as per Berthold Cohn). DR4 243 (14.80), jewish-sabbath-ends

Year of Jupiter cycle at fixed date. DR4 157 (10.5), jovian-year

Julian centuries since 2000 at moment tee. DR4 212 (14.18), julian-centuries

Link to this function

julian_date(year, month, day)

View Source

Julian Epoch. {:gregorian, {0, 12, 30}} DR4 76 (3.2), julian-epoch

Link to this function

julian_from_fixed(fixed)

View Source

Returns the Julian date {year, month, day} corresponding to fixed_date. DR4 76 (3.4), julian-from-fixed

Link to this function

julian_in_gregorian(j_month, j_day, g_year)

View Source

Returns the list of the fixed dates of Julian month j_month and Julian day j_day that occur in Gregorian year g_year. DR4 85 (3.24), julian-in-gregorian

Returns true if the given year is a leap year. DR4 75 (3.1), julian-leap-year

Link to this function

julian_month(julian_date)

View Source
Link to this function

julian_season_in_gregorian(season, g_year)

View Source

DR4 84 (3.23), julian-season-in-gregorian

Link to this function

julian_year(julian_date)

View Source
Link to this function

julian_year_from_auc(year)

View Source

Returns the Julian year equivalent to AUC year. DR4 81 (3.13), julian-year-from-auc

Link to this function

julian_year_from_olympiad(o_date)

View Source

Returns the year on the Julian calendar of the olympiad. DR4 82 (3.16), julian-year-from-olympiad

Link to this function

julian_year_to_auc(year)

View Source

Returns the year AUC equivalent to Julian year. DR4 81 (3.14), auc-year-from-julian

Occurrences of Kajeng Keliwon (9th day of each 15-day subcycle of Pawukon) in Gregorian year g_year. DR4 190 (12.16), kajeng-keliwon

Kalends, Nones, and Ides. The kalends are always the first of the month. The ides are near the middle of the month - the thirteenth of the month, ecept in March, May, July, and October, when they fall on the fifteenth... The nones are always 8 days before the ides. DR4 77

Number (0-10) of the name of the n-th (1-60) Hindu karana. DR4 369 (20.63), karana

DR4 34 (1.68)

DR4 34 (1.67)

DR4 34 (1.66)

Link to this function

kday_on_or_after(k, fixed)

View Source

DR4 34 (1.65)

Link to this function

kday_on_or_before(k, fixed)

View Source

DR4 34 (1.62)

Location for Korean calendar; varies with tee. Seoul city hall at a varying time zone. local mean time for longitude 126 deg 58 min DR4 328 (19.36), korean-location

Link to this function

korean_year(cycle, year)

View Source

Equivalent Korean year to Chinese cycle and year. DR4 328 (19.37), korean-year

U.S. Labor Day DR4 69 (2.36), labor-day

Link to this function

last_day_of_gregorian_month(arg)

View Source

Returns the last day of a Gregorian month given by date and month. DR4 63 (2.27), last-day-of-gregorian-month

Link to this function

last_day_of_gregorian_month(year, month)

View Source
Link to this function

last_day_of_hebrew_month(year, month)

View Source

Last day of month month in Hebrew year year. DR4 122 (8.23), last-day-of-hebrew-month

Returns the Fixed date of the last k-day before, a given Gregorian date date. DR4 69 (2.35), last-kday

Link to this function

last_month_of_hebrew_year(year)

View Source

DR4 115 (8.15), last-month-of-hebrew-year

Least common multiple. DR4 21 (1.23), lcm

Link to this function

list_of_fixed_from_moments(list)

View Source

Convert each element of a list of moments into a fixed date. DR4 26 (1.37), list-of-fixed-from-moments

Those moments in list ell that occur in range. DR4 26 (1.39), list-range

Link to this function

local_from_apparent(t_local, location)

View Source

Local time from sundial time tee at location. DR4 218 (14.22), local-from-apparent

Local time corresponding to Italian time tee. DR4 247 (14.87), local-from-italian

Link to this function

local_from_standard(t_standard, location)

View Source

Local time from standard t_standard at location. DR4 208 (14.14), local-from-standard

Link to this function

local_from_universal(t_universal, location)

View Source

Local time from universal t_universal at location. DR4 208 (14.10), local-from-universal

Local time of dusk in Padua, Italy on date of moment tee. DR4 246 (14.86), local-zero-hour

Link to this function

location(latitude, longitude, elevation, zone)

View Source

True if Marheshvan is long in Hebrew year h_year. DR4 122 (8.24), long-marheshvan?

Fixed date of Tibetan New Year (Losar) in Tibetan year t_year. DR4 381 (21.8), losar

Link to this function

lunar_altitude(tee, location)

View Source

Geocentric altitude of moon at tee at location, as a small positive/negative angle in degrees, ignoring parallax and refraction. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998. DR4 237 (14.64), lunar-altitude

Mean anomaly of moon (in degrees) at moment given in Julian centuries c. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, p. 338. DR4 234 (14.52), lunar-anomaly

Geocentric apparent lunar diameter of the moon (in degrees) at moment tee. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998. DR4 252 (14.102), lunar-diameter

Distance to moon (in meters) at moment tee. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, pp. 338-342. DR4 238 (14.65), lunar-distance

Elongation of moon (in degrees) at moment given in Julian centuries c. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, p. 338. DR4 234 (14.50), lunar-elongation

Latitude of moon (in degrees) at moment tee. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, pp. 338-342. DR4 (14.63), lunar-latitude

Longitude of moon (in degrees) at moment tee. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, pp. 338-342. DR4 232 (14.48), lunar-longitude

Angular distance of the lunar node from the equinoctial point on fixed date. DR4 234 (14.54), lunar-node

Link to this function

lunar_parallax(tee, location)

View Source

Parallax of moon at tee at location. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998. DR4 238 (14.66), lunar-parallax

Lunar phase, as an angle in degrees, at moment tee. An angle of 0 means a new moon, 90 degrees means the first quarter, 180 means a full moon, and 270 degrees means the last quarter. DR4 235 (14.56), lunar-phase

Link to this function

lunar_phase_at_or_after(phi, tee)

View Source

Moment UT of the next time at or after tee when the lunar_phase is phi degrees. DR4 235 (14.58), lunar-phase-at-or-after

Link to this function

lunar_phase_at_or_before(phi, tee)

View Source

Moment UT of the last time at or before tee when the lunar_phase was phi degrees. DR4 235 (14.57), lunar-phase-at-or-before

Link to this function

lunar_semi_diameter(tee, location)

View Source

Topocentric lunar semi_diameter at moment tee and location. DR4 251 (14.101), lunar-semi-diameter

Link to this function

major_solar_term_on_or_after(fixed)

View Source

Moment (in Beijing) of the first Chinese major solar term (zhongqi) on or after fixed date. The major terms begin when the sun's longitude is a multiple of 30 degrees. DR4 308 (19.4), major-solar-term-on-or-after

Returns the Gregorian date of the Mawlid holiday. DR4 109 (7.6), mawlid

Link to this function

mayan_calendar_round_on_or_before(haab, tzolkin, fixed)

View Source

Fixed date of latest date on or before fixed, that is Mayan haab date haab and tzolkin date tzolkin. Returns bogus for impossible combinations. DR4 176 (11.13), mayan-calendar-round-on-or-before

Mayan Epoch. Fixed date of start of the Mayan calendar, according to the Goodman-Martinez-Thompson correlation. Monday, August 11, -3113 (Gregorian), = September 6, 3114 BCE (Julian), = 584283 (JD) = -1137142 (R.D.) DR4 171 (11.1), mayan-epoch

Link to this function

mayan_haab_date(month, day)

View Source
Link to this function

mayan_haab_day(mayan_haab_date)

View Source

MayanHaab Epoch. The long count date 0.0.0.0.0 is considered to be the haab date 8 Cumku (...), which we specify by giving the starting R.D. date of the haab cycle preceding the start of the long count. mayan-haab-epoch = mayan-epoch - mayan-haab-ordinal(18, 8) DR4 173 (11.5), mayan-haab-epoch

Link to this function

mayan_haab_from_fixed(fixed)

View Source

Mayan haab date of fixed date. DR4 173 (11.6), mayan-haab-from-fixed

Link to this function

mayan_haab_month(mayan_haab_date)

View Source
Link to this function

mayan_haab_on_or_before(haab, fixed)

View Source

Fixed date of latest date on or before fixed date that is Mayan haab date haab. DR4 173 (11.7), mayan-haab-on-or-before PyCalCal

Link to this function

mayan_haab_ordinal(h_date)

View Source

Number of days into cycle of Mayan haab date h_date. DR4 173 (11.4), mayan-haab-ordinal

Link to this function

mayan_long_count_baktun(mayan_long_count_date)

View Source
Link to this function

mayan_long_count_date(baktun, katun, tun, uinal, kin)

View Source
Link to this function

mayan_long_count_from_fixed(fixed)

View Source

Mayan long count date of fixed date. DR4 171 (11.3), mayan-long-count-from-fixed

Link to this function

mayan_long_count_katun(mayan_long_count_date)

View Source
Link to this function

mayan_long_count_kin(mayan_long_count_date)

View Source
Link to this function

mayan_long_count_tun(mayan_long_count_date)

View Source
Link to this function

mayan_long_count_uinal(mayan_long_count_date)

View Source
Link to this function

mayan_tzolkin_date(name, number)

View Source

MayanTzolkin Epoch. __ The long count date 0.0.0.0.0 is taken to be the tzolkin date 4 Ahau (...). Representing tzolkin dates as pairs of positive integers {number, name} where numberabd nameare integers in the ranges 1 to 13 and 1 to 20, respectively, we specify


mayan-tzolkin-epoch = mayan-epoch - mayan-tzolkin-ordinal(4, 20) = -1137301 DR4 175 (11.8), mayan-tzolkin-epoch

Link to this function

mayan_tzolkin_from_fixed(fixed)

View Source

Mayan tzolkin date of fixed date. DR4 175 (11.9), mayan-tzolkin-from-fixed

Link to this function

mayan_tzolkin_name(mayan_tzolkin_date)

View Source
Link to this function

mayan_tzolkin_number(mayan_tzolkin_date)

View Source
Link to this function

mayan_tzolkin_on_or_before(tzolkin, fixed)

View Source

Fixed date of latest date on or before fixed date that is Mayan tzolkin date tzolkin. DR4 175 (11.11), mayan-tzolkin-on-or-before

Link to this function

mayan_tzolkin_ordinal(t_date)

View Source

Number of days into Mayan tzolkin cycle of t_date. DR4 175 (11.10), mayan-tzolkin-ordinal

Mean longitude of moon (in degrees) at moment given in Julian centuries c. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, pp. 337-340. DR4 233 (14.49), mean-lunar-longitude

DR4 221 (14.32), mean-sidereal-year

DR4 227 (14.44), mean-synodic-month

DR4 221 (14.31), mean-tropical-year

Mecca. DR4 204 (14.3), mecca

U.S. Memorial Day DR4 70 (2.37), memorial-day

Fixed moment of Mesha samkranti (Vernal equinox) in Gregorian g_year. DR4 364 (20.51), mesha-samkranti

Universal time on fixed date of midday at location. DR4 218 (14.26), midday

Universal time of true noon on fixed date in Tehran. DR4 259 (15.3), midday-in-tehran

Link to this function

midnight(fixed, location)

View Source

Universal time of true (apparent) midnight of fixed date at location. DR4 218 (14.25), midnight

Link to this function

midnight_in_china(fixed)

View Source

Universal time of (clock) midnight at start of fixed date in China. DR4 309 (19.7), midnight-in-china

Link to this function

midnight_in_paris(fixed)

View Source

Universal time of true noon on fixed date in Paris. DR4 283 (17.2), midnight-in-paris

Link to this function

minor_solar_term_on_or_after(fixed)

View Source

Moment (in Beijing) of the first Chinese minor solar term (jieqi) on or after fixed date. The minor terms begin when the sun's longitude is an odd multiple of 15 degrees. DR4 308 (19.6), minor-solar-term-on-or-after

Link to this function

minutes_from_clock(clock)

View Source
Link to this function

minutes_from_moment(tee)

View Source

MJD Epoch. = midnight on Wednesday, November 17, 1858 (Gregorian) DR4 19 (1.6), mjd-epoch

Returns the MJD Number mjd corresponding to fixed date. DR4 19 (1.8), mjd-from-fixed

Convert x minutes into a fraction of a day.

Modified modulo function. DR4 21 (1.17)

Returns the Interval Modulus. The value of x shifted into the range [a..b). Returns x if a=b. DR4 22 (1.24), mod3 aka imod

Returns the moment of mean conjunction of h_month in Hebrew h_year. DR4 119 (8.19), molad

Round moment to integer number of seconds. (not DR4)

Returns the moment corresponding to the Julian Day Number jd. DR4 18 (1.4), moment-from-jd

Returns the moment corresponding to the Unix date s. DR4 19 (1.10), moment-from-unix

Link to this function

moment_of_depression(approx, location, alpha, early?)

View Source

Moment in local time near approx when depression angle of sun is alpha (negative if above horizon) at location; early? is true when morning event is sought, and false for evening. Returns bogus if depression angle is not reached. DR4 241 (14.70), moment-of-depression

Link to this function

month_length(fixed, location)

View Source

Length of lunar month based on observability at location, which includes fixed. DR4 294 (18.13), month-length

Moon's argument of latitude (in degrees) at moment given in Julian centuries c. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, p. 338. DR4 234 (14.53), moon-node

Link to this function

moonlag(fixed, location)

View Source

Moonlag. The lag time is simply the difference between the times of the moon and the sun. DR4 290 (18.1), moonlag

Link to this function

moonrise(fixed, location)

View Source

Standard time of moonrise on fixed date at location. Returns bogus if there is no moonrise on fixed. Else no moonrise this day. DR4 244 (14.83), moonrise

Link to this function

moonset(fixed, location)

View Source

Standard time of moonset on fixed date at location. Returns bogus if there is no moonset on fixed. Else no moonset this day. DR4 245 (14.84), moonset

Signifies morning. DR4 241 (14.71), morning

Date of Bahai New Year in Gregorian year g_year. DR4 277 (16.11), naw-ruz

Link to this function

new_moon_at_or_after(tee)

View Source

Moment UT of first new moon at or after tee. DR4 231 (14.47), new-moon-at-or-after

Moment UT of last new moon before tee. DR4 230 (14.46), new-moon-before

Returns the first integer greater or equal to initial index i such that condition p holds. DR4 23 (1.32), MIN

Link to this function

nighttime_temporal_hour(fixed, location)

View Source

Length of nighttime temporal hour on fixed date at location. Returns bogus if there no sunrise or sunset on date. DR4 248 (14.90), nighttime-temporal-hour

Nones of month. DR4 78 (3.9), nones_of_month

Date of Persian New Year (Nowruz) in Gregorian year g_year. DR4 265 (15.11), nowruz

Returns the Fixed date of the n-th k-day (n != 0 and kday the day of the week) on, or after or before, a given Gregorian date g_date (counting forward when n > 0, or backward when n < 0). DR4 69 (2.33), nth-kday

Moment of n-th new moon after (or before) the new moon of January 11, 1. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, corrected 2nd edn., 2005. DR4 229 (14.45), nth-new-moon

Specs

nutation(moment()) :: circle()

Longitudinal nutation at moment tee. DR4 223 (14.34), nutation lines 4100-4110 of calendrica-4.0.cl

Obliquity of ecliptic at moment tee. lines 3620-3628 of calendrica-4.0.cl DR4 220 (14.28), obliquity

Link to this function

observational_hebrew_date(year, month, day)

View Source
Link to this function

observational_hebrew_day(observational_hebrew_date)

View Source
Link to this function

observational_hebrew_first_of_nisan(g_year)

View Source

Fixed date of Observational (classical) Nisan 1 occurring in Gregorian year g_year. DR4 297 (18.22), observational-hebrew-first-of-nisan

Link to this function

observational_hebrew_from_fixed(fixed)

View Source

Observational Hebrew date {year, month, day} corresponding to fixed date. DR4 298 (18.23), observational-hebrew-from-fixed

Link to this function

observational_hebrew_month(observational_hebrew_date)

View Source
Link to this function

observational_hebrew_year(observational_hebrew_date)

View Source
Link to this function

observational_islamic_date(year, month, day)

View Source
Link to this function

observational_islamic_day(observational_islamic_date)

View Source
Link to this function

observational_islamic_from_fixed(fixed)

View Source

Observational Islamic date {year, month, day} corresponding to fixed date. DR4 294 (18.12), observational-islamic-from-fixed

Link to this function

observational_islamic_month(observational_islamic_date)

View Source
Link to this function

observational_islamic_year(observational_islamic_date)

View Source
Link to this function

observed_lunar_altitude(tee, location)

View Source

Observed altitude of upper limb of moon at tee at location, as a small positive/negative angle in degrees, including refraction and elevation. 16' is the approximate half-diameter of the moon. DR4 243 (14.82), observed-lunar-altitude

Link to this function

old_hindu_leap_year?(l_year)

View Source

True if l_year is a leap year on the old Hindu calendar. DR4 163 (10.11), old-hindu-lunar-leap-year?

Link to this function

old_hindu_lunar_date(year, month, leap, day)

View Source
Link to this function

old_hindu_lunar_day(old_hindu_lunar_date)

View Source
Link to this function

old_hindu_lunar_from_fixed(fixed)

View Source

Old Hindu lunar fixed equivalent to fixed fixed. DR4 165 (10.13), old-hindu-lunar-from-fixed

Link to this function

old_hindu_lunar_leap(old_hindu_lunar_date)

View Source
Link to this function

old_hindu_lunar_month(old_hindu_lunar_date)

View Source
Link to this function

old_hindu_lunar_year(old_hindu_lunar_date)

View Source
Link to this function

old_hindu_solar_date(year, month, day)

View Source
Link to this function

old_hindu_solar_day(old_hindu_solar_date)

View Source
Link to this function

old_hindu_solar_from_fixed(fixed)

View Source

Old Hindu solar fixed equivalent to fixed. DR4 159 (10.8), old-hindu-solar-from-fixed

Link to this function

old_hindu_solar_month(old_hindu_solar_date)

View Source
Link to this function

old_hindu_solar_year(old_hindu_solar_date)

View Source
Link to this function

olympiad_cycle(olympiad_date)

View Source
Link to this function

olympiad_date(cycle, year)

View Source
Link to this function

olympiad_from_julian_year(j_date)

View Source

Returns the Olympiad corresponding to Julian year j_year. DR4 82 (3.17), olympiad-from-julian-year

Returns the start of the Olympiads. DR4 82 (3.15), olympiad-start

Link to this function

olympiad_year(olympiad_date)

View Source

Number of elapsed weeks and days in the omer at fixed. Returns bogus if that date does not fall during the omer. DR4 129 (8.32), omer

Returns the Fixed date Gregorian g_year of Orthodox Easter. DR4 146 (9.1), orthodox-easter

Location of Padua. DR4 246 (14.85), padua

Location of Paris Observatory. Longitude corresponds to difference of 9m 21s between Paris time zone and Universal Time. DR4 283 (17.1), paris

Fixed date of Passover occurring in Gregorian year g_year. DR4 129 (8.31), passover

Returns the fixed Date of Christian Gregorian date of pentecost. DR4 152 (9.4), pentecost

Link to this function

persian_date(year, month, day)

View Source
Link to this function

persian_day(persian_date)

View Source

Persian Epoch. ... we just number the years, ..., and choose as epoch the traditional year of ascension of the first Yarlun King, Nyatri Tsenpo. = fixed-from-julian(622 C.E., march, 19) DR4 258 (15.1), persian-epoch

Link to this function

persian_from_fixed(fixed)

View Source

Astronomical Persian date {year, month, day} corresponding to fixed date. DR4 260 (15.6), persian-from-fixed

Link to this function

persian_month(persian_date)

View Source
Link to this function

persian_new_year_on_or_before(fixed)

View Source

Fixed date of Astronomical Persian New Year on or before fixed date. DR4 259 (15.4), persian-new-year-on-or-before

Link to this function

persian_year(persian_date)

View Source
Link to this function

phasis_on_or_after(fixed, location)

View Source

Closest fixed date on or after date on the eve of which crescent moon first became visible at location. DR4 252 (14.105), phasis-on-or-after

Link to this function

phasis_on_or_before(fixed, location)

View Source

Closest fixed date on or before date when crescent moon first became visible at location. DR4 252 (14.104), phasis-on-or-before

Specs

poly(number(), [number()]) :: [number()]

Sum powers of x with coefficients (from order 0 up) in list ell. see lines 685-691 of calendrica-4.0.cl

Link to this function

positions_in_range(p, c, delta, a, b)

View Source

Returns the list of occurrences of n-th day of c-day cycle in range. delta is the position in cycle of RD 0. a and b define the range to be searched. DR4 27 (1.40), positions-in-range

Link to this function

possible_hebrew_days(h_month, h_day)

View Source

Possible days of week. DR4 139 (8.50), possible-hebrew-days

List of possible weekdays. DR4 138 (8.48)

Precession at moment tee using 0,0 as J2000 coordinates. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, pp. 136-137. DR4 225 (14.39), precession

Link to this function

prod(expression, initial, condition)

View Source

Specs

prod((integer() -> number()), integer(), (integer() -> boolean())) :: number()

Product of expression for index = initial and successive integers, as long as condition holds. DR4 23 (1.31), lines 643-651 of calendrica-4.0.cl

Fixed date of Purim occurring in Gregorian year g_year. DR4 129 (8.33), purim

Fixed date of Qingming occurring in Gregorian year g_year. DR4 324 (19.28), qing-ming

Link to this function

radians_from_degrees(degrees)

View Source

Convert angle from degrees to radians.

List of fixed date(s) of Rama's Birthday in Gregorian year g_year. DR4 369 (20.61), rama

Identity function for fixed dates/moments. If internal timekeeping is shifted, change epoch to be RD date of origin of internal count. epoch should be an integer. see lines 693-699 of calendrica-4.0.cl DR4 12 (1.1), rd

Link to this function

refraction(tee, location)

View Source

Refraction angle at moment tee at location. The moment is not used. DR4 242 (14.75), refraction

Link to this function

right_ascension(tee, latitude, longitude)

View Source

Right ascension at moment UT tee of object at latitude beta and longitude lambda. DR4 220 (14.30), right-ascension lines 3641-3651 of calendrica-4.0.cl

Link to this function

roman_date(year, month, event, count, leap)

View Source

Returns the Romam date corresponding to the fixed date. DR4 80 (3.11), roman-from-fixed

Rounded value. DR4 20 (1.15), round

Link to this function

sacred_wednesdays(g_year)

View Source

List of Wednesdays in Gregorian year g_year that are day 8 of Hindu lunar months. DR4 370 (20.65), sacred-wednesdays

Link to this function

sacred_wednesdays_in_range(range)

View Source

List of Wednesdays within range of dates that are day 8 of Hindu lunar months. DR4 371 (20.66), sacred-wednesdays-in-range

Link to this function

samaritan_date(year, month, day)

View Source
Link to this function

samaritan_day(samaritan_date)

View Source

Samaritan epoch. fixed_from_julian(bce(1639), 3, 15) DR4 301 (18.32), samaritan-epoch

Link to this function

samaritan_from_fixed(fixed)

View Source

Samaritan date corresponding to fixed date. DR4 302 (18.35), samaritan-from-fixed

Location of Mt. Gerizim. DR4 300 (18.28), samaritan-location

Link to this function

samaritan_month(samaritan_date)

View Source
Link to this function

samaritan_new_moon_after(tee)

View Source

Fixed date of first new moon after UT moment tee. Modern calculation. DR4 300 (18.30), samaritan-new-moon-after

Link to this function

samaritan_new_moon_at_or_before(tee)

View Source

Fixed_date of last new moon before UT moment tee. Modern calculation. DR4 300 (18.31), samaritan-new-moon-at-or-before

Link to this function

samaritan_new_year_on_or_before(fixed)

View Source

Fixed date of Samaritan New Year on or before fixed date. DR4 301 (18.33), samaritan-new-year-on-or-before

Universal time of true noon on fixed at Samaritan location. DR4 300 (18.29), samaritan-noon

Link to this function

samaritan_year(samaritan_date)

View Source
Link to this function

samuel_season_in_gregorian(season, g_year)

View Source

Moment(s) of season in Gregorian year g_year. DR4 132 (8.39), samuel-season-in-gregorian

Saudi visibility criterion on eve of fixed date in Mecca. DR4 296 (18.17), saudi-criterion

Link to this function

saudi_islamic_date(year, month, day)

View Source
Link to this function

saudi_islamic_day(saudi_islamic_date)

View Source
Link to this function

saudi_islamic_from_fixed(fixed)

View Source

Saudi Islamic date {year, month, day} corresponding to fixed date. DR4 296 (18.20), saudi-islamic-from-fixed

Link to this function

saudi_islamic_month(saudi_islamic_date)

View Source
Link to this function

saudi_islamic_year(saudi_islamic_date)

View Source
Link to this function

saudi_new_month_on_or_before(fixed)

View Source

Closest fixed date on or before fixed when Saudi visibility criterion held. DR4 296 (18.18), saudi-new-month-on-or-before

Link to this function

season_in_gregorian(season, g_year)

View Source

Moment UT of season in Gregorian year g_year. seelines 4157-4161 of calendrica-4.0.cl DR4 224 (14.37), season-in-gregorian

Convert x seconds into a fraction of a day.

Link to this function

seconds_from_clock(clock)

View Source
Link to this function

seconds_from_moment(tee)

View Source
Link to this function

seconds_per_julian_year()

View Source

List of fixed dates of Sh'ela occurring in Gregorian year g_year. DR4 131 (8.37), sh-ela

Link to this function

shaukat_criterion(fixed, location)

View Source

S. K. Shaukat's criterion for likely visibility of crescent moon on eve of date at location. Not intended for high altitudes or polar regions. DR4 250 (14.97), shaukat-criterion

Shift each weekday on list l by cap-Delta days. DR4 138 (8.49), shift-days

List of fixed date(s) of Night of Shiva in Gregorian year g_year. DR4 369 (20.60), shiva

True if Kislev is short in Hebrew year h_year. DR4 122 (8.25), short-kislev?

Link to this function

sidereal_from_moment(tee)

View Source

Mean sidereal time of day from moment tee expressed as hour angle. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, Inc., 2nd edn., 1998, p. 88. lines 3923-3933 of calendrica-4.0.cl DR4 219 (14.27), sidereal-from-moment

Link to this function

sidereal_lunar_longitude(tee)

View Source

Sidereal lunar longitude at moment tee. DR4 234 (14.55), sidereal-lunar-longitude

Link to this function

sidereal_solar_longitude(tee)

View Source

Sidereal solar longitude at moment tee. DR4 225 (14.40), sidereal-solar-longitude

precession(universal_from_local(
  mesha_samkranti(ce(285)),hindu_location()))

precalculated: 336.13605101930455 DR4 359 (20.41), sidereal-start

Sidereal zodiacal sign of the sun, as integer in range 1..12, at moment tee. DR4 360 (20.43), sidereal-zodiac

Returns the sum of body b for indices i1 .. in running simultaneously thru lists l1 .. ln. List l is of the form [[i1 l1]..[in ln]]

l is a list of n lists of the same length L [l1, l2, l3, ...]

b is a lambda with n args

sigma sums all L applications of b to the relevant tuple of args

Example

iex> a = [1, 2, 3, 4] [1, 2, 3, 4] iex> b = [5, 6, 7, 8] [5, 6, 7, 8] iex> c = [9, 10, 11, 12] [9, 10, 11, 12] iex> l = [a,b,c] # THE LIST [[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12]] iex> z = Enum.zip(l) # >>> z = zip(l) [{1, 5, 9}, {2, 6, 10}, {3, 7, 11}, {4, 8, 12}] iex> b = fn {x, y, z} -> x y * z end iex> b.(hd(z)) # apply b to first element of z 45 iex> mapped = Enum.map(z, &(b.(&1))) [45, 120, 231, 384] iex> Enum.sum(mapped) 780 iex> Calixir.sigma(l, b) # USING LIST AND FUNCTION 780

Sign of y. DR4 20 (1.16), sign

Link to this function

simple_best_view(fixed, location)

View Source

Best viewing time (UT) in the evening. Simple version. DR4 250 (14.96), simple-best-view

Sine of theta (given in degrees).

Link to this function

sine_offset(tee, location, alpha)

View Source

Sine of angle between position of sun at local time tee and when its depression is alpha at location. Out of range when it does not occur. DR4 241 (14.69), sine-offset

Link to this function

solar_altitude(tee, location)

View Source

Geocentric altitude of sun at tee at location, as a positive/negative angle in degrees, ignoring parallax and refraction. DR4 226 (14.41), solar-altitude

Mean anomaly of sun (in degrees) at moment given in Julian centuries c. Adapted from "Astronomical Algorithms" by Jean Meeus, Willmann-Bell, 2nd edn., 1998, p. 338. DR4 234 (14.51), solar-anomaly

Specs

solar_longitude(moment()) :: season()

Longitude of sun at moment tee. Adapted from "Planetary Programs and Tables from -4000 to +2800" by Pierre Bretagnon and Jean-Louis Simon, Willmann-Bell, 1986. lines 4048-4098 of calendrica-4.0.cl DR4 223 (14.33), solar-longitude

Link to this function

solar_longitude_after(season, moment)

View Source

Specs

solar_longitude_after(season(), moment()) :: moment()

Moment UT of the first time at or after tee when the solar longitude will be lambda degrees. lines 4122-4135 of calendrica-4.0.cl DR4 224 (14.36), solar-longitude-after

Link to this function

standard_from_local(t_local, location)

View Source

Standard time from local t_local at location. DR4 208 (14.13), standard-from-local

Link to this function

standard_from_sundial(tee, location)

View Source

Standard time of temporal moment tee at location. Returns bogus if temporal hour is undefined that day. DR4 248 (14.91), standard-from-sundial

Link to this function

standard_from_universal(t_universal, location)

View Source

Standard time from t_universal in universal time at location. DR4 208 (14.11), standard-from-universal

Link to this function

sum(expression, initial, condition)

View Source

Specs

sum((integer() -> number()), integer(), (integer() -> boolean())) :: number()

Sum expression for index = initial and successive integers, as long as condition holds. DR4 23 (1.30), lines 634-641 of calendrica-4.0.cl

Link to this function

sunrise(fixed, location)

View Source

Standard time of sunrise on fixed date at location. DR4 242 (14.76), sunrise

Standard time of sunset on fixed date at location. DR4 242 (14.77), sunset

Fixed date of Ta'anit Esther occurring in Gregorian year g_year. DR4 130 (8.34), ta-anit-esther

Tangent of theta (given in degrees).

Location of Theran. DR4 259 (15.2), tehran

Link to this function

tibetan_date(year, month, leap_month, day, leap_day)

View Source
Link to this function

tibetan_day(tibetan_date)

View Source

Tibetan Epoch. ... we just number the years, ..., and choose as epoch the traditional year of ascension of the first Yarlun King, Nyatri Tsenpo. = {:gregorian, {-127, 12, 7}} DR4 376 (21.1), tibetan-epoch

Link to this function

tibetan_from_fixed(fixed)

View Source

Tibetan lunar date corresponding to fixed date. DR4 378 (21.5), tibetan-from-fixed

Link to this function

tibetan_leap_day(tibetan_date)

View Source
Link to this function

tibetan_leap_day?(t_year, t_month, t_day)

View Source

True if t_day is leap in Tibetan month t_month and year t_year. DR4 381 (21.7), tibetan-leap-day?

Link to this function

tibetan_leap_month(tibetan_date)

View Source
Link to this function

tibetan_leap_month?(t_year, t_month)

View Source

True if t_month is leap in Tibetan year t_year. DR4 380 (21.6), tibetan-leap-month?

Link to this function

tibetan_month(tibetan_date)

View Source
Link to this function

tibetan_moon_equation(alpha)

View Source

Interpolated tabular sine of lunar anomaly alpha. DR4 (21.3), tibetan-moon-equation

Link to this function

tibetan_new_year(g_year)

View Source

List of fixed dates of Tibetan New Year in Gregorian year g_year. DR4 381 (21.9), tibetan-new-year

Link to this function

tibetan_sun_equation(alpha)

View Source

Interpolated tabular sine of solar anomaly alpha. DR4 (21.2), tibetan-sun-equation

Link to this function

tibetan_year(tibetan_date)

View Source
Link to this function

time_from_clock(h, m, s)

View Source

Time of day from hms = hour:minute:second. DR4 28 (1.43), time-from-clock

Returns the time of day (= the day fraction of a moment). DR4 21 (1.18)

Fixed date of Tishah be-Av occurring in Gregorian year g_year. DR4 130 (8.35), tishah-be-av

Specs

to_radix(number(), [number()], [number()]) :: [number()]

The radix notation corresponding to x with base b for whole part and c for fraction. DR4 28 (1.42), to-radix

Link to this function

topocentric_lunar_altitude(tee, location)

View Source

Topocentric altitude of moon at tee at location, as a small positive/negative angle in degrees, ignoring refraction. DR4 239 (14.67), topocentric-lunar-altitude

Occurrences of Tumpek (14th day of Pawukon and every 35th subsequent day) within Gregorian year g_year. DR4 190 (12.17), tumpek

DR4 351 (20.25), ujjain

Link to this function

universal_from_apparent(t_apparent, location)

View Source

Universal time from sundial time tee at location. DR4 218 (14.24), universal-from-apparent

Link to this function

universal_from_dynamical(tee)

View Source

Universal moment from Dynamical time tee. DR4 212 (14.17), universal-from-dynamical

Link to this function

universal_from_local(t_local, location)

View Source

Universal time from local t_local at location. DR4 208 (14.9), universal-from-local

Link to this function

universal_from_standard(t_standard, location)

View Source

Universal time from t_standard in standard time at location. DR4 208 (14.12), universal-from-standard

Returns the moment corresponding to the Unix epoch. = midnight Universal Time on January 1, 1970 (Gregorian) DR4 19 (1.9), unix-epoch

Returns the moment corresponding to the Unix date s. DR4 19 (1.11), unix-from-moment

Unlucky Fridays DR4 71 (2.45), unlucky-fridays

Link to this function

unlucky_fridays_in_range(arg)

View Source

Unlucky Fridays in Range DR4 71 (2.44), unlucky-fridays-in-range

Urbana, Illinois. DR4 204 (14.1), urbana

Standard time of sunset in Urbana, Illinois, on a given Gregorian date. DR4 243 (14.78), sunset

Standard time of the winter solstice in Urbana, Illinois. DR4 225 (14.38), urbana-winter

Link to this function

vietnamese_location(tee)

View Source

Location for Vietnamese calendar is Hanoi; varies with tee. Time zone has changed over the years. DR4 329 (19.38), vietnamese-location

Link to this function

visible_crescent(fixed, location)

View Source

Criterion for possible visibility of crescent moon on eve of fixed at location. Shaukat's criterion may be replaced with another. DR4 252 (14.103), visible-crescent

Lichun does not occur (double_blind year). DR4 325 (19.33), widow

Link to this function

yahrzeit(death_date, h_year)

View Source

Fixed date of the anniversary of Hebrew death_date in Hebrew h_year. DR4 136 (8.46), yahrzeit

Link to this function

yahrzeit(death_year, death_month, death_day, h_year)

View Source
Link to this function

yahrzeit_in_gregorian(death_date, g_year)

View Source

List of the fixed dates of death_date (yahrzeit) in Gregorian year g_year. DR4 137 (8.47), yahrzeit-in-gregorian

Link to this function

yallop_criterion(fixed, location)

View Source

B. D. Yallop's criterion for possible visibility of crescent moon on eve of fixed at location. Not intended for high altitudes or polar regions. DR4 251 (14.100), yallop-criterion

Link to this function

year_bearer_from_fixed(fixed)

View Source

Year bearer of year containing fixed date. Returns bogus for uayeb. DR4 176 (11.12), mayan-year-bearer-from-fixed

Returns the year on the Julian calendar of the founding of Rome. DR4 81 (3.12), year-rome-founded

Hindu yoga on fixed date. DR4 369 (20.64), yoga

Fixed date of Yom ha-Zikkaron occurring in Gregorian year g_year. DR4 131 (8.36), yom-ha-zikkaron

Fixed date of Yom Kippur occurring in Gregorian year g_year. DR4 128 (8.30), yom-kippur

Link to this function

zone_from_longitude(longitude)

View Source

Difference between UT and local mean time at longitude as a fraction of a day. DR4 208 (14.8), zone-from-longitude