Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

d_Time Class Reference

#include <d_Time.h>

List of all members.

Public Types

enum  Time_Zone {
  GMT = 0, GMT12 = 12, GMT_12 = -12, GMT1 = 1,
  GMT_1 = -1, GMT2 = 2, GMT_2 = -2, GMT3 = 3,
  GMT_3 = -3, GMT4 = 4, GMT_4 = -4, GMT5 = 5,
  GMT_5 = -5, GMT6 = 6, GMT_6 = -6, GMT7 = 7,
  GMT_7 = -7, GMT8 = 8, GMT_8 = -8, GMT9 = 9,
  GMT_9 = -9, GMT10 = 10, GMT_10 = -10, GMT11 = 11,
  GMT_11 = -11, USeastern = -5, UScentral = -6, USmountain = -7,
  USpacific = -8
}

Public Methods

 d_Time ()
 d_Time (unsigned short hour, unsigned short minute, float sec)
 d_Time (unsigned short hour, unsigned short minute, float sec, short tzhour, short tzminute)
 d_Time (const d_Time &)
 d_Time (const d_Timestamp &)
 ~d_Time ()
d_Time & operator= (const d_Time &)
d_Time & operator= (const d_Timestamp &)
unsigned short hour () const
unsigned short minute () const
float second () const
short tz_hour () const
short tz_minute () const
d_Time & operator+= (const d_Interval &)
d_Time & operator-= (const d_Interval &)

Static Public Methods

void set_default_Time_Zone (Time_Zone)
void set_default_Time_Zone_to_local ()
d_Time current ()
int is_valid_Time (unsigned short hour, unsigned short minute, float sec)

Friends

std::ostream & operator<< (std::ostream &, const d_Time &)


Detailed Description

SEE ALSO: d_Date, d_Timestamp


Member Enumeration Documentation

enum d_Time::Time_Zone
 

Enumeration values:
GMT 
GMT12 
GMT_12 
GMT1 
GMT_1 
GMT2 
GMT_2 
GMT3 
GMT_3 
GMT4 
GMT_4 
GMT5 
GMT_5 
GMT6 
GMT_6 
GMT7 
GMT_7 
GMT8 
GMT_8 
GMT9 
GMT_9 
GMT10 
GMT_10 
GMT11 
GMT_11 
USeastern 
UScentral 
USmountain 
USpacific 


Constructor & Destructor Documentation

d_Time::d_Time  
 

d_Time::d_Time unsigned short    hour,
unsigned short    minute,
float    sec
 

d_Time::d_Time unsigned short    hour,
unsigned short    minute,
float    sec,
short    tzhour,
short    tzminute
 

d_Time::d_Time const d_Time &   
 

d_Time::d_Time const d_Timestamp  
 

d_Time::~d_Time  
 


Member Function Documentation

d_Time d_Time::current   [static]
 

unsigned short d_Time::hour   const
 

int d_Time::is_valid_Time unsigned short    hour,
unsigned short    minute,
float    sec
[static]
 

unsigned short d_Time::minute   const
 

d_Time& d_Time::operator+= const d_Interval  
 

d_Time& d_Time::operator-= const d_Interval  
 

d_Time& d_Time::operator= const d_Timestamp  
 

d_Time & d_Time::operator= const d_Time &   
 

float d_Time::second   const
 

void d_Time::set_default_Time_Zone Time_Zone    [static]
 

void d_Time::set_default_Time_Zone_to_local   [static]
 

short d_Time::tz_hour   const
 

short d_Time::tz_minute   const
 


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &   ,
const d_Time &   
[friend]
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 29 17:12:15 2002 for Orient ODBMS Just Edition v. 2.0e by doxygen1.3-rc1