Function: holiday-julian
holiday-julian is an autoloaded and byte-compiled function defined in
cal-julian.el.gz.
Signature
(holiday-julian MONTH DAY STRING)
Documentation
Holiday on MONTH, DAY (Julian) called STRING.
If MONTH, DAY (Julian) is visible, the value returned is corresponding Gregorian date in the form of the list (((month day year) STRING)). Returns nil if it is not visible in the current calendar window.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/cal-julian.el.gz
;;;###holiday-autoload
(defun holiday-julian (month day string)
"Holiday on MONTH, DAY (Julian) called STRING.
If MONTH, DAY (Julian) is visible, the value returned is corresponding
Gregorian date in the form of the list (((month day year) STRING)). Returns
nil if it is not visible in the current calendar window."
(let ((gdate (calendar-nongregorian-visible-p
month day 'calendar-julian-to-absolute
'calendar-julian-from-absolute
;; In the Gregorian case, we'd use the lower year when
;; month >= 11. In the Julian case, there is an offset
;; of two weeks (ie 1 Nov Greg = 19 Oct Julian). So we
;; use month >= 10, since it can't cause any problems.
(lambda (m) (< m 10)))))
(if gdate (list (list gdate string)))))