blocxx
DateTime.cpp File Reference
#include "blocxx/BLOCXX_config.h"
#include "blocxx/DateTime.hpp"
#include "blocxx/String.hpp"
#include "blocxx/Array.hpp"
#include "blocxx/Format.hpp"
#include "blocxx/Mutex.hpp"
#include "blocxx/MutexLock.hpp"
#include "blocxx/ExceptionIds.hpp"
#include <time.h>
#include <cctype>

Go to the source code of this file.

Namespaces

namespace  BLOCXX_NAMESPACE
 Taken from RFC 1321.
 

Functions

struct tm * localtime_r (const time_t *timep, struct tm *result)
 
struct tm * gmtime_r (const time_t *timep, struct tm *result)
 
char * asctime_r (const struct tm *tm, char *result)
 
DateTime BLOCXX_NAMESPACE::operator- (DateTime const &x, DateTime const &y)
 Returns the difference of x and y.
 

Function Documentation

◆ asctime_r()

char * asctime_r ( const struct tm * tm,
char * result )

◆ gmtime_r()

struct tm * gmtime_r ( const time_t * timep,
struct tm * result )

◆ localtime_r()

struct tm * localtime_r ( const time_t * timep,
struct tm * result )