parse

public static YearMonth parse(String str)

Parses a year-month from the passed string.

See also