Data Structures | Namespaces | Defines | Typedefs

ucommon/datetime.h File Reference

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

#include <ucommon/platform.h>
#include <ucommon/numbers.h>
#include <ucommon/string.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.

Data Structures

class  ucc::Date
 The Date class uses a julian date representation of the current year, month, and day. More...
class  ucc::DateNumber
 A number class that manipulates a string buffer that is also a date. More...
class  ucc::DateTime
 The Datetime class uses a julian date representation of the current year, month, and day and a integer representation of the current time. More...
class  ucc::DateTimeString
 A DateTime string class. More...
class  ucc::Time
 The Time class uses a integer representation of the current time. More...

Namespaces

namespace  ucc
 

Common namespace for all ucommon objects.


Defines

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

Typedefs

typedef Date ucc::date_t
 Convenience type for using Date object.
typedef DateTime ucc::datetime_t
 Convenience type for using DateTime object.
typedef DateTimeString ucc::datetimestring_t
 Convenience type for using DateTimeString object.
typedef struct tm tm_t
 Convenience type for struct tm.

Detailed Description

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

Definition in file datetime.h.