[#absl-ParseLenientCivilTime-0e]
= xref:absl.adoc[absl]::ParseLenientCivilTime
:relfileprefix: ../
:mrdocs:

Parses any of the formats accepted by `absl&colon;&colon;ParseCivilTime()`&period; Unlike `ParseCivilTime()`, the input string format does not need to match the target civil&hyphen;time type&period; Discrepancies are resolved as follows&colon; &ast; Extra components in the input string are ignored&period; &ast; Missing components are defaulted to their minimum valid values&period; This behavior is consistent with civil&hyphen;time converting constructors&period;

== Synopses

Declared in `&lt;absl&sol;time&sol;civil&lowbar;time&period;h&gt;`


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:absl/ParseLenientCivilTime-004.adoc[ParseLenientCivilTime](
    std::string&lowbar;view s,
    xref:absl/CivilDay.adoc[CivilDay]* c);
----

[.small]#xref:absl/ParseLenientCivilTime-004.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:absl/ParseLenientCivilTime-00b.adoc[ParseLenientCivilTime](
    std::string&lowbar;view s,
    xref:absl/CivilHour.adoc[CivilHour]* c);
----

[.small]#xref:absl/ParseLenientCivilTime-00b.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:absl/ParseLenientCivilTime-02.adoc[ParseLenientCivilTime](
    std::string&lowbar;view s,
    xref:absl/CivilMinute.adoc[CivilMinute]* c);
----

[.small]#xref:absl/ParseLenientCivilTime-02.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:absl/ParseLenientCivilTime-06.adoc[ParseLenientCivilTime](
    std::string&lowbar;view s,
    xref:absl/CivilMonth.adoc[CivilMonth]* c);
----

[.small]#xref:absl/ParseLenientCivilTime-06.adoc[_» more&period;&period;&period;_]#

Parses any of the formats accepted by `absl&colon;&colon;ParseCivilTime()`&period; Unlike `ParseCivilTime()`, the input string format does not need to match the target civil&hyphen;time type&period; Discrepancies are resolved as follows&colon; &ast; Extra components in the input string are ignored&period; &ast; Missing components are defaulted to their minimum valid values&period; This behavior is consistent with civil&hyphen;time converting constructors&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:absl/ParseLenientCivilTime-0d.adoc[ParseLenientCivilTime](
    std::string&lowbar;view s,
    xref:absl/CivilSecond.adoc[CivilSecond]* c);
----

[.small]#xref:absl/ParseLenientCivilTime-0d.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:absl/ParseLenientCivilTime-04.adoc[ParseLenientCivilTime](
    std::string&lowbar;view s,
    xref:absl/CivilYear.adoc[CivilYear]* c);
----

[.small]#xref:absl/ParseLenientCivilTime-04.adoc[_» more&period;&period;&period;_]#

== Return Value

`true` upon successful parsing&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| The string to parse&period;
| *c*
| Output parameter receiving the parsed civil&hyphen;time value&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
