| Property | Description | |||
| Returns | The type of the date time stored | |||
| Description | Gets the type of this CDateTime. | |||
| Remarks |
The type effects which methods will throw a LtInvalidStateException. e.g. You cannot call getYear() if the type is not date, dateTime, gYear or gYearMonth as no Year element is available.
enum DTType
{
dt_yearZero = 0,
dt_dateTime,
dt_date,
dt_gYearMonth,
dt_gYear,
dt_time,
dt_gDay,
dt_gMonth,
dt_gMonthDay
};
|