MCPcopy Create free account
hub / github.com/angular/components / setTime

Function setTime

src/material/core/datetime/date-adapter.ts:202–204  ·  view source on GitHub ↗

* Sets the time of one date to the time of another. * @param target Date whose time will be set. * @param hours New hours to set on the date object. * @param minutes New minutes to set on the date object. * @param seconds New seconds to set on the date object.

(target: D, hours: number, minutes: number, seconds: number)

Source from the content-addressed store, hash-verified

200 * @param seconds New seconds to set on the date object.
201 */
202 setTime(target: D, hours: number, minutes: number, seconds: number): D {
203 throw new Error(NOT_IMPLEMENTED);
204 }
205
206 /**
207 * Gets the hours component of the given date.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected