time_date Class Reference

#include <ocTypes.h>

Inheritance diagram for time_date:

Inheritance graph
[legend]

List of all members.

Public Member Functions

time_datenow (void)
 time_date ()
 time_date (const time_date &in)
 time_date (const tm &in)
time_dateoperator= (const time_date in)
time_dateoperator= (const tm &in)
virtual ~time_date ()
int addSeconds (int seconds)
int addMinutes (int minutes)
int addHours (int hours)
int addDays (int days)
int addMonths (int months)
int addYears (int years)
time_t normalize (void)
string format (const char *format, size_t max=256) const
time_dateparse (const char *strTime, const char *strFormat)
int seconds (void)
int minutes (void)
int hour (void)
int clock_hour (void)
char clock_period (void)
int day_of_month (void)
int month (void)
int year (void)
int day_of_week (void)
int day_of_year (void)
int is_DST (void)
void seconds (int in)
void minutes (int in)
void hour (int in)
void day_of_month (int in)
void month (int in)
void year (int in)
void is_DST (int in)
bool is_good_parse (void)
time_datenow (void)
 time_date ()
 time_date (const time_date &in)
 time_date (const tm &in)
time_dateoperator= (const time_date in)
time_dateoperator= (const tm &in)
virtual ~time_date ()
int addSeconds (int seconds)
int addMinutes (int minutes)
int addHours (int hours)
int addDays (int days)
int addMonths (int months)
int addYears (int years)
time_t normalize (void)
string format (const char *format, size_t max=256) const
time_dateparse (const char *strTime, const char *strFormat)
int seconds (void)
int minutes (void)
int hour (void)
int clock_hour (void)
char clock_period (void)
int day_of_month (void)
int month (void)
int year (void)
int day_of_week (void)
int day_of_year (void)
int is_DST (void)
void seconds (int in)
void minutes (int in)
void hour (int in)
void day_of_month (int in)
void month (int in)
void year (int in)
void is_DST (int in)
bool is_good_parse (void)

Private Attributes

bool good_parse


Detailed Description

Definition at line 27 of file ocTypes.h.


Constructor & Destructor Documentation

time_date::time_date (  )  [inline]

Definition at line 38 of file ocTypes.h.

References now().

time_date::time_date ( const time_date in  )  [inline]

Definition at line 42 of file ocTypes.h.

time_date::time_date ( const tm &  in  )  [inline]

Definition at line 45 of file ocTypes.h.

virtual time_date::~time_date (  )  [inline, virtual]

Definition at line 59 of file ocTypes.h.

time_date::time_date (  )  [inline]

Definition at line 38 of file ocTypes.h.

References now().

time_date::time_date ( const time_date in  )  [inline]

Definition at line 42 of file ocTypes.h.

time_date::time_date ( const tm &  in  )  [inline]

Definition at line 45 of file ocTypes.h.

virtual time_date::~time_date (  )  [inline, virtual]

Definition at line 59 of file ocTypes.h.


Member Function Documentation

time_date& time_date::now ( void   )  [inline]

time_date& time_date::operator= ( const time_date  in  )  [inline]

Definition at line 48 of file ocTypes.h.

References good_parse.

time_date& time_date::operator= ( const tm &  in  )  [inline]

Reimplemented in oc_date, oc_time, oc_date, and oc_time.

Definition at line 54 of file ocTypes.h.

int time_date::addSeconds ( int  seconds  )  [inline]

Definition at line 61 of file ocTypes.h.

int time_date::addMinutes ( int  minutes  )  [inline]

Definition at line 65 of file ocTypes.h.

int time_date::addHours ( int  hours  )  [inline]

Definition at line 69 of file ocTypes.h.

int time_date::addDays ( int  days  )  [inline]

Definition at line 73 of file ocTypes.h.

int time_date::addMonths ( int  months  )  [inline]

Definition at line 77 of file ocTypes.h.

Referenced by Ordered_Obj::uvalidate().

int time_date::addYears ( int  years  )  [inline]

Definition at line 81 of file ocTypes.h.

time_t time_date::normalize ( void   )  [inline]

Definition at line 85 of file ocTypes.h.

Referenced by Site_History_Obj::parseItem().

string time_date::format ( const char *  format,
size_t  max = 256 
) const [inline]

time_date& time_date::parse ( const char *  strTime,
const char *  strFormat 
) [inline]

int time_date::seconds ( void   )  [inline]

Definition at line 117 of file ocTypes.h.

int time_date::minutes ( void   )  [inline]

Definition at line 118 of file ocTypes.h.

int time_date::hour ( void   )  [inline]

Definition at line 119 of file ocTypes.h.

int time_date::clock_hour ( void   )  [inline]

Definition at line 120 of file ocTypes.h.

char time_date::clock_period ( void   )  [inline]

Definition at line 121 of file ocTypes.h.

int time_date::day_of_month ( void   )  [inline]

Definition at line 122 of file ocTypes.h.

Referenced by oc_time::parse().

int time_date::month ( void   )  [inline]

Definition at line 123 of file ocTypes.h.

Referenced by oc_time::parse().

int time_date::year ( void   )  [inline]

Definition at line 124 of file ocTypes.h.

Referenced by summer::add(), and oc_time::parse().

int time_date::day_of_week ( void   )  [inline]

Definition at line 125 of file ocTypes.h.

int time_date::day_of_year ( void   )  [inline]

Definition at line 126 of file ocTypes.h.

int time_date::is_DST ( void   )  [inline]

Definition at line 127 of file ocTypes.h.

void time_date::seconds ( int  in  )  [inline]

Definition at line 129 of file ocTypes.h.

void time_date::minutes ( int  in  )  [inline]

Definition at line 130 of file ocTypes.h.

void time_date::hour ( int  in  )  [inline]

Definition at line 131 of file ocTypes.h.

void time_date::day_of_month ( int  in  )  [inline]

Definition at line 132 of file ocTypes.h.

void time_date::month ( int  in  )  [inline]

Definition at line 133 of file ocTypes.h.

void time_date::year ( int  in  )  [inline]

Definition at line 134 of file ocTypes.h.

void time_date::is_DST ( int  in  )  [inline]

Definition at line 135 of file ocTypes.h.

bool time_date::is_good_parse ( void   )  [inline]

Definition at line 137 of file ocTypes.h.

References good_parse.

Referenced by formatDate::operator()().

time_date& time_date::now ( void   )  [inline]

Definition at line 31 of file ocTypes.h.

time_date& time_date::operator= ( const time_date  in  )  [inline]

Definition at line 48 of file ocTypes.h.

References good_parse.

time_date& time_date::operator= ( const tm &  in  )  [inline]

Reimplemented in oc_date, oc_time, oc_date, and oc_time.

Definition at line 54 of file ocTypes.h.

int time_date::addSeconds ( int  seconds  )  [inline]

Definition at line 61 of file ocTypes.h.

int time_date::addMinutes ( int  minutes  )  [inline]

Definition at line 65 of file ocTypes.h.

int time_date::addHours ( int  hours  )  [inline]

Definition at line 69 of file ocTypes.h.

int time_date::addDays ( int  days  )  [inline]

Definition at line 73 of file ocTypes.h.

int time_date::addMonths ( int  months  )  [inline]

Definition at line 77 of file ocTypes.h.

int time_date::addYears ( int  years  )  [inline]

Definition at line 81 of file ocTypes.h.

time_t time_date::normalize ( void   )  [inline]

Definition at line 85 of file ocTypes.h.

string time_date::format ( const char *  format,
size_t  max = 256 
) const [inline]

Definition at line 101 of file ocTypes.h.

time_date& time_date::parse ( const char *  strTime,
const char *  strFormat 
) [inline]

Definition at line 109 of file ocTypes.h.

References good_parse.

int time_date::seconds ( void   )  [inline]

Definition at line 117 of file ocTypes.h.

int time_date::minutes ( void   )  [inline]

Definition at line 118 of file ocTypes.h.

int time_date::hour ( void   )  [inline]

Definition at line 119 of file ocTypes.h.

int time_date::clock_hour ( void   )  [inline]

Definition at line 120 of file ocTypes.h.

char time_date::clock_period ( void   )  [inline]

Definition at line 121 of file ocTypes.h.

int time_date::day_of_month ( void   )  [inline]

Definition at line 122 of file ocTypes.h.

int time_date::month ( void   )  [inline]

Definition at line 123 of file ocTypes.h.

int time_date::year ( void   )  [inline]

Definition at line 124 of file ocTypes.h.

int time_date::day_of_week ( void   )  [inline]

Definition at line 125 of file ocTypes.h.

int time_date::day_of_year ( void   )  [inline]

Definition at line 126 of file ocTypes.h.

int time_date::is_DST ( void   )  [inline]

Definition at line 127 of file ocTypes.h.

void time_date::seconds ( int  in  )  [inline]

Definition at line 129 of file ocTypes.h.

void time_date::minutes ( int  in  )  [inline]

Definition at line 130 of file ocTypes.h.

void time_date::hour ( int  in  )  [inline]

Definition at line 131 of file ocTypes.h.

void time_date::day_of_month ( int  in  )  [inline]

Definition at line 132 of file ocTypes.h.

void time_date::month ( int  in  )  [inline]

Definition at line 133 of file ocTypes.h.

void time_date::year ( int  in  )  [inline]

Definition at line 134 of file ocTypes.h.

void time_date::is_DST ( int  in  )  [inline]

Definition at line 135 of file ocTypes.h.

bool time_date::is_good_parse ( void   )  [inline]

Definition at line 137 of file ocTypes.h.

References good_parse.


Member Data Documentation

bool time_date::good_parse [private]

Definition at line 29 of file ocTypes.h.

Referenced by is_good_parse(), operator=(), and parse().


The documentation for this class was generated from the following files:

Generated on Sat Aug 15 12:48:58 2009 for w3systemsDevelopment by  doxygen 1.5.5