Add Jahreszeiten
This commit is contained in:
parent
59af7a7d5d
commit
44d9b49a05
3 changed files with 180 additions and 0 deletions
14
season_test.php
Normal file
14
season_test.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
require 'season.php';
|
||||
|
||||
$jz = new Season();
|
||||
for ($j = 2000; $j < 2100; $j++) {
|
||||
$jz->calc($j);
|
||||
echo date('d.m.Y', $jz->get(Season::Spring)) . "\t";
|
||||
echo date('d.m.Y', $jz->get(Season::Summer)) . "\t";
|
||||
echo date('d.m.Y', $jz->get(Season::Autumn)) . "\t";
|
||||
echo date('d.m.Y', $jz->get(Season::Winter)) . "\n";
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue