Function: calendar-chinese-months
calendar-chinese-months is a byte-compiled function defined in
cal-china.el.gz.
Signature
(calendar-chinese-months C Y)
Documentation
A list of the months in cycle C, year Y of the Chinese calendar.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/cal-china.el.gz
(defun calendar-chinese-months (c y)
"A list of the months in cycle C, year Y of the Chinese calendar."
(memq 1 (append
(mapcar (lambda (x)
(car x))
(calendar-chinese-year (calendar-extract-year
(calendar-gregorian-from-absolute
(calendar-chinese-to-absolute
(list c y 1 1))))))
(mapcar (lambda (x)
(if (> (car x) 11) (car x)))
(calendar-chinese-year (calendar-extract-year
(calendar-gregorian-from-absolute
(calendar-chinese-to-absolute
(list (if (= y 60) (1+ c) c)
(if (= y 60) 1 y)
1 1)))))))))