sendateutils.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : SenDateUtils.h
00004 *  Part of     : Web Services Framework / Utils
00005 *  Interface   : 
00006 *  Description : This utility class provides static methods for conversions
00007 *                                between Symbian class types and XSD time-date type
00008 *  Version     : 
00009 *
00010 *  Copyright © 2002-2005 Nokia. All rights reserved.
00011 *  This material, including documentation and any related 
00012 *  computer programs, is protected by copyright controlled by 
00013 *  Nokia. All rights are reserved. Copying, including 
00014 *  reproducing, storing, adapting or translating, any 
00015 *  or all of this material requires the prior written consent of 
00016 *  Nokia. This material also contains confidential 
00017 *  information which may not be disclosed to others without the 
00018 *  prior written consent of Nokia.
00019 * ==============================================================================
00020 */
00021 
00022 #ifndef SEN_DATE_UTILS_H
00023 #define SEN_DATE_UTILS_H
00024 
00025 //  INCLUDES
00026 #include <e32base.h>
00027 
00028 // CLASS DECLARATION
00029 
00036 class SenDateUtils
00037     {
00038     public: 
00039             
00040             enum { KXmlDateTimeMaxLength = 25 };
00041 
00042                 // New functions
00043                 
00058             IMPORT_C static TTime FromXmlDateTimeL(const TDesC8& aXmlDateTime);
00059 
00069                 IMPORT_C static void ToXmlDateTimeUtf8L(TDes8& aDest, 
00070                                                                                                 const TTime& aSrc);
00071 
00072     private:
00073         
00077         SenDateUtils() { }
00078 
00082         SenDateUtils( const SenDateUtils& );
00083 
00087         SenDateUtils& operator=( const SenDateUtils& );
00088     };
00089 
00090 // SEN_DATE_UTILS_H
00091 #endif
00092 
00093 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top