diff options
| author | Jay Belanger | 2007-09-01 04:13:52 +0000 |
|---|---|---|
| committer | Jay Belanger | 2007-09-01 04:13:52 +0000 |
| commit | 7a5e3e973f65c392ef86be21272fda2f4a0d1c67 (patch) | |
| tree | 731be0812d79283a3bfbff0a200c454eb8c98b4f | |
| parent | ecaf73343a56a8e46c88db245778e122a0696eb7 (diff) | |
| download | emacs-7a5e3e973f65c392ef86be21272fda2f4a0d1c67.tar.gz emacs-7a5e3e973f65c392ef86be21272fda2f4a0d1c67.zip | |
(Date Conversions): Clarify definition of Julian day.
(Date Forms): Clarify definition of Julian date; add some history.
| -rw-r--r-- | man/ChangeLog | 7 | ||||
| -rw-r--r-- | man/calc.texi | 55 |
2 files changed, 48 insertions, 14 deletions
diff --git a/man/ChangeLog b/man/ChangeLog index 245b4c7e96f..8e58d905937 100644 --- a/man/ChangeLog +++ b/man/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2007-09-01 Jay Belanger <jay.p.belanger@gmail.com> | ||
| 2 | |||
| 3 | * calc.texi (Date Conversions): Clarify definition of | ||
| 4 | Julian day numbering. | ||
| 5 | (Date Forms): Clarify definition of Julian day numbering; | ||
| 6 | add some history. | ||
| 7 | |||
| 1 | 2007-08-30 Carsten Dominik <dominik@science.uva.nl> | 8 | 2007-08-30 Carsten Dominik <dominik@science.uva.nl> |
| 2 | 9 | ||
| 3 | * org.texi: Version 5.07 | 10 | * org.texi: Version 5.07 |
diff --git a/man/calc.texi b/man/calc.texi index 194d36d8f5f..93c7123d6a4 100644 --- a/man/calc.texi +++ b/man/calc.texi | |||
| @@ -11053,17 +11053,44 @@ Please note that there is no ``year 0''; the day before | |||
| 11053 | days 0 and @mathit{-1} respectively in Calc's internal numbering scheme. | 11053 | days 0 and @mathit{-1} respectively in Calc's internal numbering scheme. |
| 11054 | 11054 | ||
| 11055 | @cindex Julian day counting | 11055 | @cindex Julian day counting |
| 11056 | Another day counting system in common use is, confusingly, also | 11056 | Another day counting system in common use is, confusingly, also called |
| 11057 | called ``Julian.'' It was invented in 1583 by Joseph Justus | 11057 | ``Julian.'' The Julian day number is the numbers of days since |
| 11058 | Scaliger, who named it in honor of his father Julius Caesar | 11058 | 12:00 noon (GMT) on Jan 1, 4713 BC, which in Calc's scheme (in GMT) |
| 11059 | Scaliger. For obscure reasons he chose to start his day | 11059 | is @mathit{-1721423.5} (recall that Calc starts at midnight instead |
| 11060 | numbering on Jan 1, 4713 BC at noon, which in Calc's scheme | 11060 | of noon). Thus to convert a Calc date code obtained by unpacking a |
| 11061 | is @mathit{-1721423.5} (recall that Calc starts at midnight instead | 11061 | date form into a Julian day number, simply add 1721423.5 after |
| 11062 | of noon). Thus to convert a Calc date code obtained by | 11062 | compensating for the time zone difference. The built-in @kbd{t J} |
| 11063 | unpacking a date form into a Julian day number, simply add | 11063 | command performs this conversion for you. |
| 11064 | 1721423.5. The Julian code for @samp{6:00am Jan 9, 1991} | 11064 | |
| 11065 | is 2448265.75. The built-in @kbd{t J} command performs | 11065 | The Julian day number is based on the Julian cycle, which was invented |
| 11066 | this conversion for you. | 11066 | in 1583 by Joseph Justus Scaliger. Scaliger named it the Julian cycle |
| 11067 | since it is involves the Julian calendar, but some have suggested that | ||
| 11068 | Scaliger named it in honor of his father, Julius Caesar Scaliger. The | ||
| 11069 | Julian cycle is based it on three other cycles: the indiction cycle, | ||
| 11070 | the Metonic cycle, and the solar cycle. The indiction cycle is a 15 | ||
| 11071 | year cycle originally used by the Romans for tax purposes but later | ||
| 11072 | used to date medieval documents. The Metonic cycle is a 19 year | ||
| 11073 | cycle; 19 years is close to being a common multiple of a solar year | ||
| 11074 | and a lunar month, and so every 19 years the phases of the moon will | ||
| 11075 | occur on the same days of the year. The solar cycle is a 28 year | ||
| 11076 | cycle; the Julian calendar repeats itself every 28 years. The | ||
| 11077 | smallest time period which contains multiples of all three cycles is | ||
| 11078 | the least common multiple of 15 years, 19 years and 28 years, which | ||
| 11079 | (since they're pairwise relatively prime) is | ||
| 11080 | @texline @math{15\times 19\times 28 = 7980} years. | ||
| 11081 | @infoline 15*19*28 = 7980 years. | ||
| 11082 | This is the length of a Julian cycle. Working backwards, the previous | ||
| 11083 | year in which all three cycles began was 4713 BC, and so Scalinger | ||
| 11084 | chose that year as the beginning of a Julian cycle. Since at the time | ||
| 11085 | there were no historical records from before 4713 BC, using this year | ||
| 11086 | as a starting point had the advantage of avoiding negative year | ||
| 11087 | numbers. In 1849, the astronomer John Herschel (son of William | ||
| 11088 | Herschel) suggested using the number of days since the beginning of | ||
| 11089 | the Julian cycle as an astronomical dating system; this idea was taken | ||
| 11090 | up by other astronomers. (At the time, noon was the start of the | ||
| 11091 | astronomical day. Herschel originally suggested counting the days | ||
| 11092 | since Jan 1, 4713 BC at noon Alexandria time; this was later amended to | ||
| 11093 | noon GMT.) Julian day numbering is largely used in astronomy. | ||
| 11067 | 11094 | ||
| 11068 | @cindex Unix time format | 11095 | @cindex Unix time format |
| 11069 | The Unix operating system measures time as an integer number of | 11096 | The Unix operating system measures time as an integer number of |
| @@ -16656,9 +16683,9 @@ The last two arguments default to zero if omitted. | |||
| 16656 | @cindex Julian day counts, conversions | 16683 | @cindex Julian day counts, conversions |
| 16657 | The @kbd{t J} (@code{calc-julian}) [@code{julian}] command converts | 16684 | The @kbd{t J} (@code{calc-julian}) [@code{julian}] command converts |
| 16658 | a date form into a Julian day count, which is the number of days | 16685 | a date form into a Julian day count, which is the number of days |
| 16659 | since noon on Jan 1, 4713 BC. A pure date is converted to an integer | 16686 | since noon (GMT) on Jan 1, 4713 BC. A pure date is converted to an |
| 16660 | Julian count representing noon of that day. A date/time form is | 16687 | integer Julian count representing noon of that day. A date/time form |
| 16661 | converted to an exact floating-point Julian count, adjusted to | 16688 | is converted to an exact floating-point Julian count, adjusted to |
| 16662 | interpret the date form in the current time zone but the Julian | 16689 | interpret the date form in the current time zone but the Julian |
| 16663 | day count in Greenwich Mean Time. A numeric prefix argument allows | 16690 | day count in Greenwich Mean Time. A numeric prefix argument allows |
| 16664 | you to specify the time zone; @pxref{Time Zones}. Use a prefix of | 16691 | you to specify the time zone; @pxref{Time Zones}. Use a prefix of |