Photon Common Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::Timestamp Class Referencefinal

Represents a point in time. More...

#include <Timestamp.h>

Public Member Functions

 Timestamp ()
 
std::string toYMD () const
 
std::string toHMS () const
 
std::string toHMSMilliseconds () const
 
std::string toHMSMicroseconds () const
 
std::string toYMDHMS () const
 
std::string toYMDHMSMilliseconds () const
 
std::string toYMDHMSMicroseconds () const
 
std::string toString () const
 

Detailed Description

Represents a point in time.

This class represents the local time on which an instance of it has been created. It is guaranteed to be thread-safe.

Constructor & Destructor Documentation

◆ Timestamp()

ph::Timestamp::Timestamp ( )
inline

Member Function Documentation

◆ toHMS()

std::string ph::Timestamp::toHMS ( ) const

◆ toHMSMicroseconds()

std::string ph::Timestamp::toHMSMicroseconds ( ) const

◆ toHMSMilliseconds()

std::string ph::Timestamp::toHMSMilliseconds ( ) const

◆ toString()

std::string ph::Timestamp::toString ( ) const

◆ toYMD()

std::string ph::Timestamp::toYMD ( ) const

◆ toYMDHMS()

std::string ph::Timestamp::toYMDHMS ( ) const

◆ toYMDHMSMicroseconds()

std::string ph::Timestamp::toYMDHMSMicroseconds ( ) const

◆ toYMDHMSMilliseconds()

std::string ph::Timestamp::toYMDHMSMilliseconds ( ) const

The documentation for this class was generated from the following files: