OTB  9.0.0
Orfeo Toolbox
Classes | Namespaces | Typedefs | Functions | Variables
otbDateTime.h File Reference
#include "OTBMetadataExport.h"
#include <cmath>
#include <boost/operators.hpp>
#include <chrono>
#include <string>
+ Include dependency graph for otbDateTime.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  otb::MetaData::details::dividable< T, R >
 
class  otb::MetaData::Duration
 
struct  otb::MetaData::details::streamable< T >
 
struct  otb::MetaData::details::substractable_asym< U, V >
 
class  otb::MetaData::TimePoint
 

Namespaces

 otb
 
 
 

Typedefs

using otb::MetaData::details::InternalDurationType = std::chrono::nanoseconds
 
using otb::MetaData::details::InternalTimePointType = std::chrono::time_point< std::chrono::system_clock, InternalDurationType >
 

Functions

OTBMetadata_EXPORT double otb::MetaData::Ratio (const Duration &lhs, const Duration &rhs)
 
OTBMetadata_EXPORT TimePoint otb::MetaData::ReadFormattedDate (const std::string &dateStr, const std::string &format=details::timePointFormat)
 

Variables

constexpr double otb::MetaData::details::internalPeriod = static_cast<double>(InternalDurationType::period::num) / InternalDurationType::period::den
 
const std::string otb::MetaData::details::timePointFormat = "%Y-%m-%dT%H:%M:%S"