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

Namespaces

namespace  ucommon

Data Structures

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

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 ucommon::date_t
 Convenience type for using Date object.
typedef DateTime ucommon::datetime_t
 Convenience type for using DateTime object.
typedef DateTimeString ucommon::datetimestring_t
 Convenience type for using DateTimeString object.
typedef tm tm_t
 Convenience type for struct tm.
typedef Time ucommon::tod_t
 Convenience type for using Time object.

Functions

long ucommon::tzoffset (struct timezone *tz=((void *) 0))


Detailed Description

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

Definition in file datetime.h.


Generated on 14 Aug 2013 for UCommon by  doxygen 1.4.7