[#absl-AbslParseFlag-03] = xref:absl.adoc[absl]::AbslParseFlag :relfileprefix: ../ :mrdocs: Parses a command‐line flag string representation `text` into a Duration value. Duration flags must be specified in a format that is valid input for `absl::ParseDuration()`. == Synopsis Declared in `<absl/time/time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool AbslParseFlag( std::string_view text, xref:absl/Duration.adoc[Duration]* dst, std::string* error); ---- == Return Value `true` upon successful parsing. == Parameters [cols="1,4"] |=== | Name| Description | *text* | The flag string to parse. | *dst* | Output parameter receiving the parsed duration. | *error* | Output parameter receiving an error message on failure. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#