Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The round()
method of Temporal.Instant
instances returns a new Temporal.Instant
object representing this instant rounded to the given unit.