class CivilTimeConverterInterface
Defined at line 54 of file ../../third_party/cobalt/src/public/lib/clock_interfaces.h
An abstract interface to a class that has access to a time zone database, and that converts
time points to civil time in a specified time zone.
Public Methods
lib::statusor::StatusOr<std::tm> civil_time (std::chrono::system_clock::time_point time, const std::string & time_zone)
Returns the time struct corresponding to a system time `time` in the time zone identified by
`time_zone`, which must be a valid IANA time zone identifier. May return an error status; for
example, returns an error if `time_zone` is not a valid time zone identifier.
void ~CivilTimeConverterInterface ()
Defined at line 56 of file ../../third_party/cobalt/src/public/lib/clock_interfaces.h