MakerLabs ACM
ntp.h File Reference
#include "date/ptz.h"
#include <chrono>
#include <ctime>

Go to the source code of this file.

Namespaces

 NetworkManager
 

Typedefs

using NetworkManager::TimeZone = date::zoned_time< std::chrono::system_clock::duration, Posix::time_zone >
 

Functions

auto NetworkManager::is_time_set () -> bool
 
auto NetworkManager::to_tm (const TimeZone tp) -> std::tm
 
auto NetworkManager::format_time (const TimeZone &tp, const string &fmt) -> string
 
auto NetworkManager::format_time (const std::tm *const &timeinfo, const string &fmt) -> string