absl::FormatCivilTime

Formats the given civil-time value into a string value of the following format:

Synopses

Declared in <absl/time/civil_time.h>

Formats the given civil-time value into a string value of the following format:

std::string
FormatCivilTime(CivilDay c);
» more...

Formats the given civil-time value into a string value of the following format:

std::string
FormatCivilTime(CivilHour c);
» more...

Formats the given civil-time value into a string value of the following format:

std::string
FormatCivilTime(CivilMinute c);
» more...

Formats the given civil-time value into a string value of the following format:

std::string
FormatCivilTime(CivilMonth c);
» more...

Formats the given civil-time value into a string value of the following format:

std::string
FormatCivilTime(CivilSecond c);
» more...

Formats the given civil-time value into a string value of the following format:

std::string
FormatCivilTime(CivilYear c);
» more...

Return Value

The formatted civil-time string.

Parameters

NameDescription
cThe civil-time value to format.