Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The Temporal.Duration.from()
static method creates a new Temporal.Duration
object from another Temporal.Duration
object, an object with duration properties, or an ISO 8601 string.