Main > Programming > Libraries >

Religion::Islam::PrayerTimes 1.02

Religion::Islam::PrayerTimes 1.02

Sponsored Links

Religion::Islam::PrayerTimes 1.02 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.015 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 956
Date added: 2007-05-24

Religion::Islam::PrayerTimes 1.02 description

Religion::Islam::PrayerTimes is a Perl module that calculates Muslim Prayers Times and Sunrise.

SYNOPSIS

use Religion::Islam::PrayerTimes;

#create new object with default options
my $prayer = Religion::Islam::PrayerTimes->new();

#Juristic Methods:
# 1 = Standard (Imams Shafii, Hanbali, and Maliki),
#2 = Hanafi
#The difference is in the Aser time only
$prayer->JuristicMethod(1);

# Calculation Method
#1: Umm Al-Qura Committee
#2: Muslim World League
#3: Egyptian General Authority of Survey
#4: University Of Islamic Sciences, Karachi
#5: ISNA, Islamic Society of North America
$prayer->CalculationMethod(3);

# Q. What is daylight saving? Ans. Many countries try to adopt their work time by subtracting
# from their clocks one hour in the Fall and Winter seasons.
$prayer->DaylightSaving(1);
#print "DaylightSaving: ". $prayer->DaylightSaving() ."n";

# set the location to clculate prayer times for.
# for Cairo, Egypt:
# http://heavens-above.com/countries.asp
$prayer->PrayerLocation(
Latitude => 30.050,
Longitude => 31.250,
Altitude => 24,
TimeZone => 2
);

my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
$mon++; $year += 1900;

#Adjust the Gregorian Dates by making sure that the month lengths
#are correct if not so take the extra days to next month or year.
my ($yg0, $mg0, $dg0) = $prayer->GDateAjust($year, $mon, $mday);
# Now calculate the prayer times. Times returns in hours decimal format

#%result = $prayer->PrayerTimes($year, $mon, $mday);
%result = $prayer->PrayerTimes($yg0, $mg0, $dg0);

#print "Fajr: " . $result{Fajr} . "n";
#print "Sunrise: " . $result{Sunrise} . "n";
#print "Zohar: " . $result{Zohar} . "n";
#print "Aser: " . $result{Aser} . "n";
#print "Maghrib: " . $result{Maghrib} . "n";
#print "Isha: " . $result{Isha} . "n";
#print "Fajir Rabita: " . $result{FajirRabita} . "n"; #Fajer using exact Rabita method for places >48
#print "Isha Rabita: " . $result{IshaRabita} . "n"; #Ash using exact Rabita method for places >48
#print "Eid Prayer Time: " . $result{Eid} . "n"; #Eid Prayer Time
#print "n";

# set time mode for 12 or 24 hour for FormatTime function.
$prayer->TimeMode(1);
#print time formated
#print "TimeMode: " . $prayer->TimeMode() ."n";

my ($h, $m, $ap);

($h, $m, $ap) = $prayer->FormatTime($result{Fajr});
print "Fajr: $h:$m $apn";

($h, $m, $ap) = $prayer->FormatTime($result{Sunrise});
print "Sunrise: $h:$m $apn";

($h, $m, $ap) = $prayer->FormatTime($result{Zohar});
print "Zohar: $h:$m $apn";

($h, $m, $ap) = $prayer->FormatTime($result{Aser});
print "Aser: $h:$m $apn";

($h, $m, $ap) = $prayer->FormatTime($result{Maghrib});
print "Maghrib: $h:$m $apn";

($h, $m, $ap) = $prayer->FormatTime($result{Isha});
print "Isha: $h:$m $apn";

#($h, $m, $ap) = $prayer->FormatTime($result{FajirRabita});
#print "Fajir Rabita: $h:$m $apn"; #Fajer using exact Rabita method for places >48

#($h, $m, $ap) = $prayer->FormatTime($result{IshaRabita});
#print "Isha Rabita: $h:$m $apn"; #Ash using exact Rabita method for places >48

#($h, $m, $ap) = $prayer->FormatTime($result{Eid});
#print "Eid Prayer Time: $h:$m $apn"; #Eid Prayer Time

Religion::Islam::PrayerTimes 1.02 Screenshot

Advertisements

Religion::Islam::PrayerTimes 1.02 Keywords

Bookmark Religion::Islam::PrayerTimes 1.02

Hyperlink code:
Link for forum:

Religion::Islam::PrayerTimes 1.02 Copyright

WareSeeker periodically updates pricing and software information of Religion::Islam::PrayerTimes 1.02 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Religion::Islam::PrayerTimes 1.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Religion::Islam::Quran - Holy Quran book searchable database multi-lingual in both text and unicode formats. Free Download
Religion::Islam::Qibla is a Perl module that calculates the Muslim Qiblah Direction, Great Circle Distance and more... Free Download
Peptide::Pubmed is a Perl module that can extract peptide sequences from MEDLINE article abstracts. Free Download
Telephony::CountryDialingCodes is a Perl module that can convert international dialing codes to country codes and vice versa. Free Download
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. Free Download
Mail 2 Wordpress is an SMTP mailrobot for posting wordpress blog entries via SMTP mail. Free Download
WWW::Search::HotFiles is a class for searching ZDnet HotFiles. Free Download
Convert::yEnc::RC is a Perl module for yEnc file-part database. Free Download