YearMonth.this

Constructs a YearMonth from a short year and Month enum, a short year and ushort month, a Date, or a YearMonthDay.

Examples

auto ym = YearMonth(YearMonthDay(2000, Month.dec, 31));