[#absl-Hours-08] = xref:absl.adoc[absl]::Hours :relfileprefix: ../ :mrdocs: Constructs a `Duration` from a floating‐point number of hours. == Synopsis Declared in `<absl/time/time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, /* implementation-defined */ = 0> xref:absl/Duration.adoc[Duration] Hours(T n); ---- == Return Value A duration of `n` hours. == Parameters [cols="1,4"] |=== | Name| Description | *n* | The number of hours. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#