public static function jdMonthName($julian_day, $mode)
    {
        switch ($mode) {
            case CAL_MONTH_GREGORIAN_LONG:
                return self::jdMonthNameCalendar(self::$gregorian_calendar, $julian_day, self::$MONTH_NAMES);

            case CAL_MONTH_JULIAN_LONG:
                return self::jdMonthNameCalendar(self::$julian_calendar, $julian_day, self::$MONTH_NAMES);

            case CAL_MONTH_JULIAN_SHORT:
                return self::jdMonthNameCalendar(self::$julian_calendar, $julian_day, self::$MONTH_NAMES_SHORT);

            case CAL_MONTH_JEWISH:
                return self::jdMonthNameCalendar(self::$jewish_calendar, $julian_day, self::jdMonthNameJewishMonths($julian_day));

            case CAL_MONTH_FRENCH:
                return self::jdMonthNameCalendar(self::$french_calendar, $julian_day, self::$MONTH_NAMES_FRENCH);

            case CAL_MONTH_GREGORIAN_SHORT:
            default:
                return self::jdMonthNameCalendar(self::$gregorian_calendar, $julian_day, self::$MONTH_NAMES_SHORT);
        }
    }
public static function jdMonthName($julian_day, $mode)
    {
        switch ($mode) {
            case CAL_MONTH_GREGORIAN_LONG:
                return self::jdMonthNameCalendar(self::$gregorian_calendar, $julian_day, self::$MONTH_NAMES);

            case CAL_MONTH_JULIAN_LONG:
                return self::jdMonthNameCalendar(self::$julian_calendar, $julian_day, self::$MONTH_NAMES);

            case CAL_MONTH_JULIAN_SHORT:
                return self::jdMonthNameCalendar(self::$julian_calendar, $julian_day, self::$MONTH_NAMES_SHORT);

            case CAL_MONTH_JEWISH:
                return self::jdMonthNameCalendar(self::$jewish_calendar, $julian_day, self::jdMonthNameJewishMonths($julian_day));

            case CAL_MONTH_FRENCH:
                return self::jdMonthNameCalendar(self::$french_calendar, $julian_day, self::$MONTH_NAMES_FRENCH);

            case CAL_MONTH_GREGORIAN_SHORT:
            default:
                return self::jdMonthNameCalendar(self::$gregorian_calendar, $julian_day, self::$MONTH_NAMES_SHORT);
        }
    }
public static function jdMonthName ( $ julian_day , $ mode ) { switch ( $ mode ) { case CAL_MONTH_GREGORIAN_LONG : return self :: jdMonthNameCalendar ( self :: $ gregorian_calendar , $ julian_day , self :: $ MONTH_NAMES ) ; case CAL_MONTH_JULIAN_LONG : return self :: jdMonthNameCalendar ( self :: $ julian_calendar , $ julian_day , self :: $ MONTH_NAMES ) ; case CAL_MONTH_JULIAN_SHORT : return self :: jdMonthNameCalendar ( self :: $ julian_calendar , $ julian_day , self :: $ MONTH_NAMES_SHORT ) ; case CAL_MONTH_JEWISH : return self :: jdMonthNameCalendar ( self :: $ jewish_calendar , $ julian_day , self :: jdMonthNameJewishMonths ( $ julian_day ) ) ; case CAL_MONTH_FRENCH : return self :: jdMonthNameCalendar ( self :: $ french_calendar , $ julian_day , self :: $ MONTH_NAMES_FRENCH ) ; case CAL_MONTH_GREGORIAN_SHORT : default : return self :: jdMonthNameCalendar ( self :: $ gregorian_calendar , $ julian_day , self :: $ MONTH_NAMES_SHORT ) ; } }
Returns a month name.

Shim implementation of JDMonthName()

@link https://php.net/JDMonthName

@param int $julian_day
@param int $mode

@return string
Returns a month name .