of

public static YearMonth of(int year, int month)

Creates an instance with the the passed year and month.


public static YearMonth of(YearMonth value)

Converts the passed Java Time value.