Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The until() method of Temporal.PlainYearMonth instances returns a new Temporal.Duration object representing the duration from this year-month to another year-month (in a form convertible by Temporal.PlainYearMonth.from()). The duration is positive if the other month is after this month, and negative if before.
This method does other - this. To do this - other, use the since() method.