FdoDateTime Class Reference
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.
More...
#include <FdoTypes.h>
List of all members.
|
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 |
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.
-
Year is in the range of 1 to 9999
-
Month is in the range of 1 to 12 inclusive (January = 1)
-
Day of the month is in the range of 1 to 31 inclusive
-
Hour is since midnight in the range of 0 to 23
-
Minutes are after hour in the range of 0 to 59
-
Seconds are after minute in the range of 0 to 59.9999999
Definition at line 104 of file FdoTypes.h.
The documentation for this class was generated from the following file: