app/Date/JewishDate.php
protected function monthNameNominativeCase(int $month, bool $leap_year): string
    {
        static $translated_month_names;

        if ($translated_month_names === null) {
            $translated_month_names = [
                0  => '',
                /* I18N: a month in the Jewish calendar */
                1  => I18N::translateContext('NOMINATIVE', 'Tishrei'),
                /* I18N: a month in the Jewish calendar */
                2  => I18N::translateContext('NOMINATIVE', 'Heshvan'),
                /* I18N: a month in the Jewish calendar */
                3  => I18N::translateContext('NOMINATIVE', 'Kislev'),
                /* I18N: a month in the Jewish calendar */
                4  => I18N::translateContext('NOMINATIVE', 'Tevet'),
                /* I18N: a month in the Jewish calendar */
                5  => I18N::translateContext('NOMINATIVE', 'Shevat'),
                /* I18N: a month in the Jewish calendar */
                6  => I18N::translateContext('NOMINATIVE', 'Adar I'),
                /* I18N: a month in the Jewish calendar */
                7  => I18N::translateContext('NOMINATIVE', 'Adar'),
                /* I18N: a month in the Jewish calendar */
                -7 => I18N::translateContext('NOMINATIVE', 'Adar II'),
                /* I18N: a month in the Jewish calendar */
                8  => I18N::translateContext('NOMINATIVE', 'Nissan'),
                /* I18N: a month in the Jewish calendar */
                9  => I18N::translateContext('NOMINATIVE', 'Iyar'),
                /* I18N: a month in the Jewish calendar */
                10 => I18N::translateContext('NOMINATIVE', 'Sivan'),
                /* I18N: a month in the Jewish calendar */
                11 => I18N::translateContext('NOMINATIVE', 'Tamuz'),
                /* I18N: a month in the Jewish calendar */
                12 => I18N::translateContext('NOMINATIVE', 'Av'),
                /* I18N: a month in the Jewish calendar */
                13 => I18N::translateContext('NOMINATIVE', 'Elul'),
            ];
        }

        if ($month === 7 && $leap_year) {
            return $translated_month_names[-7];
        }

        return $translated_month_names[$month];
    }
protected function monthNameNominativeCase(int $month, bool $leap_year): string
    {
        static $translated_month_names;

        if ($translated_month_names === null) {
            $translated_month_names = [
                0  => '',
                /* I18N: a month in the Jewish calendar */
                1  => I18N::translateContext('NOMINATIVE', 'Tishrei'),
                /* I18N: a month in the Jewish calendar */
                2  => I18N::translateContext('NOMINATIVE', 'Heshvan'),
                /* I18N: a month in the Jewish calendar */
                3  => I18N::translateContext('NOMINATIVE', 'Kislev'),
                /* I18N: a month in the Jewish calendar */
                4  => I18N::translateContext('NOMINATIVE', 'Tevet'),
                /* I18N: a month in the Jewish calendar */
                5  => I18N::translateContext('NOMINATIVE', 'Shevat'),
                /* I18N: a month in the Jewish calendar */
                6  => I18N::translateContext('NOMINATIVE', 'Adar I'),
                /* I18N: a month in the Jewish calendar */
                7  => I18N::translateContext('NOMINATIVE', 'Adar'),
                /* I18N: a month in the Jewish calendar */
                -7 => I18N::translateContext('NOMINATIVE', 'Adar II'),
                /* I18N: a month in the Jewish calendar */
                8  => I18N::translateContext('NOMINATIVE', 'Nissan'),
                /* I18N: a month in the Jewish calendar */
                9  => I18N::translateContext('NOMINATIVE', 'Iyar'),
                /* I18N: a month in the Jewish calendar */
                10 => I18N::translateContext('NOMINATIVE', 'Sivan'),
                /* I18N: a month in the Jewish calendar */
                11 => I18N::translateContext('NOMINATIVE', 'Tamuz'),
                /* I18N: a month in the Jewish calendar */
                12 => I18N::translateContext('NOMINATIVE', 'Av'),
                /* I18N: a month in the Jewish calendar */
                13 => I18N::translateContext('NOMINATIVE', 'Elul'),
            ];
        }

        if ($month === 7 && $leap_year) {
            return $translated_month_names[-7];
        }

        return $translated_month_names[$month];
    }
protected function monthNameNominativeCase ( int $ month , bool $ leap_year ) : string { static $ translated_month_names ; if ( $ translated_month_names === null ) { $ translated_month_names = [ 0 => '' , /* I18N: a month in the Jewish calendar */ 1 => I18N :: translateContext ( 'NOMINATIVE' , 'Tishrei' ) , /* I18N: a month in the Jewish calendar */ 2 => I18N :: translateContext ( 'NOMINATIVE' , 'Heshvan' ) , /* I18N: a month in the Jewish calendar */ 3 => I18N :: translateContext ( 'NOMINATIVE' , 'Kislev' ) , /* I18N: a month in the Jewish calendar */ 4 => I18N :: translateContext ( 'NOMINATIVE' , 'Tevet' ) , /* I18N: a month in the Jewish calendar */ 5 => I18N :: translateContext ( 'NOMINATIVE' , 'Shevat' ) , /* I18N: a month in the Jewish calendar */ 6 => I18N :: translateContext ( 'NOMINATIVE' , 'Adar I' ) , /* I18N: a month in the Jewish calendar */ 7 => I18N :: translateContext ( 'NOMINATIVE' , 'Adar' ) , /* I18N: a month in the Jewish calendar */ - 7 => I18N :: translateContext ( 'NOMINATIVE' , 'Adar II' ) , /* I18N: a month in the Jewish calendar */ 8 => I18N :: translateContext ( 'NOMINATIVE' , 'Nissan' ) , /* I18N: a month in the Jewish calendar */ 9 => I18N :: translateContext ( 'NOMINATIVE' , 'Iyar' ) , /* I18N: a month in the Jewish calendar */ 10 => I18N :: translateContext ( 'NOMINATIVE' , 'Sivan' ) , /* I18N: a month in the Jewish calendar */ 11 => I18N :: translateContext ( 'NOMINATIVE' , 'Tamuz' ) , /* I18N: a month in the Jewish calendar */ 12 => I18N :: translateContext ( 'NOMINATIVE' , 'Av' ) , /* I18N: a month in the Jewish calendar */ 13 => I18N :: translateContext ( 'NOMINATIVE' , 'Elul' ) , ] ; } if ( $ month === 7 && $ leap_year ) { return $ translated_month_names [ - 7 ] ; } return $ translated_month_names [ $ month ] ; }
Full month name in nominative case.

@param int  $month
@param bool $leap_year Some calendars use leap months

@return string
Full month name in nominative case .