ucommon  7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
  Fossies Dox: ucommon-7.0.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

datetime.h File Reference
#include <ucommon/platform.h>
#include <ucommon/numbers.h>
#include <ucommon/typeref.h>
#include <unistd.h>
#include <sys/time.h>
#include <time.h>
Include dependency graph for datetime.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ucommon::Date
 julian number based date class. More...
 
class  ucommon::Time
 Integer based time class. More...
 
class  ucommon::DateTime
 Integer based time class. More...
 
class  ucommon::DateTimeString
 a datetime class that returns strings. More...
 
class  ucommon::DateNumber
 a number that is also a date string. More...
 
class  ucommon::isotime
 

Namespaces

 ucommon
 

Macros

#define DATE_STRING_SIZE   10
 
#define DATE_BUFFER_SIZE   11
 
#define TIME_STRING_SIZE   8
 
#define TIME_BUFFER_SIZE   9
 
#define DATETIME_STRING_SIZE   19
 
#define DATETIME_BUFFER_SIZE   20
 

Typedefs

typedef struct tm tm_t
 
typedef DateTime ucommon::datetime_t
 
typedef DateTimeString ucommon::datetimestring_t
 
typedef Date ucommon::date_t
 
typedef Time ucommon::tod_t
 

Detailed Description

Basic classes for manipulating time and date based data, particularly that may be in strings.

Definition in file datetime.h.

Macro Definition Documentation

◆ DATE_BUFFER_SIZE

#define DATE_BUFFER_SIZE   11

Definition at line 53 of file datetime.h.

◆ DATE_STRING_SIZE

#define DATE_STRING_SIZE   10

Definition at line 52 of file datetime.h.

◆ DATETIME_BUFFER_SIZE

#define DATETIME_BUFFER_SIZE   20

Definition at line 57 of file datetime.h.

◆ DATETIME_STRING_SIZE

#define DATETIME_STRING_SIZE   19

Definition at line 56 of file datetime.h.

◆ TIME_BUFFER_SIZE

#define TIME_BUFFER_SIZE   9

Definition at line 55 of file datetime.h.

◆ TIME_STRING_SIZE

#define TIME_STRING_SIZE   8

Definition at line 54 of file datetime.h.

Typedef Documentation

◆ tm_t

typedef struct tm tm_t

Convenience type for struct tm.

Definition at line 62 of file datetime.h.