private static function calFromJdCalendar($julian_day, $mdy, $months, $months_short)
    {
        list($month, $day, $year) = explode('/', $mdy);

        return array(
            'date'          => $month . '/' . $day . '/' . $year,
            'month'         => (int) $month,
            'day'           => (int) $day,
            'year'          => (int) $year,
            'dow'           => self::jdDayOfWeek($julian_day, 0),
            'abbrevdayname' => self::jdDayOfWeek($julian_day, 2),
            'dayname'       => self::jdDayOfWeek($julian_day, 1),
            'abbrevmonth'   => $months_short[$month],
            'monthname'     => $months[$month],
        );
    }
private static function calFromJdCalendar($julian_day, $mdy, $months, $months_short)
    {
        list($month, $day, $year) = explode('/', $mdy);

        return array(
            'date'          => $month . '/' . $day . '/' . $year,
            'month'         => (int) $month,
            'day'           => (int) $day,
            'year'          => (int) $year,
            'dow'           => self::jdDayOfWeek($julian_day, 0),
            'abbrevdayname' => self::jdDayOfWeek($julian_day, 2),
            'dayname'       => self::jdDayOfWeek($julian_day, 1),
            'abbrevmonth'   => $months_short[$month],
            'monthname'     => $months[$month],
        );
    }
private static function calFromJdCalendar ( $ julian_day , $ mdy , $ months , $ months_short ) { list ( $ month , $ day , $ year ) = explode ( '/' , $ mdy ) ; return array ( 'date' => $ month . '/' . $ day . '/' . $ year , 'month' => ( int ) $ month , 'day' => ( int ) $ day , 'year' => ( int ) $ year , 'dow' => self :: jdDayOfWeek ( $ julian_day , 0 ) , 'abbrevdayname' => self :: jdDayOfWeek ( $ julian_day , 2 ) , 'dayname' => self :: jdDayOfWeek ( $ julian_day , 1 ) , 'abbrevmonth' => $ months_short [ $ month ] , 'monthname' => $ months [ $ month ] , ) ; }
Convert a Julian day number to a calendar and provide details.

@param int      $julian_day
@param string   $mdy
@param string[] $months
@param string[] $months_short

@return array
Convert a Julian day number to a calendar and provide details .