method Duration.prototype.setHoursimport { Duration } from "https://deno.land/x/durationjs@v4.1.0/mod.ts"; setHours(n: number): DurationSet hours of the duration. Parametersn: numberNumber of hours to set. ReturnsDurationThe updated duration.