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

Constructor & Destructor Documentation

TOMASuplUtcTime()

IMPORT_C TOMASuplUtcTime ( )

Member Functions Documentation

GetUtcTime(TDateTime &, TInt &, TInt &)

IMPORT_C void GetUtcTime ( TDateTime & aTimeStamp,
TInt & aZoneCode,
TInt & aZone
) const

GetUtcTime retrieves values for different UTC parameters

Parameters

TDateTime & aTimeStamp A reference Parameter of type TDateTime
TInt & aZoneCode A refernce parameter that holds Zone Code
TInt & aZone A reference parameter that holds zone, which is the offset with respect to UTC

SetUtcTime(const TDateTime &, TInt, TInt)

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

SetUtcTime sets values for different UTC parameters

Parameters

const TDateTime & aTimeStamp Parameter of type TDateTime
TInt aZoneCode Parameter that takes Zone Code. Valid values for ZoneCode are0 and1
TInt aZone Parameter 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]