original_string: 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],
          );
      }
code: 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],
          );
      }
code_tokens: 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 ] , ) ; }
docstring: 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
docstring_tokens: Convert a Julian day number to a calendar and provide details .