1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
Commit Graph

35 Commits

Author SHA1 Message Date
Edward M. Reingold
2396dbcbdd Double DST correction removed! 1996-04-27 00:13:07 +00:00
Edward M. Reingold
b92f6988fa Fixed solar-arcsin/arcos stuff. 1996-03-30 00:07:35 +00:00
Karl Heuer
498020d2b5 (sunrise-sunset): Pass proper format string to message. 1996-01-25 00:57:33 +00:00
Erik Naggum
371ea94f55 (solar-moment, solar-ephemeris-time, solar-equatorial-coordinates,
solar-horizontal-coordinates): Doc fixes.
1996-01-24 19:09:39 +00:00
Edward M. Reingold
556b41d2af Fixed doc strings and references to calendar-latitude and calendar-longitude. 1996-01-24 15:55:55 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Edward M. Reingold
087c56fa31 Rewrote completely for better accuracy. 1995-12-27 17:21:34 +00:00
Paul Eggert
ac138dc079 Fix misspelling in comment. 1995-12-17 03:32:19 +00:00
Paul Eggert
aaffc2657a (solar-longitude): Doc fix. 1995-11-30 03:25:04 +00:00
Edward M. Reingold
75af4a4adc Added code to support Chinese calendar. Minor fixes as well. 1995-09-21 02:47:50 +00:00
Richard M. Stallman
9a1221bc9c Doc fixes. 1995-08-21 05:19:39 +00:00
Edward M. Reingold
562a94a041 Fix bug in determination of output string. 1995-06-19 15:36:11 +00:00
Edward M. Reingold
89719ce9c5 Check for nil time before trying to adjust it for dst. 1994-11-07 16:39:17 +00:00
Edward M. Reingold
6ff099c3c6 Allow vector form of latitude/longitude. Fix documentation. 1994-10-26 15:34:14 +00:00
Edward M. Reingold
c68488d2f7 (solar-sunrise, solar-sunset): Fix doc string.
(solar-time-string): Rewritten.
(solar-adj-time-for-dst): New function.
(solar-sunrise-sunset, diary-sabbath-candles,
 solar-equinoxes-solstices): Revised to use the rewritten and new fcns.
1994-06-03 20:26:33 +00:00
Richard M. Stallman
ec4dfb6bfb (sunrise-sunset): Undo previous change. 1994-05-01 20:18:39 +00:00
Richard M. Stallman
2d2bdb7aba (solar-degrees-to-hours, solar-hours-to-days): Force floating result.
(sunrise-sunset): Don't alter calendar-daylight-savings-starts
and calendar-daylight-savings-ends.
1994-05-01 07:39:02 +00:00
Richard M. Stallman
5924340384 Fix copying conditions for current GPL version. 1994-04-07 20:30:18 +00:00
Richard M. Stallman
6a6e6405ef (calendar-sunrise-sunset): Use new error arg to calendar-cursor-to-date.
(sunrise-sunset): Allow it to be called without an argument (as advertized).
1994-02-07 20:56:46 +00:00
Richard M. Stallman
abd93e6653 (calendar-sunrise-sunset): Add date to message. 1994-01-30 00:29:09 +00:00
Richard M. Stallman
ce4d3fff9b (solar-equinoxes-solstices): Add autoload. 1993-11-14 22:54:45 +00:00
Richard M. Stallman
3d9dece2e8 (solar-n-hemi-seasons, solar-s-hemi-seasons): New vars.
(solar-equinoxes-solstices): Use them to fix names for southern hemisphere.
1993-10-20 05:51:19 +00:00
Brian Fox
fc68b5523c (s-hemi-seasons n-hemi-seasons): New constants are hemisphere
dependent list of season names.  The names are "international"; i.e.,
`vernal' and `autumnal' are used consistently.
(solar-equinoxes-solstices): Use new constants, allowing southern
hemisphere reports to be meaningful.
(sunrise-sunset): Use `frame-width' instead of `screen-width'.
1993-09-21 07:46:03 +00:00
Paul Eggert
3a2e3ab5ba Use integers instead of floating point where they will do.
(solar-equinoxes-solstices): Invert seasons in southern hemisphere.
(solar-degrees-to-quadrant): Use `floor' instead of `truncate'.
1993-08-29 17:28:19 +00:00
Paul Eggert
c27a1f512c (solar-time-string):
Use new calendar-daylight-savings-{starts,ends}-time
vars instead of old calendar-daylight-savings-switchover-time var.
1993-08-28 04:14:25 +00:00
Jim Blandy
808977603e * solar.el (solar-sunrise, solar-sunset, solar-longitude-of-sun):
Make both arguments to solar-mod float.

(sunrise-sunset): Change screen-width to frame-width.
1993-08-20 15:55:29 +00:00
Paul Eggert
12e070d17a (siolar-mode): Remove, since mod now subsumes it. ALl callers changed. 1993-08-10 04:14:17 +00:00
Richard M. Stallman
1bd4e7608f Doc fixes. 1993-06-28 05:18:27 +00:00
Jim Blandy
a92ade89ed * solar.el (calendar-holiday-solar-equinoxes-solstices): Renamed
solar-equinoxes-solstices.
        (calendar-time-display-form, calendar-latitude,
        calendar-longitude): Moved from calendar.el.
        (calendar-time-zone, calendar-standard-time-zone-name,
        calendar-daylight-time-zone-name,
        calendar-daylight-savings-starts, calendar-daylight-savings-ends):
        Take default values from calendar-current-time-zone, instead of
        being overwritten in open code if they were set to nil.
        (solar-time-string): Subtract calendar-daylight-time-offset when
        computing dst-ends.  Avoid rounding errors when rounding time to
        the nearest minute.
1993-06-22 03:22:40 +00:00
Jim Blandy
e2fe2f5238 *solar.el (solar-setup, solar-ephemeris-time, sunrise-sunset): Change
Universal Time (UT) to Coordinated Universal Time (UTC).
        (solar-time-string): Use calendar-daylight-time-offset instead of
        1 hr, and use calendar-daylight-savings-switchover-time instead of
        midnight.  Add an optional parameter to allow forcing the use of
        standard or daylight savings time.  Fix code so it works in
        southern hemisphere (start of dst precedes end of dst in a
        calendar year) and when dst either starts or ends in a calendar
        year, but not both.
1993-06-16 23:12:21 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Eric S. Raymond
68e6022543 Corrected Keywords header 1993-03-18 21:44:24 +00:00
Jim Blandy
0267e275bc * solar.el (solar-time-string): Round the time properly. 1993-03-18 21:39:28 +00:00
Jim Blandy
fbfed6f05f entered into RCS 1992-08-19 03:54:46 +00:00
Jim Blandy
9f34a2a0c8 Initial revision 1992-08-12 12:49:57 +00:00