YearMonth.toString

Outputs this year-month as a {@code string}, such as {@code 2007-12}. !(p) The output will be _in the format {@code uuuu-MM}:

@return a string representation of this year-month, not null

class YearMonth
override
string
toString
()

Meta