Temporal.PlainDateTime.prototype.withPlainTime()
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
- experimental technology
Check the Browser compatibility table carefully before using this in production.
The withPlainTime()
method of Temporal.PlainTime.from()
)
This method will replace all time properties, defaulting to 0
where properties are unspecified. If you only want to replace some of the time properties, use the with()
method instead.