Function: calendar-mayan-long-count-to-absolute
calendar-mayan-long-count-to-absolute is a byte-compiled function
defined in cal-mayan.el.gz.
Signature
(calendar-mayan-long-count-to-absolute C)
Documentation
Compute the absolute date corresponding to the Mayan Long Count C.
Long count is a list (baktun katun tun uinal kin).
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/cal-mayan.el.gz
(defun calendar-mayan-long-count-to-absolute (c)
"Compute the absolute date corresponding to the Mayan Long Count C.
Long count is a list (baktun katun tun uinal kin)."
(+ (* (nth 0 c) 144000) ; baktun
(* (nth 1 c) 7200) ; katun
(* (nth 2 c) 360) ; tun
(* (nth 3 c) 20) ; uinal
(nth 4 c) ; kin (days)
;; Days before absolute date 0.
(- calendar-mayan-days-before-absolute-zero)))