public static function gregorianToJd($month, $day, $year)
    {
        if ($year == 0) {
            return 0;
        } else {
            return self::$gregorian_calendar->ymdToJd($year, $month, $day);
        }
    }
public static function gregorianToJd($month, $day, $year)
    {
        if ($year == 0) {
            return 0;
        } else {
            return self::$gregorian_calendar->ymdToJd($year, $month, $day);
        }
    }
public static function gregorianToJd ( $ month , $ day , $ year ) { if ( $ year == 0 ) { return 0 ; } else { return self :: $ gregorian_calendar -> ymdToJd ( $ year , $ month , $ day ) ; } }
Converts a Gregorian date to Julian Day Count.

Shim implementation of GregorianToJD()

@link https://php.net/GregorianToJD

@param int $month
@param int $day
@param int $year

@return int
Converts a Gregorian date to Julian Day Count .