public static function getMonth($month): string
	{
		if ($month instanceof DateTimeInterface) {
			$month = (int) $month->format('n');
		}
		if (!is_int($month)) {
			throw new InvalidArgumentException;
		}
		return self::$monthNames[self::$locale][$month];
	}
public static function getMonth($month): string
	{
		if ($month instanceof DateTimeInterface) {
			$month = (int) $month->format('n');
		}
		if (!is_int($month)) {
			throw new InvalidArgumentException;
		}
		return self::$monthNames[self::$locale][$month];
	}
public static function getMonth ( $ month ) : string { if ( $ month instanceof DateTimeInterface ) { $ month = ( int ) $ month -> format ( 'n' ) ; } if ( ! is_int ( $ month ) ) { throw new InvalidArgumentException ; } return self :: $ monthNames [ self :: $ locale ] [ $ month ] ; }
Vrati nazev mesice
@param int|DateTimeInterface $month
@return string
Vrati nazev mesice