sunrise 0.0501
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 15
DateTime::Event::Sunrise 0.0501
DateTime::Event::Sunrise is a Perl DateTime extension for computing the sunrise/sunset on a given day. more>>
DateTime::Event::Sunrise is a Perl DateTime extension for computing the sunrise/sunset on a given day.
SYNOPSIS
use DateTime;
use DateTime::Event::Sunrise;
my $dt = DateTime->new( year => 2000,
month => 6,
day => 20,
);
my $sunrise = DateTime::Event::Sunrise ->sunrise (
longitude =>-118,
latitude =>33,
altitude => -0.833,
iteration => 1
);
my $sunset = DateTime::Event::Sunrise ->sunset (
longitude =>-118,
latitude =>33,
altitude => -0.833,
iteration => 1
);
my $tmp_rise = $sunrise->next( $dt );
my $dt2 = DateTime->new( year => 2000,
month => 12,
day => 31,
);
# iterator
my $dt_span = DateTime::Span->new( start =>$dt1, end=>$dt2 );
my $set = $sunrise->intersection($dt_span);
my $iter = $set->iterator;
while ( my $dt = $iter->next ) {
print ,$dt->datetime;
}
# is it day or night?
my $day_set = DateTime::SpanSet->from_sets(
start_set => $sunrise, end_set => $sunset );
print $day_set->contains( $dt ) ? day : night;
my $dt = DateTime->new( year => 2000, month => 6, day => 20, time_zone => America/Los_Angeles, );
my $sunrise = DateTime::Event::Sunrise ->new( longitude =>-118 , latitude => 33, altitude => -0.833, iteration => 1
);
my $tmp = $sunrise->sunrise_sunset_span($dt); print "Sunrise is:" , $tmp->start->datetime , "n"; print "Sunset is:" , $tmp->end->datetime;
my $dt1 = $sunrise->sunrise_datetime( $dt ); print "Sunrise is:" , $dt1->datetime , "n"; my $dt2 = $sunrise->sunset_datetime( $dt ); print "Sunset is:" , $dt2->datetime , "n";
<<lessSYNOPSIS
use DateTime;
use DateTime::Event::Sunrise;
my $dt = DateTime->new( year => 2000,
month => 6,
day => 20,
);
my $sunrise = DateTime::Event::Sunrise ->sunrise (
longitude =>-118,
latitude =>33,
altitude => -0.833,
iteration => 1
);
my $sunset = DateTime::Event::Sunrise ->sunset (
longitude =>-118,
latitude =>33,
altitude => -0.833,
iteration => 1
);
my $tmp_rise = $sunrise->next( $dt );
my $dt2 = DateTime->new( year => 2000,
month => 12,
day => 31,
);
# iterator
my $dt_span = DateTime::Span->new( start =>$dt1, end=>$dt2 );
my $set = $sunrise->intersection($dt_span);
my $iter = $set->iterator;
while ( my $dt = $iter->next ) {
print ,$dt->datetime;
}
# is it day or night?
my $day_set = DateTime::SpanSet->from_sets(
start_set => $sunrise, end_set => $sunset );
print $day_set->contains( $dt ) ? day : night;
my $dt = DateTime->new( year => 2000, month => 6, day => 20, time_zone => America/Los_Angeles, );
my $sunrise = DateTime::Event::Sunrise ->new( longitude =>-118 , latitude => 33, altitude => -0.833, iteration => 1
);
my $tmp = $sunrise->sunrise_sunset_span($dt); print "Sunrise is:" , $tmp->start->datetime , "n"; print "Sunset is:" , $tmp->end->datetime;
my $dt1 = $sunrise->sunrise_datetime( $dt ); print "Sunrise is:" , $dt1->datetime , "n"; my $dt2 = $sunrise->sunset_datetime( $dt ); print "Sunset is:" , $dt2->datetime , "n";
Download (0.012MB)
Added: 2007-02-15 License: Perl Artistic License Price:
981 downloads
Sunrise 0.42j
Sunrise project converts websites and newsfeeds for offline reading on your handheld. more>>
Sunrise project converts websites and newsfeeds for offline reading on your handheld.
Offline browser for handhelds (like AvantGO).
Sunrise is open-source software released under the BSD license.
Getting Started
Sunrise requires Java 1.5. (Earlier Java versions will not work correctly due to issues with the java.nio library.)
Start Sunrise Desktop with the script "sunrise-desktop.sh".
Some documentation can be found in the "web" subdirectory.
Acknowledgements
This product includes software developed by Andy Clark.
This product includes software developed by the Apache Software Foundation.
Toolbar icons and banner images taken from the Eclipse project.
<<lessOffline browser for handhelds (like AvantGO).
Sunrise is open-source software released under the BSD license.
Getting Started
Sunrise requires Java 1.5. (Earlier Java versions will not work correctly due to issues with the java.nio library.)
Start Sunrise Desktop with the script "sunrise-desktop.sh".
Some documentation can be found in the "web" subdirectory.
Acknowledgements
This product includes software developed by Andy Clark.
This product includes software developed by the Apache Software Foundation.
Toolbar icons and banner images taken from the Eclipse project.
Download (2.8MB)
Added: 2007-01-17 License: BSD License Price:
1016 downloads
Other version of Sunrise
License:GPL (GNU General Public License)
Audio::OSS 0.0501
Audio::OSS is a pure-perl interface to OSS (open sound system) audio devices. more>>
Audio::OSS is a pure-perl interface to OSS (open sound system) audio devices.
SYNOPSIS
use Audio::OSS qw(:funcs :formats :mixer);
my $dsp = IO::Handle->new(" dsp_reset($dsp) or die "reset failed: $!";
my $mask = get_supported_formats($dsp);
if ($mask & AFMT_S16_LE) {
set_fmt($dsp, AFMT_S16_LE) or die set format failed: $!";
}
my $current_format = set_fmt($dsp, AFMT_QUERY);
my $sps_actual = set_sps($dsp, 16000);
set_fragment($dsp, $fragshift, $nfrags);
my ($frags_avail, $frags_total, $fragsize, $bytes_avail)
= get_outbuf_info($dsp);
my ($bytes, $blocks, $dma_ptr) = get_outbuf_ptr($dsp);
my $mixer = IO::Handle->new(" my $miclevel = mixer_read($mixer, SOUND_MIXER_MIC);
Audio::OSS is a pure Perl interface to the Open Sound System, as used on Linux, FreeBSD, and other Unix systems.
It provides a procedural interface based around filehandles opened on the audio device (usually /dev/dsp* for PCM audio).
It also defines constants for various ioctl calls and other things based on the OSS system header files, so you dont have to rely on .ph files that may or may be correct or even present on your system.
Currently, only the PCM audio input and output functions are supported. Mixer support is likely in the future, sequencer support less likely.
<<lessSYNOPSIS
use Audio::OSS qw(:funcs :formats :mixer);
my $dsp = IO::Handle->new(" dsp_reset($dsp) or die "reset failed: $!";
my $mask = get_supported_formats($dsp);
if ($mask & AFMT_S16_LE) {
set_fmt($dsp, AFMT_S16_LE) or die set format failed: $!";
}
my $current_format = set_fmt($dsp, AFMT_QUERY);
my $sps_actual = set_sps($dsp, 16000);
set_fragment($dsp, $fragshift, $nfrags);
my ($frags_avail, $frags_total, $fragsize, $bytes_avail)
= get_outbuf_info($dsp);
my ($bytes, $blocks, $dma_ptr) = get_outbuf_ptr($dsp);
my $mixer = IO::Handle->new(" my $miclevel = mixer_read($mixer, SOUND_MIXER_MIC);
Audio::OSS is a pure Perl interface to the Open Sound System, as used on Linux, FreeBSD, and other Unix systems.
It provides a procedural interface based around filehandles opened on the audio device (usually /dev/dsp* for PCM audio).
It also defines constants for various ioctl calls and other things based on the OSS system header files, so you dont have to rely on .ph files that may or may be correct or even present on your system.
Currently, only the PCM audio input and output functions are supported. Mixer support is likely in the future, sequencer support less likely.
Download (0.009MB)
Added: 2006-06-20 License: GPL (GNU General Public License) Price:
1222 downloads
Liquid Sunrise 0.2
Liquid Sunrise is a SuperKaramba theme for people who want to monitor sunrise and sundown. more>>
Liquid Sunrise is a SuperKaramba theme for people who want to monitor sunrise and sundown without having to (wake up and) look out of the window. Ideal for photographers for planning phototours.
If you want to use a background picture (e.g. included bg.png or bg2.png) just edit line 2 in the theme file: bg.png is activated by default in the German version, bg2.png in the English version as example.
Image of morning and evening sun is taken from liquid weather theme Kapsules, meridian sun is from default liquid theme.
Based on the Crystal Sunrise Theme by Daniel Pathmaperuma (http://www.kde-look.org/content/show.php/crystal_sunrise?content=54805) which is based on sunrise-theme by Flavio Cardone (http://www.kde-look.org/content/show.php/sunrise?content=25030) - an even more shameless port ;).
This theme needs the sunwait application: http://www.risacher.org/sunwait/
BTW: If you are looking for a french version: chepioq has adapted my theme:
http://www.kde-look.org/content/show.php/liquid+sunrise+french?content=55332
<<lessIf you want to use a background picture (e.g. included bg.png or bg2.png) just edit line 2 in the theme file: bg.png is activated by default in the German version, bg2.png in the English version as example.
Image of morning and evening sun is taken from liquid weather theme Kapsules, meridian sun is from default liquid theme.
Based on the Crystal Sunrise Theme by Daniel Pathmaperuma (http://www.kde-look.org/content/show.php/crystal_sunrise?content=54805) which is based on sunrise-theme by Flavio Cardone (http://www.kde-look.org/content/show.php/sunrise?content=25030) - an even more shameless port ;).
This theme needs the sunwait application: http://www.risacher.org/sunwait/
BTW: If you are looking for a french version: chepioq has adapted my theme:
http://www.kde-look.org/content/show.php/liquid+sunrise+french?content=55332
Download (0.033MB)
Added: 2007-04-03 License: GPL (GNU General Public License) Price:
937 downloads
DateTime::Astro::Sunrise 0.01_01
DateTime::Astro::Sunrise is a Perl DateTime extension for computing the sunrise/sunset on a given day. more>>
DateTime::Astro::Sunrise is a Perl DateTime extension for computing the sunrise/sunset on a given day.
SYNOPSIS
use DateTime; use DateTime::Astro::Sunrise; ^
my $dt = DateTime->new( year => 2000,
month => 6,
day => 20,
);
my $sunrise = DateTime::Astro::Sunrise ->new(-118,33,undef,1);
my ($tmp_rise, $tmp_set) = $sunrise->sunrise($dt);
This module will return a DateTime Object for sunrise and sunset for a given day.
USAGE
my $sunrise = DateTime::Astro::Sunrise -new(longitutide,latatude,ALT,Iteration);>
inter is set to either 0 or 1. If set to 0 no Iteration will occur. If set to 1 Iteration will occur. Default is 0.
There are a number of sun altitides to chose from. The default is -0.833 because this is what most countries use. Feel free to specify it if you need to. Here is the list of values to specify altitude (ALT) with:
0 degrees
Center of Suns disk touches a mathematical horizon
-0.25 degrees
Suns upper limb touches a mathematical horizon
-0.583 degrees
Center of Suns disk touches the horizon; atmospheric refraction accounted for
-0.833 degrees
Suns supper limb touches the horizon; atmospheric refraction accounted for
-6 degrees
Civil twilight (one can no longer read outside without artificial illumination)
-12 degrees
Nautical twilight (navigation using a sea horizon no longer possible)
-15 degrees
Amateur astronomical twilight (the sky is dark enough for most astronomical observations)
-18 degrees
Astronomical twilight (the sky is completely dark)
Notes on Iteration
The orginal method only gives an approximate value of the Suns rise/set times. The error rarely exceeds one or two minutes, but at high latitudes, when the Midnight Sun soon will start or just has ended, the errors may be much larger. If you want higher accuracy, you must then use the iteration feature. This feature is new as of version 0.7. Here is what I have tried to accomplish with this.
a) Compute sunrise or sunset as always, with one exception: to convert LHA from degrees to hours, divide by 15.04107 instead of 15.0 (this accounts for the difference between the solar day and the sidereal day.
b) Re-do the computation but compute the Suns RA and Decl, and also GMST0, for the moment of sunrise or sunset last computed.
c) Iterate b) until the computed sunrise or sunset no longer changes significantly. Usually 2 iterations are enough, in rare cases 3 or 4 iterations may be needed.
($sunrise, $sunset) = $sunrise->($dt);
Returns two DateTime objects sunrise and sunset. Please note that the time zone for these objects is set to UTC. So dont forget to set your timezone!!
<<lessSYNOPSIS
use DateTime; use DateTime::Astro::Sunrise; ^
my $dt = DateTime->new( year => 2000,
month => 6,
day => 20,
);
my $sunrise = DateTime::Astro::Sunrise ->new(-118,33,undef,1);
my ($tmp_rise, $tmp_set) = $sunrise->sunrise($dt);
This module will return a DateTime Object for sunrise and sunset for a given day.
USAGE
my $sunrise = DateTime::Astro::Sunrise -new(longitutide,latatude,ALT,Iteration);>
inter is set to either 0 or 1. If set to 0 no Iteration will occur. If set to 1 Iteration will occur. Default is 0.
There are a number of sun altitides to chose from. The default is -0.833 because this is what most countries use. Feel free to specify it if you need to. Here is the list of values to specify altitude (ALT) with:
0 degrees
Center of Suns disk touches a mathematical horizon
-0.25 degrees
Suns upper limb touches a mathematical horizon
-0.583 degrees
Center of Suns disk touches the horizon; atmospheric refraction accounted for
-0.833 degrees
Suns supper limb touches the horizon; atmospheric refraction accounted for
-6 degrees
Civil twilight (one can no longer read outside without artificial illumination)
-12 degrees
Nautical twilight (navigation using a sea horizon no longer possible)
-15 degrees
Amateur astronomical twilight (the sky is dark enough for most astronomical observations)
-18 degrees
Astronomical twilight (the sky is completely dark)
Notes on Iteration
The orginal method only gives an approximate value of the Suns rise/set times. The error rarely exceeds one or two minutes, but at high latitudes, when the Midnight Sun soon will start or just has ended, the errors may be much larger. If you want higher accuracy, you must then use the iteration feature. This feature is new as of version 0.7. Here is what I have tried to accomplish with this.
a) Compute sunrise or sunset as always, with one exception: to convert LHA from degrees to hours, divide by 15.04107 instead of 15.0 (this accounts for the difference between the solar day and the sidereal day.
b) Re-do the computation but compute the Suns RA and Decl, and also GMST0, for the moment of sunrise or sunset last computed.
c) Iterate b) until the computed sunrise or sunset no longer changes significantly. Usually 2 iterations are enough, in rare cases 3 or 4 iterations may be needed.
($sunrise, $sunset) = $sunrise->($dt);
Returns two DateTime objects sunrise and sunset. Please note that the time zone for these objects is set to UTC. So dont forget to set your timezone!!
Download (0.006MB)
Added: 2007-02-15 License: GPL (GNU General Public License) Price:
983 downloads
crystal_sunrise 2007-03-25
crystal_sunrise SuperKaramba theme is based on Flavio Cardones sunrise theme. more>>
crystal_sunrise SuperKaramba theme is based on Flavio Cardones sunrise theme. (http://www.kde-look.org/content/show.php/sunrise?content=25030)
It shows the local time of sunrise, sunset, meridian and the length of day at your location.
Note: Youll need to edit the script and set the coordinates of your city. (default is Karlsruhe/Germany)
<<lessIt shows the local time of sunrise, sunset, meridian and the length of day at your location.
Note: Youll need to edit the script and set the coordinates of your city. (default is Karlsruhe/Germany)
Download (0.060MB)
Added: 2007-04-03 License: GPL (GNU General Public License) Price:
935 downloads
Sunrise Data Dictionary 1.00
Sunrise Data Dictionary is a library for hashtable storage of arbitrary data objects. more>>
Sunrise Data Dictionary is a library for hashtable storage of arbitrary data objects with built-in reference counting and guaranteed order iteration for the C programming language.
Sunrise Data Dictionary library can participate in external reference counting systems or use its own built-in reference counting. It comes with a variety of hash functions and allows the use of runtime supplied hash functions via callback mechanism. The source code is well documented.
The Sunrise Data Dictionary was specifically designed for use within the Afelio and Callweaver telephony servers, the implementation focuses on performance and scalability.
Enhancements:
- This is the initial release of the full API (all header files) and a developer snapshot of the implementation.
<<lessSunrise Data Dictionary library can participate in external reference counting systems or use its own built-in reference counting. It comes with a variety of hash functions and allows the use of runtime supplied hash functions via callback mechanism. The source code is well documented.
The Sunrise Data Dictionary was specifically designed for use within the Afelio and Callweaver telephony servers, the implementation focuses on performance and scalability.
Enhancements:
- This is the initial release of the full API (all header files) and a developer snapshot of the implementation.
Download (0.17MB)
Added: 2007-07-16 License: MIT/X Consortium License Price:
832 downloads
Agenda Displayer 1.4
Agenda is a Web-based application that let you manage your appointments. more>>
Agenda is a Web-based application that let you manage your appointments.
It can display information by day, week, month, and year. Agenda Displayer supports official holidays.
Enhancements:
- This release added a world clock, an astrological calendar, a todo handler, a login system, a countdown function, support for generating iCal files with a .ics extension, a new way to handle your annual days off, sunrise and sunset times, and moon phase classes.
<<lessIt can display information by day, week, month, and year. Agenda Displayer supports official holidays.
Enhancements:
- This release added a world clock, an astrological calendar, a todo handler, a login system, a countdown function, support for generating iCal files with a .ics extension, a new way to handle your annual days off, sunrise and sunset times, and moon phase classes.
Download (0.18MB)
Added: 2006-05-09 License: GPL (GNU General Public License) Price:
1270 downloads
Gcal 3.01
Gcal is a program for calculating and printing calendars. more>>
Gcal is a program for calculating and printing calendars. It displays hybrid and proleptic Julian and Gregorian calendar sheets, respectively for one month, three months, or a whole year.
It also displays eternal holiday lists for many countries around the globe, and features a very powerful creation of fixed date liststhat can be used for reminding purposes. Gcal can calculate various astronomical data and times of the Sun and the Moon for pleasure at any location, precisely enough for most civil purposes.
Gcal supports some other calendar systems, for example, the Chinese and Japanese calendars, the Hebrew calendar, and the civil Islamic calendar, too.
English user manual included; German user manual included.
Main features:
- Some special calendar sheet formats.
- Calendar sheets can be provided with week numbers.
- Variable number of year calendar sheet blocks.
- Adjustable ordering of displayed dates.
- Adjustable period of Gregorian Reformation.
- Proleptic Julian and Gregorian calendars.
- Adjustable highlighting of holidays and actual day.
- Variable starting day of week.
- Output of day-of-year numbers and concatenated day and day-of-year numbers.
- Allows user-defined ordering of the date elements.
- Output of fiscal years.
- Output of lists or ranges of months or years.
- Sorted output of selectable country/territory specific eternal holiday lists (mostly complete) for nearly *all* countries around the globe, which are generated automatically.
- Sorted output of Christian Western churches calendar holidays, Orthodox Christian Eastern churches old and new calendar holidays, Hebrew calendar holidays, Islamic civil calendar holidays (since AD 622), Persian "Jalaali" calendar holidays, Chinese and Japanese calendar holidays (since AD 1645), more "other" calendar system holidays, multicultural New Years Days, and start of "other" calendar system months, which are also generated automatically.
- Sorted output of fixed date lists which can be defined and created in a highly flexible manner.
- Allows filtration of fixed dates by using regular expressions and other built-in methods.
- Allows the use of date and text variables and basic operations on them.
- Some gimmicks like solar and lunar eclipse time, sunrise/sunset plus a lot of other Sun based data and times, Moon phase, Full and New Moon time, moonrise/moonset plus a lot of other Moon based data and times, zodiacal markers, equinox and solstice, air line distance between two geographic point locations plus course angles, biorhythm et cetera...
- Fixed dates can be stored in several files.
- Nearly unlimited nesting level of include files.
- Nearly unlimited internal text and table lengths.
- Default options can be stored in the `GCAL environment variable.
- Options and commands stored in response files can be preloaded.
- Uses either an external pager or a simple built-in pager.
- Detailed Texinfo reference manual.
- German, English and American program version by default.
- Supports various computer platforms.
- GNU `gettext internationalization technology, which allows the use of message catalogs for most native languages.
- GNU `autoconf(iguration) installation technology.
- Supports both UN*X short-style options and GNU long-style options.
<<lessIt also displays eternal holiday lists for many countries around the globe, and features a very powerful creation of fixed date liststhat can be used for reminding purposes. Gcal can calculate various astronomical data and times of the Sun and the Moon for pleasure at any location, precisely enough for most civil purposes.
Gcal supports some other calendar systems, for example, the Chinese and Japanese calendars, the Hebrew calendar, and the civil Islamic calendar, too.
English user manual included; German user manual included.
Main features:
- Some special calendar sheet formats.
- Calendar sheets can be provided with week numbers.
- Variable number of year calendar sheet blocks.
- Adjustable ordering of displayed dates.
- Adjustable period of Gregorian Reformation.
- Proleptic Julian and Gregorian calendars.
- Adjustable highlighting of holidays and actual day.
- Variable starting day of week.
- Output of day-of-year numbers and concatenated day and day-of-year numbers.
- Allows user-defined ordering of the date elements.
- Output of fiscal years.
- Output of lists or ranges of months or years.
- Sorted output of selectable country/territory specific eternal holiday lists (mostly complete) for nearly *all* countries around the globe, which are generated automatically.
- Sorted output of Christian Western churches calendar holidays, Orthodox Christian Eastern churches old and new calendar holidays, Hebrew calendar holidays, Islamic civil calendar holidays (since AD 622), Persian "Jalaali" calendar holidays, Chinese and Japanese calendar holidays (since AD 1645), more "other" calendar system holidays, multicultural New Years Days, and start of "other" calendar system months, which are also generated automatically.
- Sorted output of fixed date lists which can be defined and created in a highly flexible manner.
- Allows filtration of fixed dates by using regular expressions and other built-in methods.
- Allows the use of date and text variables and basic operations on them.
- Some gimmicks like solar and lunar eclipse time, sunrise/sunset plus a lot of other Sun based data and times, Moon phase, Full and New Moon time, moonrise/moonset plus a lot of other Moon based data and times, zodiacal markers, equinox and solstice, air line distance between two geographic point locations plus course angles, biorhythm et cetera...
- Fixed dates can be stored in several files.
- Nearly unlimited nesting level of include files.
- Nearly unlimited internal text and table lengths.
- Default options can be stored in the `GCAL environment variable.
- Options and commands stored in response files can be preloaded.
- Uses either an external pager or a simple built-in pager.
- Detailed Texinfo reference manual.
- German, English and American program version by default.
- Supports various computer platforms.
- GNU `gettext internationalization technology, which allows the use of message catalogs for most native languages.
- GNU `autoconf(iguration) installation technology.
- Supports both UN*X short-style options and GNU long-style options.
Download (2.3MB)
Added: 2006-06-08 License: GPL (GNU General Public License) Price:
1236 downloads
Zmanim 1.1.1
Zmanim is a software package that computes zmanim. more>>
Zmanim project can computes zmanim, the times (according to Jewish law) by which an observant Jew must complete specific prayers.
The default branch is a console version for Linux, and the QT branch is a GUI version for Linux using the QT GUI libraries.
Enhancements:
- The sunrise and sunset were normalized correctly so that 24 hours dont get added to the results, while still being in GMT with the appropriate day in it.
- This fixes issues with DST starting a day earlier in March than it should under Bushs energy bill.
- putenv() is used instead of setenv() to let this compile on Solaris (and probably other Unix systems as well).
- The use of the Hebrew word "Netz" was corrected to "HaNetz".
<<lessThe default branch is a console version for Linux, and the QT branch is a GUI version for Linux using the QT GUI libraries.
Enhancements:
- The sunrise and sunset were normalized correctly so that 24 hours dont get added to the results, while still being in GMT with the appropriate day in it.
- This fixes issues with DST starting a day earlier in March than it should under Bushs energy bill.
- putenv() is used instead of setenv() to let this compile on Solaris (and probably other Unix systems as well).
- The use of the Hebrew word "Netz" was corrected to "HaNetz".
Download (0.076MB)
Added: 2006-08-27 License: GPL (GNU General Public License) Price:
1163 downloads
Religion::Islam::PrayerTimes 1.02
Religion::Islam::PrayerTimes is a Perl module that calculates Muslim Prayers Times and Sunrise. more>>
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
<<lessSYNOPSIS
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
Download (0.015MB)
Added: 2007-05-24 License: Perl Artistic License Price:
893 downloads
openMSX 0.6.2
openMSX is the MSX home computer system emulator that aims for perfection. more>>
openMSX is the MSX home computer system emulator that aims for perfection.
Almost all MSX machines are emulated: MSX1, MSX2, MSX2+, Turbo-R... And also quite some extra hardware is emulated: SCC, SCC+, FM-PAC, Music Module, PSG, Moonsound, Sunrise IDE, Disk Controllers, MIDI, almost all memory mappers, etc... Actually, more than any other MSX emulator!
It also features quite some extras: rendering using openGL acceleration, full screen, built in console (based on TCL), MSX debugging facilities, scalers, using directories as disk images (still buggy though), screenshots, speed settings, frame skip, scanlines, TV-blur, afterglow (GL), and more...
For a really long description: again, please see our home page.
Do note that openMSX is alpha software, which means that some things work but not all features are implemented yet.
<<lessAlmost all MSX machines are emulated: MSX1, MSX2, MSX2+, Turbo-R... And also quite some extra hardware is emulated: SCC, SCC+, FM-PAC, Music Module, PSG, Moonsound, Sunrise IDE, Disk Controllers, MIDI, almost all memory mappers, etc... Actually, more than any other MSX emulator!
It also features quite some extras: rendering using openGL acceleration, full screen, built in console (based on TCL), MSX debugging facilities, scalers, using directories as disk images (still buggy though), screenshots, speed settings, frame skip, scanlines, TV-blur, afterglow (GL), and more...
For a really long description: again, please see our home page.
Do note that openMSX is alpha software, which means that some things work but not all features are implemented yet.
Download (1.5MB)
Added: 2007-04-15 License: GPL (GNU General Public License) Price:
926 downloads
Daylight Chart 1.6
Daylight Chart project shows sunrise and sunset times in an attractive chart, for any location in the world. more>>
Daylight Chart project shows sunrise and sunset times in an attractive chart, for any location in the world. The effect of daylight savings time is also displayed. Charts can be exported to image files.
<<less Download (2.6MB)
Added: 2007-08-04 License: GPL (GNU General Public License) Price:
498 downloads
Dawn KDM
Dawn KDM is a KDM theme based on my photo of the sunrise on the Great Ocean Road. more>>
Dawn KDM is a KDM theme based on my photo of the sunrise on the Great Ocean Road. - http://www.kde-look.org/content/show.php/Sunrise+-+Great+Ocean+Road?content=54727
If anyone can tell me how to take a snapshot of the KDM, please do so. Ive tried Xnest, but havent been able to get the actual login screen to show.
This is my first KDM, so I hope it works!
<<lessIf anyone can tell me how to take a snapshot of the KDM, please do so. Ive tried Xnest, but havent been able to get the actual login screen to show.
This is my first KDM, so I hope it works!
Download (0.40MB)
Added: 2007-04-02 License: GPL (GNU General Public License) Price:
937 downloads
Equinox Desktop Environment 1.1
Equinox Desktop Environment is small desktop environment, built to be simple, to have familiar look and feel and to be fast. more>>
Equinox Desktop Environment (shortly EDE) is small desktop environment, builted to be simple and fast.
Comparing to other desktop environments, EDE is much faster and smaller in memory space (EDEs window manager use less memory than xterm).
The word "equinox" comes from the Latin for "equal night". The equinoxes in March and September are the two occasions each year when the day and the night are of equal duration.
For measuring the length of a day, sunrise is the moment when the sun is half-above the horizon and sunset is the moment when the sun is half-under the horizon. Using this definition, the length of the day (and the night) is precisely 12 hours at an equinox.
Main features:
- desktop with icons and wallpaper;
- Xft font anti-aliasing;
- taskbar with configurable menu, cpu status, easy keyboard switching;
- theming;
- localization;
Graphical front-end for:
- xscreensaver configuration;
- software installation (.rpm, .deb, .tgz);
- time and time-zone configuration;
- fast file and directory serch utility;
<<lessComparing to other desktop environments, EDE is much faster and smaller in memory space (EDEs window manager use less memory than xterm).
The word "equinox" comes from the Latin for "equal night". The equinoxes in March and September are the two occasions each year when the day and the night are of equal duration.
For measuring the length of a day, sunrise is the moment when the sun is half-above the horizon and sunset is the moment when the sun is half-under the horizon. Using this definition, the length of the day (and the night) is precisely 12 hours at an equinox.
Main features:
- desktop with icons and wallpaper;
- Xft font anti-aliasing;
- taskbar with configurable menu, cpu status, easy keyboard switching;
- theming;
- localization;
Graphical front-end for:
- xscreensaver configuration;
- software installation (.rpm, .deb, .tgz);
- time and time-zone configuration;
- fast file and directory serch utility;
Download (1.3MB)
Added: 2006-09-02 License: GPL (GNU General Public License) Price:
1150 downloads
Secleted [ 0 ] software to compare
- Page: 1 of 1
- 1
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above sunrise 0.0501 search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed