[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/datetime/functions/_date-sunrise.xml_date-sunset
From:       Christoph_Michael_Becker <cmb () php ! net>
Date:       2018-02-12 18:34:40
Message-ID: svn-cmb-1518460480-344247-1212514653 () svn ! php ! net
[Download RAW message or body]

cmb                                      Mon, 12 Feb 2018 18:34:40 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=344247

Log:
Document $zenith parameter

This integrates user note 82801, and is supposed to make
user note 47839 superfluous.

Changed paths:
    U   phpdoc/en/trunk/reference/datetime/functions/date-sunrise.xml
    U   phpdoc/en/trunk/reference/datetime/functions/date-sunset.xml

Modified: phpdoc/en/trunk/reference/datetime/functions/date-sunrise.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/functions/date-sunrise.xml	2018-02-12 18:07:29 \
                UTC (rev 344246)
+++ phpdoc/en/trunk/reference/datetime/functions/date-sunrise.xml	2018-02-12 18:34:40 \
UTC (rev 344247) @@ -94,7 +94,38 @@
      <term><parameter>zenith</parameter></term>
      <listitem>
       <para>
-       Default: <link linkend="ini.date.sunrise-zenith">date.sunrise_zenith</link>
+       <parameter>zenith</parameter> is the angle between the center of the sun
+       and a line perpendicular to earth's surface. It defaults to
+       <link linkend="ini.date.sunrise-zenith">date.sunrise_zenith</link>
+       <table>
+        <title>Common <parameter>zenith</parameter> angles</title>
+        <tgroup cols="2">
+         <thead>
+          <row>
+           <entry>Angle</entry>
+           <entry>Description</entry>
+          </row>
+         </thead>
+         <tbody>
+          <row>
+           <entry>90 °50'</entry>
+           <entry>Sunrise: the point where the sun becomes visible.</entry>
+          </row>
+          <row>
+           <entry>96 °</entry>
+           <entry>Civil twilight: conventionally used to signify the start of \
dawn.</entry> +          </row>
+          <row>
+           <entry>102 °</entry>
+           <entry>Nautical twilight: the point at which the horizon starts being \
visible at sea.</entry> +          </row>
+          <row>
+           <entry>108 °</entry>
+           <entry>Astronomical twilight: the point at which the sun starts being the \
source of any illumination.</entry> +          </row>
+         </tbody>
+        </tgroup>
+       </table>
       </para>
      </listitem>
     </varlistentry>

Modified: phpdoc/en/trunk/reference/datetime/functions/date-sunset.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/functions/date-sunset.xml	2018-02-12 18:07:29 \
                UTC (rev 344246)
+++ phpdoc/en/trunk/reference/datetime/functions/date-sunset.xml	2018-02-12 18:34:40 \
UTC (rev 344247) @@ -96,7 +96,38 @@
      <term><parameter>zenith</parameter></term>
      <listitem>
       <para>
-       Default: <link linkend="ini.date.sunset-zenith">date.sunset_zenith</link>
+       <parameter>zenith</parameter> is the angle between the center of the sun
+       and a line perpendicular to earth's surface. It defaults to
+       <link linkend="ini.date.sunset-zenith">date.sunset_zenith</link>
+       <table>
+        <title>Common <parameter>zenith</parameter> angles</title>
+        <tgroup cols="2">
+         <thead>
+          <row>
+           <entry>Angle</entry>
+           <entry>Description</entry>
+          </row>
+         </thead>
+         <tbody>
+          <row>
+           <entry>90 °50'</entry>
+           <entry>Sunset: the point where the sun becomes invisible.</entry>
+          </row>
+          <row>
+           <entry>96 °</entry>
+           <entry>Civil twilight: conventionally used to signify the end of \
dusk.</entry> +          </row>
+          <row>
+           <entry>102 °</entry>
+           <entry>Nautical twilight: the point at which the horizon ends being \
visible at sea.</entry> +          </row>
+          <row>
+           <entry>108 °</entry>
+           <entry>Astronomical twilight: the point at which the sun ends being the \
source of any illumination.</entry> +          </row>
+         </tbody>
+        </tgroup>
+       </table>
       </para>
      </listitem>
     </varlistentry>



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic