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