MeshLib C++ Docs
Loading...
Searching...
No Matches
MRChrono.h File Reference
#include "MRMeshFwd.h"
#include "MRPch/MRBindingMacros.h"
#include <ctime>
#include <optional>

Go to the source code of this file.

Namespaces

namespace  MR
 only for bindings generation
 

Functions

MRMESH_API MR_BIND_IGNORE std::optional< std::tm > MR::Localtime (std::time_t time)
 A threadsafe equivalent for std::localtime(). Returns null on failure.
 
MRMESH_API MR_BIND_IGNORE std::tm MR::LocaltimeOrZero (std::time_t time)
 Same, but returns a struct full of zeroes on error.