date time factory
More...
#include <nxdate_time.hpp>
nxdate_time provides static methods to create date-time strings which are compliant to the Nexus standard. It is highly important for this class to work properly that the time zone setup is correct. Time-zone information can come either directly from the host machine the program is running on or can be configured manually if this setup is not correct.
pni::core::string pni::io::nx::nxdate_time::__get_date_time_str |
( |
const boost::posix_time::ptime & |
t | ) |
|
|
staticprivate |
pni::core::string pni::io::nx::nxdate_time::__get_utc_delta |
( |
| ) |
|
|
staticprivate |
pni::core::string pni::io::nx::nxdate_time::get_date_time_str |
( |
| ) |
|
|
static |
Returns a string with a Nexus compliant date-time string for now.
- Returns
- Nexus date-time string
pni::core::string pni::io::nx::nxdate_time::get_date_time_str |
( |
const time_t & |
t | ) |
|
|
static |
Converts a given time in time_t format to a Nexus date-time string.
- Parameters
-
- Returns
- Nexus date-time string
The documentation for this class was generated from the following files: