File: cal-bahai.el.html
This collection of functions implements the features of calendar.el and diary-lib.el that deal with the Bahá’í calendar.
The Bahá’í (https://www.bahai.org) calendar system is based on a
solar cycle of 19 months with 19 days each. The four remaining
"intercalary" days are called the Ayyám-i-Há (days of Há), and are
placed between the 18th and 19th months. They are meant as a time
of festivals preceding the 19th month, which is the month of
fasting. In Gregorian leap years, there are 5 of these days (Há
has the numerical value of 5 in the arabic abjad, or
letter-to-number, reckoning).
Each month is named after an attribute of God, as are the 19 days
-- which have the same names as the months. There is also a name
for each year in every 19 year cycle. These cycles are called
Váhids. A cycle of 19 Váhids (361 years) is called a Kullu-Shay,
which means "all things".
The calendar was named the "Badí‘ calendar" by its author, the Báb. It uses a week of seven days, corresponding to the Gregorian week, each of which has its own name, again patterned after the attributes of God.
Note: The days of Ayyám-i-Há are encoded as zero and negative offsets from the first day of the final month. So, (19 -3 157) is the first day of Ayyám-i-Há, in the year 157 BE.
Defined variables (3)
calendar-bahai-epoch | Absolute date of start of Bahá’í calendar = March 21, 1844 AD. |
calendar-bahai-leap-base | Number of leap years between 1 and 1844 AD, inclusive. |
calendar-bahai-month-name-array | Array of the month names in the Bahá’í calendar. |
Defined functions (17)
calendar-bahai-date-string | (&optional DATE) |
calendar-bahai-from-absolute | (DATE) |
calendar-bahai-goto-date | (DATE &optional NOECHO) |
calendar-bahai-leap-year-p | (YEAR) |
calendar-bahai-mark-date-pattern | (MONTH DAY YEAR &optional COLOR) |
calendar-bahai-print-date | () |
calendar-bahai-read-date | () |
calendar-bahai-to-absolute | (DATE) |
diary-bahai-date | () |
diary-bahai-insert-entry | (ARG) |
diary-bahai-insert-monthly-entry | (ARG) |
diary-bahai-insert-yearly-entry | (ARG) |
diary-bahai-list-entries | () |
diary-bahai-mark-entries | () |
holiday-bahai | (MONTH DAY STRING) |
holiday-bahai-new-year | () |
holiday-bahai-ridvan | (&optional ALL) |