aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/calendar/cal-dst.el
Commit message (Collapse)AuthorAgeFilesLines
* Trailing whitepace deleted.Juanma Barranquero2003-02-041-4/+4
|
* Some fixes to follow coding conventions.Pavel Janík2001-07-161-1/+1
|
* (calendar-time-zone-daylight-rules): Add supportPaul Eggert1996-12-191-3/+13
| | | | | for daylight saving rules in Iran. (require 'cal-persia) now needed.
* Update FSF's address.Erik Naggum1996-01-141-2/+3
|
* Fixed dst-in-effect for southern hemisphere. Also made doc string clearer.Edward M. Reingold1995-12-051-12/+11
|
* Minor fixes; moved some code here from other calendar files.Edward M. Reingold1995-09-211-2/+54
|
* (calendar-current-time-zone): Fix typo thatRichard M. Stallman1994-05-301-2/+2
| | | | transposed DST-STARTS-TIME and DST-ENDS-TIME.
* (calendar-daylight-savings-ends): Fix typo in put.Richard M. Stallman1994-05-301-1/+1
|
* Update copyright.Karl Heuer1994-05-031-1/+1
|
* Fix copying conditions for current GPL version.Richard M. Stallman1994-04-071-13/+12
|
* (calendar-daylight-savings-ends)Richard M. Stallman1994-04-071-0/+4
| | | | (calendar-daylight-savings-ends): Add risky-local-variable property.
* (calendar-absolute-from-time): Undo Sep 14 patch.Richard M. Stallman1993-11-131-4/+4
| | | | Fix comments instead, since they didn't match the code.
* (calendar-absolute-from-time): Fix typo by interchanging (floor) and (%).Brian Fox1993-09-211-1/+1
|
* (calendar-time-zone-daylight-rules): Remove special case for Israel.Paul Eggert1993-09-061-29/+5
| | | | | Israel has changed its daylight savings time rules, and we don't know what the current rules are.
* (calendar-time-zone-daylight-rules): Scan through thePaul Eggert1993-08-281-75/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | next few years until at most one rule remains; if none remain, then just use the first candidate rule; it's wrong in general, but it's right for at least one year. This is a better heuristic in case the underlying time zone implementation has bugs (which is all too common). If possible, don't convert back and forth between gregorian and absolute; this speeds things up noticeably. This uses the new calendar-nth-named-absday function. (calendar-current-time-zone): Some locales start DST at a different time of day than they end; allow for this by yielding both times. The performance speedups in calendar.el are great enough that we now no longer need the "Checking time zone data..." message. If current-time-zone yields nil, don't bother with calendar-next-time-zone-transition. Use clearer names for local vars. (calendar-time-zone, calendar-daylight-time-offset, calendar-{standard,daylight}-time-zone-name, calendar-daylight-savings-{starts,ends}): Default to US Eastern rules for information that is not available. (calendar-daylight-savings-{starts,ends}-time): New vars, replacing calendar-daylight-savings-switchover-time, to support locales that start DST at a different time of day than they end. (calendar-absolute-from-time): Fix typo by interchanging floor and mod.
* Undo last change.Roland McGrath1993-08-101-6/+6
|
* (calendar-absolute-from-time, calendar-time-from-absolute): Use % in placeRoland McGrath1993-08-101-6/+6
| | | | of mod. Use (floor (/ A B)) in place of (floor A B).
* (calendar-/, calendar-%): Remove, since floor and modPaul Eggert1993-08-101-21/+6
| | | | now subsume them. All callers changed.
* * cal-dst.el: New file.Jim Blandy1993-06-221-0/+352
(calendar-/, calendar-%, calendar-absolute-from-time, calendar-time-from-absolute, calendar-next-time-zone-transition, calendar-time-zone-daylight-rules): New functions. (calendar-current-time-zone): Moved from calendar.el and rewritten. (calendar-current-time-zone-cache): New variable. (calendar-current-time-zone, calendar-time-zone, calendar-daylight-time-offset, calendar-standard-time-zone-name, calendar-daylight-time-zone-name, calendar-daylight-savings-starts, calendar-daylight-savings-ends, calendar-daylight-savings-switchover-time): Moved from calendar.el.