TOMASuplUtcTime Class Reference

class TOMASuplUtcTime
TOMASuplUtcTime holds values for
  • Time Stamp, which is the timp stamp of the position. Time Stamp provides the Greenwich Mean Time at which position was calculated

  • Zone and

  • Zone Code which provides offset from UTC

Since
Series 60 3.1u
Public Member Functions
TOMASuplUtcTime()
IMPORT_C voidGetUtcTime(TDateTime &, TInt &, TInt &)
IMPORT_C TIntSetUtcTime(const TDateTime &, TInt, TInt)
Private Attributes
TDateTime iTimeStamp
TInt iZone
TInt iZoneCode

Constructor & Destructor Documentation

TOMASuplUtcTime()

IMPORT_CTOMASuplUtcTime()

Member Functions Documentation

GetUtcTime(TDateTime &, TInt &, TInt &)

IMPORT_C voidGetUtcTime(TDateTime &aTimeStamp,
TInt &aZoneCode,
TInt &aZone
)const

GetUtcTime retrieves values for different UTC parameters

Parameters

TDateTime & aTimeStampA reference Parameter of type TDateTime
TInt & aZoneCodeA refernce parameter that holds Zone Code
TInt & aZoneA reference parameter that holds zone, which is the offset with respect to UTC

SetUtcTime(const TDateTime &, TInt, TInt)

IMPORT_C TIntSetUtcTime(const TDateTime &aTimeStamp,
TIntaZoneCode,
TIntaZone
)

SetUtcTime sets values for different UTC parameters

Parameters

const TDateTime & aTimeStampParameter of type TDateTime
TInt aZoneCodeParameter that takes Zone Code. Valid values for ZoneCode are0 and1
TInt aZoneParameter that takes Zone. Zone is the offset with respect to UTC. Any valid Integer is accepted for this parameter

Member Data Documentation

TDateTime iTimeStamp

TDateTime iTimeStamp[private]

TInt iZone

TInt iZone[private]

TInt iZoneCode

TInt iZoneCode[private]