Goby3
3.1.5a
2024.05.23
|
Deprecated functions largely related to time handling (use goby::time for new work) More...
Functions | |
double | ptime2unix_double (boost::posix_time::ptime given_time) |
boost::posix_time::ptime | unix_double2ptime (double given_time) |
std::uint64_t | ptime2unix_microsec (boost::posix_time::ptime given_time) |
boost::posix_time::ptime | unix_microsec2ptime (std::uint64_t given_time) |
template<typename ReturnType > | |
ReturnType | goby_time () |
template<> | |
std::uint64_t | goby_time< std::uint64_t > () |
template<> | |
double | goby_time< double > () |
template<> | |
boost::posix_time::ptime | goby_time< boost::posix_time::ptime > () |
template<> | |
std::string | goby_time< std::string > () |
Returns current UTC time as a human-readable string. More... | |
std::string | goby_time_as_string (const boost::posix_time::ptime &t=goby_time()) |
Simple string representation of goby_time() More... | |
std::string | goby_file_timestamp () |
ISO string representation of goby_time() More... | |
boost::posix_time::ptime | time_t2ptime (std::time_t t) |
convert to ptime from time_t from time.h (whole seconds since UNIX) More... | |
std::time_t | ptime2time_t (boost::posix_time::ptime t) |
convert from ptime to time_t from time.h (whole seconds since UNIX) More... | |
boost::posix_time::ptime | nmea_time2ptime (const std::string &mt) |
Deprecated functions largely related to time handling (use goby::time for new work)
|
inline |
ISO string representation of goby_time()
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Simple string representation of goby_time()
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |