Date::Baha::i

Convert to and from Baha'i dates
Download

Date::Baha::i Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Gene Boggs
  • Publisher web site:
  • http://search.cpan.org/~gene/

Date::Baha::i Tags


Date::Baha::i Description

Convert to and from Baha'i dates Date::Baha::i is a Perl module that renders the Baha'i date from two standard date formats - epoch time and a (year, month, day) triple. It also converts a Baha'i date to standard ymd format.This package is not a date arithmetic calculator. It converts date strings to the reverse representation.The following passages are excerpts from the "SEE ALSO" section links.What we usually call the Baha'i calendar is technically called the Badi calendar. The word "Badi" means "Wonderful" and was the name of several people of importance in Baha'i history, most notably the youth who volunteered to carry a Tablet from Baha'u'llah to Nasiri'd-Din Shah and was upon its delivery tortured and killed. An alternate translation of the word, used in the calendar itself, is "Beginning". But regardless of how the calendar came to be called the Badi calendar, it was created by the Bab and Baha'u'llah specified a few of the details that His Forerunner had not provided.The number nineteen has a special significance for Baha'is. It was common in Persian mystical writings to utilize a system of numerical values to convey meanings beyond what mere words could impart. Within this system, words are assigned numerical values, and relationships between words can be implied based upon these values. The word "vahid", meaning unity, has the numerical value of nineteen, and is often used by the Bab and Baha'u'llah when specifying the quantity nineteen. So the number nineteen, in addition to being a quantity, also is evocative of the central teaching of the Baha'i Faith: unity. It forms the basis not only of the calendar, but also was integral to the structure of the Persian Bayan (the Bab's Book of laws); is found in Baha'u'llah's laws concerning dowries, the payment of Huquq'u'llah, certain fines, and various prayers; and is even seen in the history of the Faith, as Baha'u'llah's public declaration of His mission took place nineteen years after the Bab's declaration.Now we come to the days of the month themselves. As is the case with Jewish and Islamic reckoning, the day begins at sunset, rather than at midnight. For most of us, this takes a bit of getting used to! It becomes important because certain things happen on specific days. The first day of each Baha'i month is designated as a Feast day. The Feast is a community gathering that incorporates worship, community business, and socializing. It is the foundation of Baha'i community life and is primarily administrative in nature. When Baha'is gather for the Feast of (say) Baha, the first month of the year, you might think that the date on which they should gather is, in the Gregorian calendar, March 21st. But they may actually hold their Feasts anytime between sunset on March 20th and before sunset on March 21st. That time period is the first day of Baha. Holy Days are also reckoned in this fashion, as are the times for the start and end of the Fast.Finally, for those who like to go into excruciating detail, the Bab also spoke of time periods longer than a year. He grouped years into "Vahids" of nineteen years each, and gave each Vahid a name. (It is here that the word "Badi" appears, as the name of the sixteenth year in the cycle.) He further grouped the Vahids themselves into sets of nineteen to create a time period called a "Kull-i-Shay" (literally, "all things"). One Kull-i-Shay is therefore 361 years.SYNOPSIS use Date::Baha'i; $bahai_date = to_bahai(); $bahai_date = to_bahai(epoch => time); $bahai_date = to_bahai( year => $year, month => $month, day => $day, ); hai_date = to_bahai(); hai_date = to_bahai(epoch => time); hai_date = to_bahai( year => $year, month => $month, day => $day, ); $date = from_bahai( year => $bahai_year, month => $bahai_month, day => $bahai_day, ); ($year, $month, $day) = from_bahai( year => $bahai_year, month => $bahai_month, day => $bahai_day, ); $day = next_holy_day(); $day = next_holy_day($year, $month, $day); @cycles = cycles(); @years = years(); @months = months(); @days = days(); @days = days_of_the_week(); ys = holy_days(); Requirements: · Perl


Date::Baha::i Related Software