Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_GregorianUnits Struct Reference

Structure used to represent a time interval in Gregorian units. More...

List of all members.

Public Member Functions

 CP_GregorianUnits ()
 CP_GregorianUnits (const CP_GregorianUnits &src)
 CP_GregorianUnits (SInt32 inYears, SInt32 inMonths, SInt32 inDays, SInt32 inHours=0, SInt32 inMinutes=0, double inSeconds=0.)
 CP_GregorianUnits (const CFGregorianUnits &inUnits)
CFGregorianUnits GetCFGregorianUnits () const

Static Public Member Functions

static CP_GregorianUnits Years (SInt32 inYears)
static CP_GregorianUnits Months (SInt32 inMonths)
static CP_GregorianUnits Days (SInt32 inDays)
static CP_GregorianUnits Hours (SInt32 inHours)
static CP_GregorianUnits Minutes (SInt32 inMinutes)
static CP_GregorianUnits Seconds (double inSeconds)

Public Attributes

SInt32 years
SInt32 months
SInt32 days
SInt32 hours
SInt32 minutes
double seconds


Detailed Description

Structure used to represent a time interval in Gregorian units. Negative values are o.k. and represent negative time intervals (i.e. going backward in time).


Constructor & Destructor Documentation

CP_GregorianUnits::CP_GregorianUnits  ) 
 

CP_GregorianUnits::CP_GregorianUnits const CP_GregorianUnits src  ) 
 

CP_GregorianUnits::CP_GregorianUnits SInt32  inYears,
SInt32  inMonths,
SInt32  inDays,
SInt32  inHours = 0,
SInt32  inMinutes = 0,
double  inSeconds = 0.
 

CP_GregorianUnits::CP_GregorianUnits const CFGregorianUnits &  inUnits  ) 
 


Member Function Documentation

CP_GregorianUnits CP_GregorianUnits::Years SInt32  inYears  )  [static]
 

CP_GregorianUnits CP_GregorianUnits::Months SInt32  inMonths  )  [static]
 

CP_GregorianUnits CP_GregorianUnits::Days SInt32  inDays  )  [static]
 

CP_GregorianUnits CP_GregorianUnits::Hours SInt32  inHours  )  [static]
 

CP_GregorianUnits CP_GregorianUnits::Minutes SInt32  inMinutes  )  [static]
 

CP_GregorianUnits CP_GregorianUnits::Seconds double  inSeconds  )  [static]
 

CFGregorianUnits CP_GregorianUnits::GetCFGregorianUnits  )  const
 


Member Data Documentation

SInt32 CP_GregorianUnits::years
 

SInt32 CP_GregorianUnits::months
 

SInt32 CP_GregorianUnits::days
 

SInt32 CP_GregorianUnits::hours
 

SInt32 CP_GregorianUnits::minutes
 

double CP_GregorianUnits::seconds
 


The documentation for this struct was generated from the following file:
Generated on Sat Sep 17 20:01:44 2005 for CPLAT by  doxygen 1.4.0