blocxx
Namespaces | Functions

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)
 BLOCXX_NAMESPACE::BLOCXX_DEFINE_EXCEPTION_WITH_ID (DateTime)
DateTime BLOCXX_NAMESPACE::operator- (DateTime const &x, DateTime const &y)
 Returns the difference of x and y.

Function Documentation

char* asctime_r ( const struct tm *  tm,
char *  result 
)
struct tm* gmtime_r ( const time_t *  timep,
struct tm *  result 
) [read]
struct tm* localtime_r ( const time_t *  timep,
struct tm *  result 
) [read]