Function cras::getYear(const ::std::chrono::system_clock::time_point&)
Defined in File time_utils.hpp
Function Documentation
-
int cras::getYear(const ::std::chrono::system_clock::time_point &time)
Get the year represented by the given ROS time when interpreted as UTC time.
- Parameters:
time – [in] The chrono time.
- Returns:
The year.