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