FDO API Reference Feature Data Objects

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.
Parameters:
year Year in the range of 1 to 9999
month Month in the range of 1 to 12 inclusive (January = 1)
day Day of the month in the range of 1 to 31 inclusive
hour Hour since midnight in the range of 0 to 23
minute Minutes after hour in the range of 0 to 59
seconds Seconds after minute in the range of 0 to 59.9999999
.

Definition at line 100 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

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