Parses a civil-time value from the specified absl::string_view into the passed output parameter. Returns true upon successful parsing.
Declared in <absl/time/civil_time.h>
bool
ParseCivilTime(
std::string_view s,
CivilDay* c);
» more...
bool
ParseCivilTime(
std::string_view s,
CivilHour* c);
» more...
bool
ParseCivilTime(
std::string_view s,
CivilMinute* c);
» more...
bool
ParseCivilTime(
std::string_view s,
CivilMonth* c);
» more...
Parses a civil-time value from the specified absl::string_view into the passed output parameter. Returns true upon successful parsing.
bool
ParseCivilTime(
std::string_view s,
CivilSecond* c);
» more...
bool
ParseCivilTime(
std::string_view s,
CivilYear* c);
» more...
true upon successful parsing.
| Name | Description |
|---|---|
| s | The string to parse. |
| c | Output parameter receiving the parsed civil-time value. |