Beispiel #1
0
 /**
  * Converts a date in the Jewish Calendar to Julian Day Count.
  *
  * Shim implementation of \JewishToJD()
  *
  * @link https://php.net/JewishToJD
  *
  * @param int $month
  * @param int $day
  * @param int $year
  *
  * @return int
  */
 public static function jewishToJD($month, $day, $year)
 {
     if ($year == 0) {
         return 0;
     } else {
         $jewish = new JewishCalendar();
         return $jewish->ymdToJd($year, $month, $day);
     }
 }