<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.calendar.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'function.jewishtojd.php',
    1 => 'jewishtojd',
    2 => '将犹太历日期转换为儒略日数',
  ),
  'up' => 
  array (
    0 => 'ref.calendar.php',
    1 => 'Calendar 函数',
  ),
  'prev' => 
  array (
    0 => 'function.jdtounix.php',
    1 => 'jdtounix',
  ),
  'next' => 
  array (
    0 => 'function.juliantojd.php',
    1 => 'juliantojd',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/calendar/functions/jewishtojd.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.jewishtojd" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">jewishtojd</h1> 
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">jewishtojd</span> &mdash; <span class="dc-title">将犹太历日期转换为儒略日数</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.jewishtojd-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>jewishtojd</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$month</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$day</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$year</code></span>): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   尽管这个函数可以处理元年（公元前 3761 年）以前的年份，但这样做可能没有意义。
   犹太历被用了几千年，但早期的时候一个月的开始没有固定的准则，通常是观察到一个新月后定为一个月份的开始。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.jewishtojd-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">month</code></dt>
     <dd>
      <p class="para">
       月份为 <code class="literal">1</code> 到 <code class="literal">13</code> 之间的数字，
       <code class="literal">1</code> 代表 <code class="literal">Tishri</code>，
       <code class="literal">13</code> 代表 <code class="literal">Elul</code>，
       <code class="literal">6</code> <em> 和 </em> <code class="literal">7</code> 代表平年中的
       <code class="literal">Adar</code>，但在闰年则分别代表 <code class="literal">Adar I</code>
       和 <code class="literal">Adar II</code>。
      </p>
     </dd>
    
    
     <dt><code class="parameter">day</code></dt>
     <dd>
      <p class="para">
       天数为 <code class="literal">1</code> 到 <code class="literal">30</code> 
       之间的数字。如果这个月只有 29 天，则假设第 30 天为下个月的第一天。
      </p>
     </dd>
    
    
     <dt><code class="parameter">year</code></dt>
     <dd>
      <p class="para">
       年份为 1 到 9999 之间的数字
      </p>
     </dd>
      
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.jewishtojd-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   指定犹太历日期所对应的 int 类型的儒略日。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.jewishtojd-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.jdtojewish.php" class="function" rel="rdfs-seeAlso">jdtojewish()</a> - 将儒略日数转换为犹太历日期</span></li> 
    <li><span class="function"><a href="function.cal-to-jd.php" class="function" rel="rdfs-seeAlso">cal_to_jd()</a> - 从支持的历法转换为儒略日数</span></li>
   </ul>
  </p>
 </div>

</div><?php manual_footer($setup); ?>