libosmscout 1.1.1
Loading...
Searching...
No Matches
Time.h File Reference
#include <chrono>
Include dependency graph for Time.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  osmscout

Typedefs

using osmscout::Timestamp = std::chrono::system_clock::time_point
using osmscout::Duration = Timestamp::duration
using osmscout::HourDuration = std::chrono::duration<double, std::ratio<3600>>

Functions

double osmscout::DurationAsSeconds (Duration duration)
double osmscout::DurationAsHours (Duration duration)
Duration osmscout::DurationOfHours (double hours)