Location:
calconv.h
Link against: ccon.lib
TGregorianCalendar
Supported from 6.1
Stores a date represented in the Gregorian calendar.
The date can be converted to another TCalendar
-derived calendar using operator=()
, defined in the base class, TCalendar
.
|
Defined in TGregorianCalendar
:
DateTimeToGregorian()
, GetDate()
, GregorianToDateTime
, SetDate()
, TGregorianCalendar()
Inherited from TCalendar
:
operator=()
TGregorianCalendar();
Constructor. This constructs and initialises the Gregorian calendar, but the date is uninitialised.
TGregorianCalendar(TReal);
Constructor. This constructs and initialises the Gregorian calendar. The date is initialised to the Julian day value specified.
|
void GetDate(TArithmeticalDate&);
Gets the date.
|
TInt SetDate(TArithmeticalDate&);
Sets the date. First checks that the date specified is of the correct format for the Gregorian calendar.
|
|
void GregorianToDateTime(TDateTime& aDT);
Gets the date stored in this object as a TDateTime
.
|
void DateTimeToGregorian(TDateTime& aDT);
Assigns a date represented as a TDateTime
to this object.
|