src/Parser/IsoParsers.php
public static function monthDay() : PatternParser
    {
        static $parser;

        if ($parser) {
            return $parser;
        }

        return $parser = (new PatternParserBuilder())
            ->appendLiteral('--')
            ->appendCapturePattern(MonthOfYear::PATTERN, MonthOfYear::NAME)
            ->appendLiteral('-')
            ->appendCapturePattern(DayOfMonth::PATTERN, DayOfMonth::NAME)
            ->toParser();
    }
public static function monthDay() : PatternParser
    {
        static $parser;

        if ($parser) {
            return $parser;
        }

        return $parser = (new PatternParserBuilder())
            ->appendLiteral('--')
            ->appendCapturePattern(MonthOfYear::PATTERN, MonthOfYear::NAME)
            ->appendLiteral('-')
            ->appendCapturePattern(DayOfMonth::PATTERN, DayOfMonth::NAME)
            ->toParser();
    }
public static function monthDay ( ) : PatternParser { static $ parser ; if ( $ parser ) { return $ parser ; } return $ parser = ( new PatternParserBuilder ( ) ) -> appendLiteral ( '--' ) -> appendCapturePattern ( MonthOfYear :: PATTERN , MonthOfYear :: NAME ) -> appendLiteral ( '-' ) -> appendCapturePattern ( DayOfMonth :: PATTERN , DayOfMonth :: NAME ) -> toParser ( ) ; }
Returns a parser for a month-day such as `12-31`.

@return PatternParser
Returns a parser for a month - day such as 12 - 31 .