Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.657.093 Times

Religion::Islam::PrayerTimes 1.02

  Date Added: January 18, 2010  |  Visits: 1.340

Religion::Islam::PrayerTimes

Report Broken Link
Printer Friendly Version


Product Homepage
Download (145 downloads)



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.

Requirements: No special requirements
Platforms: Linux
Keyword: Ap Eid Prayer Eid Prayer Time Formattime Muslim Prayers Muslim Prayers Times Perl Module Prayers Times Prayertimes Print Result Timemode
Users rating: 0/10

License: Freeware Size: 15.36 KB
USER REVIEWS
More Reviews or Write Review


RELIGION::ISLAM::PRAYERTIMES RELATED
Libraries  -  Time::Skew 0.1
Time::Skew is a Perl module that computes local clock skew with respect to a remote clock. SYNOPISI use Time::Skew # Init Convex Hull and timing data my $hull=[]; my $result={}; # Iterate data point introduction...
45.06 KB  
Libraries  -  Ethiopic::Time 0.20 210102
Ethiopic::Time is a Perl module for conversions of calendar systems to/from Ethiopic and Gregorian. SYNOPSIS use LiveGeez::Request; require Convert::Ethiopic::Time; my $r = LiveGeez::Request->new; ReadParse ( %input ); $r->ParseInput (...
21.5 KB  
Libraries  -  Time::Beat 1.21
Time::Beat is a Perl module to convert between standard time and Swatch ".beat" time. Time::Beat is a module to convert normal time to and from .beats, of which there are a thousand in a day. It can change normal time in time() format to .beats,...
3.07 KB  
Libraries  -  Regexp::Common::time 0.01
Regexp::Common::time Perl module contains date and time regexps. SYNOPSIS use Regexp::Common qw(time); # Piecemeal, Time::Format-like patterns $RE{time}{tf}{-pat => pattern} # Piecemeal, strftime-like patterns $RE{time}{strftime}{-pat =>...
35.84 KB  
Libraries  -  Time::Format 1.02
Time::Format is a Perl module for easy-to-use date/time formatting. SYNOPSIS use Time::Format qw(%time %strftime %manip); $time{$format} $time{$format, $unixtime} print "Today is $time{yyyy/mm/dd}n"; print "Yesterday was...
38.91 KB  
Libraries  -  Time::Warp 0.5
Time::Warp is a Perl module to control over the flow of time. SYNOPSIS use Time::Warp qw(scale to time); to(time + 5); # 5 seconds ahead scale(2); # make time flow twice normal Our external experience unfolds in 3 1/2 dimensions (time has...
3.07 KB  
Libraries  -  Time::Piece 1.11
Time::Piece is a Perl module that contains Object Oriented time objects. SYNOPSIS use Time::Piece; my $t = localtime; print "Time is $tn"; print "Year is ", $t->year, "n"; This module replaces the standard localtime and gmtime functions...
20.48 KB  
Libraries  -  Time::Progress 1.2
Time::Progress Perl module contains elapsed and estimated finish time reporting. SYNOPSIS # autoflush to get r working $| = 1; # get new `timer my $p = new Time::Progress; # restart and report progress $p->restart; sleep 5; # or do some...
10.24 KB  
Libraries  -  Religion::Islam::Qibla 1.02
Religion::Islam::Qibla is a Perl module that calculates the Muslim Qiblah Direction, Great Circle Distance, and Great Circle Direction. SYNOPSIS use Religion::Islam::Qibla; #create new object with default options, Destination point is Kabah...
4.1 KB  
Libraries  -  Geo::Lookup::ByTime 0.0.2
Geo::Lookup::ByTime is a Perl module to lookup location by time. SYNOPSIS use Geo::Lookup::ByTime; $lookup = Geo::Lookup::ByTime->new( @points ); my $pt = $lookup->nearest( $tm ); Given a set of timestamped locations guess the location at...
15.36 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB