![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section Contents
TDateTime |
Date and time fields |
etelbgsm.h
gsmbas.lib
This class adds a GMT time-zone field to the TDateTime class.
This class is not intended for user derivation
TGsmDateTime();
The default C++ constructor allows an uninitialized TGsmDateTime to be constructed. It is necessary because there is also a non-default constructor in this class.
TGsmDateTime(TInt aTimeZone,TInt aYear,TMonth aMonth,TInt aDay,TInt aHour,TInt aMinute, TInt aSecond,TInt aMicroSecond);
The C++ constructor is used to construct the TGsmDateTime object with the time zone, and the seven fields which comprise a date and time.
TInt aTimeZone |
The time zone. The difference between local time and GMT in ¼ hour units the range is -47to +48. No check is made for validity. |
TInt aYear |
The year. No check is made for validity. |
TMonth aMonth |
The month. Range is EJanuary to Edecember. |
TInt aDay |
The day. Range is zero to number of days in month minus one. |
TInt aHour |
The hour. Range is 0 to 23. |
TInt aMinute |
The minute. Range is 0 to 59. |
TInt aSecond |
The second. Range is 0 to 59. |
TInt aMicroSecond |
The microsecond. Range is 0 to 999999. |
void SetTimeZone(const TInt aTimeZone);
This function sets the time zone to the given value
const TInt aTimeZone |
The new time zone. |
TInt TimeZone() const;
This function returns the time zone.
TInt |
On return, contains the currently set time zone. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |