X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/0d9f702fd085bc8ad560a3e1f08d5e93054a5d33..acaf905b1130aae80fa59d2c861ffd4c8eb75486:/lisp/calendar/cal-dst.el diff --git a/lisp/calendar/cal-dst.el b/lisp/calendar/cal-dst.el index 1481d650e7..e3996cae3d 100644 --- a/lisp/calendar/cal-dst.el +++ b/lisp/calendar/cal-dst.el @@ -1,7 +1,6 @@ ;;; cal-dst.el --- calendar functions for daylight saving rules -;; Copyright (C) 1993, 1994, 1995, 1996, 2001, 2002, 2003, 2004, 2005, -;; 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +;; Copyright (C) 1993-1996, 2001-2012 Free Software Foundation, Inc. ;; Author: Paul Eggert ;; Edward M. Reingold @@ -446,16 +445,12 @@ Fractional part of DATE is local standard time of day." (or (<= dst-starts date) (< date dst-ends)))))) ;; used by calc, lunar, solar. -(defun dst-adjust-time (date time &optional style) +(defun dst-adjust-time (date time) "Adjust, to account for dst on DATE, decimal fraction standard TIME. Returns a list (date adj-time zone) where `date' and `adj-time' are the values adjusted for `zone'; here `date' is a list (month day year), `adj-time' is a decimal fraction time, and `zone' is a string. -Optional parameter STYLE forces the result time to be standard time when its -value is 'standard and daylight saving time (if available) when its value is -'daylight. - Conversion to daylight saving time is done according to `calendar-daylight-savings-starts', `calendar-daylight-savings-ends', `calendar-daylight-savings-starts-time',