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.


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




#define DATE_STRING_SIZE   10
#define DATE_BUFFER_SIZE   11
#define TIME_STRING_SIZE   8
#define TIME_BUFFER_SIZE   9


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


#define DATE_BUFFER_SIZE   11

Definition at line 53 of file datetime.h.


#define DATE_STRING_SIZE   10

Definition at line 52 of file datetime.h.



Definition at line 57 of file datetime.h.



Definition at line 56 of file datetime.h.


#define TIME_BUFFER_SIZE   9

Definition at line 55 of file datetime.h.


#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.