/dports/devel/p5-DateTime-Event-Sunrise/DateTime-Event-Sunrise-0.0506/t/ |
H A D | 04basic.t | 51 if ($result =~ /sunrise: (\d\d):(\d\d):(\d\d)\s+sunset:\s+(\d\d):(\d\d):(\d\d)/) { 115 2013 1 1 Greenwich 51 28 N 0 0 E 10 0 sunrise: 09:50:02 sunset: 14:17:18 116 2013 1 1 Greenwich 51 28 N 0 0 E 10 1 sunrise: 09:46:41 sunset: 14:20:39 117 2013 1 1 Greenwich 51 28 N 0 0 E 0 0 sunrise: 08:12:14 sunset: 15:55:06 118 2013 1 1 Greenwich 51 28 N 0 0 E 0 1 sunrise: 08:10:00 sunset: 15:57:19 119 2013 1 1 Greenwich 51 28 N 0 0 E -0.583 0 sunrise: 08:07:28 sunset: 15:59:52 120 2013 1 1 Greenwich 51 28 N 0 0 E -0.583 1 sunrise: 08:05:16 sunset: 16:02:04 121 2013 1 1 Greenwich 51 28 N 0 0 E -0.833 0 sunrise: 08:05:26 sunset: 16:01:54 122 2013 1 1 Greenwich 51 28 N 0 0 E -0.833 1 sunrise: 08:03:15 sunset: 16:04:05 123 2013 1 1 Greenwich 51 28 N 0 0 E -12 0 sunrise: 06:42:43 sunset: 17:24:37 [all …]
|
H A D | 05polar.t | 54 if ($result =~ /sunrise: ([-0-9]{2}):(\d\d):(\d\d)\s+sunset:\s+(\d\d):(\d\d):(\d\d)/) { 117 2013 1 1 North_Pole 89 59 N 0 0 E 0 0 1 0 0 sunrise: 12:03:40 sunset: 12:03… 118 2013 1 1 North_Pole 89 59 N 0 0 E 0 1 1 0 0 sunrise: 12:03:40 sunset: 12:03… 119 2013 1 1 North_Pole 89 59 N 0 0 E -0.583 0 1 0 0 sunrise: 12:03:40 sunset: 12:03… 120 2013 1 1 North_Pole 89 59 N 0 0 E -0.583 1 1 0 0 sunrise: 12:03:40 sunset: 12:03… 121 2013 1 1 North_Pole 89 59 N 0 0 E -0.833 0 1 0 0 sunrise: 12:03:40 sunset: 12:03… 122 2013 1 1 North_Pole 89 59 N 0 0 E -0.833 1 1 0 0 sunrise: 12:03:40 sunset: 12:03… 123 2013 1 1 North_Pole 89 59 N 0 0 E -12 0 1 0 0 sunrise: 12:03:40 sunset: 12:03… 124 2013 1 1 North_Pole 89 59 N 0 0 E -12 1 1 0 0 sunrise: 12:03:40 sunset: 12:03… 125 2013 1 1 North_Pole 89 59 N 0 0 E -18 0 1 0 0 sunrise: 12:03:40 sunset: 12:03… [all …]
|
H A D | 01basic.t | 57 my $sunset = DateTime::Event::Sunrise ->sunset( 64 my $tmp_set = $sunset->current($dt); 72 '2000-06-19T20:04:49', 'current sunset unchanged'); 77 '2000-06-20T20:05:03', 'next sunset'); 82 '2000-06-18T20:04:33', 'previous sunset'); 86 is ( $sunset->contains( $tmp_set ), 87 1, 'is sunset'); 91 is ( $sunset->contains( $dt ), 92 0, 'is not sunset'); 154 my $sunset = DateTime::Event::Sunrise->sunset( [all …]
|
H A D | 03nextprev.t | 47 my $sunset = DateTime::Event::Sunrise->sunset (longitude => $lon, 54 my $next_sunset = $sunset ->next($dt); 56 my $prev_sunset = $sunset ->previous($dt); 59 ok($next_sunset ->epoch() > $epoch, "Next sunset ($next_sunset) should be after dt ($dt)"); 61 ok($prev_sunset ->epoch() < $epoch, "Prev sunset ($prev_sunset) should be before dt ($dt)");
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/ |
H A D | sun_test.cpp | 40 static const time_point today_sunset = sunset( midnight ); 131 static const time_point today_sunset = sunset( midnight ); 249 CHECK( "Year 1, Spring, day 1 7:00:00 PM" == to_string( sunset( spring ) ) ); 258 CHECK( "7:00:00 PM" == to_string_time_of_day( sunset( spring ) ) ); 259 CHECK( "7:39:00 PM" == to_string_time_of_day( sunset( spring + 30_days ) ) ); 268 CHECK( "Year 1, Summer, day 1 9:00:00 PM" == to_string( sunset( summer ) ) ); 277 CHECK( "9:00:00 PM" == to_string_time_of_day( sunset( summer ) ) ); 287 CHECK( "Year 1, Autumn, day 1 7:00:00 PM" == to_string( sunset( autumn ) ) ); 296 CHECK( "7:00:00 PM" == to_string_time_of_day( sunset( autumn ) ) ); 306 CHECK( "Year 1, Winter, day 1 5:00:00 PM" == to_string( sunset( winter ) ) ); [all …]
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/ |
H A D | sun_test.cpp | 40 static const time_point today_sunset = sunset( midnight ); 131 static const time_point today_sunset = sunset( midnight ); 249 CHECK( "Year 1, Spring, day 1 7:00:00 PM" == to_string( sunset( spring ) ) ); 258 CHECK( "7:00:00 PM" == to_string_time_of_day( sunset( spring ) ) ); 259 CHECK( "7:39:00 PM" == to_string_time_of_day( sunset( spring + 30_days ) ) ); 268 CHECK( "Year 1, Summer, day 1 9:00:00 PM" == to_string( sunset( summer ) ) ); 277 CHECK( "9:00:00 PM" == to_string_time_of_day( sunset( summer ) ) ); 287 CHECK( "Year 1, Autumn, day 1 7:00:00 PM" == to_string( sunset( autumn ) ) ); 296 CHECK( "7:00:00 PM" == to_string_time_of_day( sunset( autumn ) ) ); 306 CHECK( "Year 1, Winter, day 1 5:00:00 PM" == to_string( sunset( winter ) ) ); [all …]
|
/dports/lang/php73/php-7.3.33/ext/date/tests/ |
H A D | date_sun_info_variation1.phpt | 88 ["sunset"]=> 110 ["sunset"]=> 132 ["sunset"]=> 154 ["sunset"]=> 176 ["sunset"]=> 198 ["sunset"]=> 220 ["sunset"]=> 242 ["sunset"]=> 264 ["sunset"]=> 286 ["sunset"]=> [all …]
|
H A D | date_sun_info_variation2.phpt | 88 ["sunset"]=> 110 ["sunset"]=> 132 ["sunset"]=> 154 ["sunset"]=> 176 ["sunset"]=> 198 ["sunset"]=> 220 ["sunset"]=> 242 ["sunset"]=> 264 ["sunset"]=> 286 ["sunset"]=> [all …]
|
H A D | date_sun_info_variation3.phpt | 89 ["sunset"]=> 111 ["sunset"]=> 133 ["sunset"]=> 155 ["sunset"]=> 177 ["sunset"]=> 199 ["sunset"]=> 221 ["sunset"]=> 243 ["sunset"]=> 265 ["sunset"]=> 287 ["sunset"]=> [all …]
|
/dports/www/mod_php73/php-7.3.33/ext/date/tests/ |
H A D | date_sun_info_variation2.phpt | 88 ["sunset"]=> 110 ["sunset"]=> 132 ["sunset"]=> 154 ["sunset"]=> 176 ["sunset"]=> 198 ["sunset"]=> 220 ["sunset"]=> 242 ["sunset"]=> 264 ["sunset"]=> 286 ["sunset"]=> [all …]
|
H A D | date_sun_info_variation1.phpt | 88 ["sunset"]=> 110 ["sunset"]=> 132 ["sunset"]=> 154 ["sunset"]=> 176 ["sunset"]=> 198 ["sunset"]=> 220 ["sunset"]=> 242 ["sunset"]=> 264 ["sunset"]=> 286 ["sunset"]=> [all …]
|
H A D | date_sun_info_variation3.phpt | 89 ["sunset"]=> 111 ["sunset"]=> 133 ["sunset"]=> 155 ["sunset"]=> 177 ["sunset"]=> 199 ["sunset"]=> 221 ["sunset"]=> 243 ["sunset"]=> 265 ["sunset"]=> 287 ["sunset"]=> [all …]
|
/dports/www/domoticz/domoticz-2020.2/scripts/templates/ |
H A D | Timer.dzVents | 17 'at sunset', -- uses sunset/sunrise info from Domoticz 19 'at sunset on sat,sun', 20 'xx minutes before sunset', 21 'xx minutes after sunset', 25 -- aa/bb can be sunrise/sunset 27 -- sunrise/sunset' 28 'at nighttime', -- between sunset and sunrise 29 'at daytime', -- between sunrise and sunset 32 'at daytime on mon,tue', -- between sunrise and sunset only on monday and tuesday 36 'every 10 minutes between 20 minutes before sunset and 30 minutes after sunrise on mon,fri,tue',
|
/dports/devel/p5-DateTime-Calendar-Hebrew/DateTime-Calendar-Hebrew-0.05/eg/ |
H A D | sunset.pl | 5 my $sunset = DateTime::Event::Sunrise->sunset ( 23 sunset => $sunset, 43 sunset => $sunset,
|
/dports/astro/p5-Astro-Sunrise/Astro-Sunrise-0.99/t/ |
H A D | 14precise.t | 77 …my ($sunrise, $sunset) = sunrise ( { year => $yyyy, month => $mm, day => $dd, tz => 0, precise =>… 81 is ($sunset , 'night', "Polar night at $loc on $yyyy-$mm-$dd"); 90 ok ($sunset ge $exp_l && $sunset le $exp_h 91 , "Sunset for $loc $yyyy-$mm-$dd $alt $upper_limb $exp_l $sunset $exp_h"); 95 is ($sunset , 'day', "Polar day at $loc on $yyyy-$mm-$dd");
|
H A D | 05polar.t | 106 my ($sunrise, $sunset) = sunrise ( { year => $yyyy, month => $mm, day => $dd, tz => 0, 110 is ($sunset , 'night', "Polar night at $loc on $yyyy-$mm-$dd"); 119 ok ($sunset ge $exp_l && $sunset le $exp_h 120 , "Sunset for $loc $yyyy-$mm-$dd $alt $upper_limb $exp_l $sunset $exp_h"); 124 is ($sunset , 'day', "Polar day at $loc on $yyyy-$mm-$dd");
|
/dports/devel/p5-DateTime-Calendar-Hebrew/DateTime-Calendar-Hebrew-0.05/t/ |
H A D | sunset.t | 5 my $sunset = DateTime::Event::Sunrise->sunset ( 18 sunset => $sunset,
|
H A D | clone.t | 5 my $sunset = DateTime::Event::Sunrise->sunset ( 21 sunset => $sunset,
|
/dports/editors/emacs-devel/emacs-4d1968b/test/lisp/calendar/ |
H A D | solar-tests.el | 37 (sunset (car (nth 1 sunrise-sunset)))) 39 (should (< (abs (- sunset 17.72)) epsilon))) 42 (sunset (car (nth 1 sunrise-sunset)))) 44 (should (< (abs (- sunset 17.72)) epsilon)))))
|
/dports/arabic/libitl/ITL-f8f41cc/new_method/src/ |
H A D | prayer.c | 51 const double sunset, 57 const double sunset, 311 const double sunset, in get_fajr() argument 318 (void)sunset; in get_fajr() 344 const double sunset, in get_isha() argument 351 (void)sunset; in get_isha() 361 isha = sunset + loc->calc_method.isha * ONE_MINUTE; in get_isha() 442 double true_noon, sunrise, sunset; in get_prayer_times() local 465 sunset = get_sunset(true_noon, loc, &coord); in get_prayer_times() 472 maghrib = sunset; in get_prayer_times() [all …]
|
/dports/www/gohugo/hugo-0.91.2/hugolib/ |
H A D | image_test.go | 129 Resized1: images/sunset.jpg|123|234|image/jpeg|/images/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90… 130 Resized2: images/sunset.jpg|12|23|image/jpeg|/images/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_9058… 131 Resized3: sunset.jpg|345|678|image/jpeg|/mybundle/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_3… 132 Resized4: sunset.jpg|34|67|image/jpeg|/mybundle/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_44d… 133 Resized5: images/sunset.jpg|456|789|image/jpeg|/images/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90… 134 Resized6: images/sunset.jpg|350|219|image/jpeg|/images/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90… 210 {{ $sunset := .Resources.GetMatch "sunset*" }} 211 {{ if $sunset }} 212 {{ $resized := $sunset.Resize "200x200" }}
|
/dports/deskutils/remind/remind-03.03.11/www/ |
H A D | sunset.rem-DIST | 1 # File for giving sunset info 17 set tod sunset(today()) 18 set tom sunset(today()+1) 20 set len1 sunset(today())-sunrise(today()) 21 set len2 sunset(today()+1)-sunrise(today()+1)
|
H A D | Makefile.in | 60 cp calps hebdate hebps hebhtml moon sunrise sunset $(DESTDIR)$(SCRIPTDIR) 65 sed $(SEDSCRIPT) < sunset.rem-DIST > $(DESTDIR)$(SCRIPTDIR)/sunset.rem 72 chmod 644 $(DESTDIR)$(SCRIPTDIR)/sunset.rem 78 $(DESTDIR)$(SCRIPTDIR)/sunrise $(DESTDIR)$(SCRIPTDIR)/sunset \
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | calendar.cpp | 126 time_point sunset( const time_point &p ) in sunset() function 148 return sunset( p ) + twilight_duration; in night_time() 161 const time_duration sunset = time_past_midnight( ::sunset( p ) ); in is_night() local 163 return now >= sunset + twilight_duration || now <= sunrise; in is_night() 170 const time_duration sunset = time_past_midnight( ::sunset( p ) ); in is_day() local 172 return now >= sunrise + twilight_duration && now <= sunset; in is_day() 178 const time_duration sunset = time_past_midnight( ::sunset( p ) ); in is_dusk() local 180 return now >= sunset && now <= sunset + twilight_duration; in is_dusk() 239 const time_duration sunset = time_past_midnight( ::sunset( p ) ); in sunlight() local 240 const double percent = ( now - sunset ) / twilight_duration; in sunlight()
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | calendar.cpp | 126 time_point sunset( const time_point &p ) in sunset() function 148 return sunset( p ) + twilight_duration; in night_time() 161 const time_duration sunset = time_past_midnight( ::sunset( p ) ); in is_night() local 163 return now >= sunset + twilight_duration || now <= sunrise; in is_night() 170 const time_duration sunset = time_past_midnight( ::sunset( p ) ); in is_day() local 172 return now >= sunrise + twilight_duration && now <= sunset; in is_day() 178 const time_duration sunset = time_past_midnight( ::sunset( p ) ); in is_dusk() local 180 return now >= sunset && now <= sunset + twilight_duration; in is_dusk() 239 const time_duration sunset = time_past_midnight( ::sunset( p ) ); in sunlight() local 240 const double percent = ( now - sunset ) / twilight_duration; in sunlight()
|