diff -r 578be2adaf3e -r 307f4279f433 Adaptation/GUID-10D79C75-6AB9-4717-87EF-057F19CB8283.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Adaptation/GUID-10D79C75-6AB9-4717-87EF-057F19CB8283.dita Fri Oct 15 14:32:18 2010 +0100 @@ -0,0 +1,40 @@ + + + + + +Time Implementation GuideHow to implement the Time platform service. +

The Time +platform service specifies functions to get and set the current time.

+

To implement +the Time platform service, you implement the functions RtcData() and SetRtcData() in hardware.

+ + +

The function SetRtcData() sets the state +of the real time clock to a passed in value. To implement it you write +that value to the RTC current time register. On Symbian platform, +the value should be the number of seconds that have elapsed since +the beginning of 2000.

+

The platform now has a function to set the current +time in seconds.

+
+ +

The function RtcData() returns the current +state of the real time clock. To implement it, you read the RTC current +time register and return that time as a TUint.

+

The current state of the real time clock is a TUint containing the number of seconds since the beginning +of 2000.

+
+
+

You have +now implemented the Time platform service in hardware.

+
+Time +Client Interface Tutorial — Using the Interface +
\ No newline at end of file