Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

HBCI::Time Class Reference

Represents the time of day in HBCI. More...

#include <date.h>

List of all members.

Public Methods

 Time (int hour, int min, int sec)
 Time (const string &hbciTimeFormat)
 Time (const struct tm *tm)
 Time ()
string toString () const
int hour () const
int minute () const
int second () const
int compare (const Time &t) const
tm to_tm () const


Detailed Description

Represents the time of day in HBCI.

Author:
fabian kaiser


Constructor & Destructor Documentation

HBCI::Time::Time int    hour,
int    min,
int    sec
 

HBCI::Time::Time const string &    hbciTimeFormat
 

HBCI::Time::Time const struct tm *    tm
 

HBCI::Time::Time  
 


Member Function Documentation

int HBCI::Time::compare const Time &    t const
 

Compares the time of this object with the one given as argument.

Returns :
0 if both times are equal; -1 if this object's time occurs before the argument's time; 1 if this object's time occurs after the argument's time.
Author:
Christian Stimming <stimming@tuhh.de>

int HBCI::Time::hour   const [inline]
 

Returns the hour, in the range 0..23.

int HBCI::Time::minute   const [inline]
 

Returns the minutes, in the range 0..59.

int HBCI::Time::second   const [inline]
 

Returns the seconds, in the range 0..59.

struct tm HBCI::Time::to_tm   const
 

Returns this time as a struct tm (see ctime(3)), but only the fields tm_hour, tm_min, and tm_sec are used. All other fields are still zero.

string HBCI::Time::toString   const
 

Returns a hbci-conform string representation of given time (HHMMSS)


The documentation for this class was generated from the following file:
Generated on Mon Jun 23 13:41:18 2003 for openhbci by doxygen1.2.17