Function cras::parseTimezoneOffset

Function Documentation

::rclcpp::Duration cras::parseTimezoneOffset(const ::std::string &s)

Parse timezone offset from the given string.

This function accepts this format:

Note

This function does not support textual timezones like CET.

Parameters:

s[in] The string to parse.

Returns:

The duration corresponding to the timezone offset.