<?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 => 'ja',
  ),
  'this' => 
  array (
    0 => 'function.cal-to-jd.php',
    1 => 'cal_to_jd',
    2 => 'サポートされるカレンダーからユリウス積算日に変換する',
  ),
  'up' => 
  array (
    0 => 'ref.calendar.php',
    1 => 'カレンダー 関数',
  ),
  'prev' => 
  array (
    0 => 'function.cal-info.php',
    1 => 'cal_info',
  ),
  'next' => 
  array (
    0 => 'function.easter-date.php',
    1 => 'easter_date',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/calendar/functions/cal-to-jd.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.cal-to-jd" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">cal_to_jd</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.1.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">cal_to_jd</span> &mdash; <span class="dc-title">サポートされるカレンダーからユリウス積算日に変換する</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.cal-to-jd-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>cal_to_jd</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$calendar</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$month</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$day</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$year</code></span><br>): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>cal_to_jd()</strong></span> は、指定した
   <code class="parameter">calendar</code> の日付からユリウス積算日を計算します。
   サポートされる <code class="parameter">calendar</code> は
   <strong><code><a href="calendar.constants.php#constant.cal-gregorian">CAL_GREGORIAN</a></code></strong>、
   <strong><code><a href="calendar.constants.php#constant.cal-julian">CAL_JULIAN</a></code></strong>、
   <strong><code><a href="calendar.constants.php#constant.cal-jewish">CAL_JEWISH</a></code></strong> および
   <strong><code><a href="calendar.constants.php#constant.cal-french">CAL_FRENCH</a></code></strong> です。
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.cal-to-jd-parameters">
  <h3 class="title">パラメータ</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">calendar</code></dt>
     <dd>
      <p class="para">
       変換元のカレンダー。
       <strong><code><a href="calendar.constants.php#constant.cal-gregorian">CAL_GREGORIAN</a></code></strong>、
       <strong><code><a href="calendar.constants.php#constant.cal-julian">CAL_JULIAN</a></code></strong>、
       <strong><code><a href="calendar.constants.php#constant.cal-jewish">CAL_JEWISH</a></code></strong> あるいは
       <strong><code><a href="calendar.constants.php#constant.cal-french">CAL_FRENCH</a></code></strong> のいずれか。
      </p>
     </dd>
    
    
     <dt><code class="parameter">month</code></dt>
     <dd>
      <p class="para">
       月を表す数値。有効な範囲は
       <code class="parameter">calendar</code> に依存します。
      </p>
     </dd>
    
    
     <dt><code class="parameter">day</code></dt>
     <dd>
      <p class="para">
       日を表す数値。有効な範囲は
       <code class="parameter">calendar</code> に依存します。
      </p>
     </dd>
    
    
     <dt><code class="parameter">year</code></dt>
     <dd>
      <p class="para">
       年を表す数値。有効な範囲は
       <code class="parameter">calendar</code> に依存します。
      </p>
     </dd>
      
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.cal-to-jd-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="para">
   ユリウス積算日を返します。
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.cal-to-jd-seealso">
  <h3 class="title">参考</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.cal-from-jd.php" class="function" rel="rdfs-seeAlso">cal_from_jd()</a> - ユリウス積算日からサポートされるカレンダーに変換する</span></li>
    <li><span class="function"><a href="function.frenchtojd.php" class="function" rel="rdfs-seeAlso">frenchtojd()</a> - フランス革命暦をユリウス積算日に変換する</span></li> 
    <li><span class="function"><a href="function.gregoriantojd.php" class="function" rel="rdfs-seeAlso">gregoriantojd()</a> - グレゴリウス日をユリウス積算日に変換する</span></li>  
    <li><span class="function"><a href="function.jewishtojd.php" class="function" rel="rdfs-seeAlso">jewishtojd()</a> - ユダヤ暦の日付けをユリウス積算日に変換する</span></li>  
    <li><span class="function"><a href="function.juliantojd.php" class="function" rel="rdfs-seeAlso">juliantojd()</a> - ユリウス暦をユリウス積算日に変換する</span></li>  
    <li><span class="function"><a href="function.unixtojd.php" class="function" rel="rdfs-seeAlso">unixtojd()</a> - Unix タイムスタンプをユリウス歴に変換する</span></li>
   </ul>
  </p>
 </div>

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