API published in: S60 3rd Ed
Link against: senutils.lib
Required Capabilities
NetworkServices ReadUserData WriteUserData
#include <sendateutils.h>
Public Types |
|
enum | { KXmlDateTimeMaxLength = 25 } |
Static Public Member Functions |
|
static IMPORT_C TTime | FromXmlDateTimeL (const TDesC8 &aXmlDateTime) |
Convert dateTime (from XML schema) to Symbian TTime. |
|
static IMPORT_C void | ToXmlDateTimeUtf8L (TDes8 &aDest, const TTime &aSrc) |
Convert Symbian TTime to dateTime (from XML schema). |
|
|
Convert dateTime (from XML schema) to Symbian TTime. A panic will occur if an attempt is made to set an invalid value for any of the fields. Panics: User 3 if illegal date. Leave codes: KErrUnderflow Not enough data given or negative values KErrOverflow Too big values for e.g. month KErrGeneral Invalid date structure No check is made upon the validity of the year.
|
|
Convert Symbian TTime to dateTime (from XML schema). Leave codes: KErrOverflow target descriptor is less than KXmlDateTimeMaxLength (25 bytes)
|