General fixes.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@128403 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2003-05-22 12:25:34 +00:00
parent 6ee897a843
commit 7746cbc0a9

View file

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.4 -->
<refentry id="function.jdtojewish">
<refnamediv>
<refname>jdtojewish</refname>
<refpurpose>
Converts a julian day count to a jewish calendar date </refpurpose>
Converts a julian day count to a jewish calendar date
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -16,25 +17,28 @@
<methodparam choice="opt"><type>int</type><parameter>fl</parameter></methodparam>
</methodsynopsis>
<para>
Converts a Julian Day Count the the Jewish Calendar.
Converts a Julian Day Count the the Jewish Calendar.
</para>
<para>
The following option is available since <literal>PHP</literal> 5.0.0:
The optional <parameter>hebrew</parameter> and <parameter>fl</parameter>
parameters became available in PHP 5.0.0
</para>
<para>
If the the second parameter is set to true, the third parameters used for hebrew, string based, output format. the available formats are:
If the the <parameter>hebrew</parameter> parameter is set to &true;, the
<parameter>fl</parameter> parameter is used for hebrew, string based,
output format. The available formats are:
<constant>CAL_JEWISH_ADD_ALAFIM_GERESH</constant>,
<constant>CAL_JEWISH_ADD_ALAFIM</constant>,
<constant>CAL_JEWISH_ADD_GERESHAYIM</constant>.
</para>
<para>
<example>
<title><function>jdtojewish</function> Example</title>
<programlisting role="php">
<![CDATA[
<?
echo jdtojewish(gregoriantojd(10,8,2002),true, CAL_JEWISH_ADD_GERESHAYIM+CAL_JEWISH_ADD_ALAFIM+CAL_JEWISH_ADD_ALAFIM_GERESH);
<?php
echo jdtojewish(gregoriantojd(10,8,2002), true,
CAL_JEWISH_ADD_GERESHAYIM + CAL_JEWISH_ADD_ALAFIM + CAL_JEWISH_ADD_ALAFIM_GERESH);
?>
]]>
</programlisting>