FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FdoDateTime Class Reference

#include <FdoTypes.h>

List of all members.


Detailed Description

FdoDateTime is used to store dates, times, or both. After constructing the class you determine which portion has been specified. The data members are public so they can be accessed directly. No range checking is performed. .

Definition at line 102 of file FdoTypes.h.


Public Member Functions

 FdoDateTime (FdoInt16 _year, FdoInt8 _month, FdoInt8 _day, FdoInt8 _hour, FdoInt8 _minutes, float _seconds)
 Construct a date time value.
 FdoDateTime (FdoInt8 _hour, FdoInt8 _minutes, float _seconds)
 Construct a time value.
 FdoDateTime (FdoInt16 _year, FdoInt8 _month, FdoInt8 _day)
 Construct a date value.
 FdoDateTime ()
 Construct a NULL date time value.
bool IsDate ()
 Returns true if the date is valid.
bool IsDateTime ()
 Returns true if both the date and time is valid.
bool IsTime ()
 Returns true if the time is valid.

Public Attributes

FdoInt8 day
FdoInt8 hour
FdoInt8 minute
FdoInt8 month
float seconds
FdoInt16 year

Constructor & Destructor Documentation

FdoDateTime::FdoDateTime  )  [inline]
 

Construct a NULL date time value.

Returns:
Returns nothing.

Definition at line 111 of file FdoTypes.h.

FdoDateTime::FdoDateTime FdoInt16  _year,
FdoInt8  _month,
FdoInt8  _day
[inline]
 

Construct a date value.

Parameters:
_year Input year
_month Input month
_day Input day of month
Returns:
Returns nothing.

Definition at line 130 of file FdoTypes.h.

FdoDateTime::FdoDateTime FdoInt8  _hour,
FdoInt8  _minutes,
float  _seconds
[inline]
 

Construct a time value.

Parameters:
_hour Input hour
_minutes Input minutes
_seconds Input seconds
Returns:
Returns nothing.

Definition at line 149 of file FdoTypes.h.

FdoDateTime::FdoDateTime FdoInt16  _year,
FdoInt8  _month,
FdoInt8  _day,
FdoInt8  _hour,
FdoInt8  _minutes,
float  _seconds
[inline]
 

Construct a date time value.

Parameters:
_year Input year
_month Input month
_day Input day of month
_hour Input hour
_minutes Input minutes
_seconds Input seconds
Returns:
Returns nothing.

Definition at line 174 of file FdoTypes.h.


Member Function Documentation

bool FdoDateTime::IsDate  )  [inline]
 

Returns true if the date is valid.

Returns:
Returns true if date has been defined.

Definition at line 186 of file FdoTypes.h.

bool FdoDateTime::IsDateTime  )  [inline]
 

Returns true if both the date and time is valid.

Returns:
Returns true if both the date and time has been defined.

Definition at line 202 of file FdoTypes.h.

bool FdoDateTime::IsTime  )  [inline]
 

Returns true if the time is valid.

Returns:
Returns true if time has been defined.

Definition at line 194 of file FdoTypes.h.


Member Data Documentation

FdoInt8 FdoDateTime::day
 

Definition at line 206 of file FdoTypes.h.

FdoInt8 FdoDateTime::hour
 

Definition at line 207 of file FdoTypes.h.

FdoInt8 FdoDateTime::minute
 

Definition at line 208 of file FdoTypes.h.

FdoInt8 FdoDateTime::month
 

Definition at line 205 of file FdoTypes.h.

float FdoDateTime::seconds
 

Definition at line 209 of file FdoTypes.h.

FdoInt16 FdoDateTime::year
 

Definition at line 204 of file FdoTypes.h.


The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.