Mercurial > emacs
comparison lisp/calendar/cal-iso.el @ 96298:c3ebac47d0e9
(calendar-iso-from-absolute): Add autoload cookie.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 26 Jun 2008 03:42:23 +0000 |
parents | e49abd957e81 |
children | a9dc0e7c3f2b |
comparison
equal
deleted
inserted
replaced
96297:7653ed8392c5 | 96298:c3ebac47d0e9 |
---|---|
48 (if (zerop day) 6 (1- day))))) | 48 (if (zerop day) 6 (1- day))))) |
49 | 49 |
50 (define-obsolete-function-alias 'calendar-absolute-from-iso | 50 (define-obsolete-function-alias 'calendar-absolute-from-iso |
51 'calendar-iso-to-absolute "23.1") | 51 'calendar-iso-to-absolute "23.1") |
52 | 52 |
53 ;;;###cal-autoload | |
53 (defun calendar-iso-from-absolute (date) | 54 (defun calendar-iso-from-absolute (date) |
54 "Compute the `ISO commercial date' corresponding to the absolute DATE. | 55 "Compute the `ISO commercial date' corresponding to the absolute DATE. |
55 The ISO year corresponds approximately to the Gregorian year, but weeks | 56 The ISO year corresponds approximately to the Gregorian year, but weeks |
56 start on Monday and end on Sunday. The first week of the ISO year is the | 57 start on Monday and end on Sunday. The first week of the ISO year is the |
57 first such week in which at least 4 days are in a year. The ISO commercial | 58 first such week in which at least 4 days are in a year. The ISO commercial |