devicediagnostics/devdiagapp/inc/devdiagutil.h
changeset 18 7d11f9a6646f
parent 4 75a71fdb4c92
child 21 c707676bf59f
--- a/devicediagnostics/devdiagapp/inc/devdiagutil.h	Tue Feb 02 00:03:17 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-/*
-* Copyright (c) 2007-2007 Nokia Corporation and/or its subsidiary(-ies). 
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  Utility classes.
-*
-*/
-
-
-#ifndef DEVDIAGUTIL_H
-#define DEVDIAGUTIL_H
-
-// INCLUDES
-#include <e32base.h>
-
-// CLASS DECLARATION
-
-/**
-* TUtil
-* 
-* This class contains general utility functions. 
-*/
-NONSHARABLE_CLASS (TDevDiagUtil)
-	{
-
-public:
-         
-    /**
-    * Get data as text.
-    * @param aText Contains the transformed TTime in text format.
-    * @param aDateTime Time to be converted.   
-    **/        
-    static void GetDateTextL( TDes& aText, TTime aDateTime );
-        
-    /**
-    * Get time as text. 
-    * @param aText Contains the transformed TTime in text format.
-    * @param aDateTime Time to be converted.    
-    */        
-    static void GetTimeTextL( TDes& aText, TTime aDateTime );
-        
-    /**
-    * Get data and time as text.
-    * @param aText Contains the transformed TTime in text format.
-    * @param aDateTime Time to be converted.    
-    */        
-	static void GetDateTimeTextL( TDes& aText, TTime aDateTime );
-        
-    /**
-    * Check if sync has happened today.
-    * @param aTime  Time to be checked.
-    * @return Boolean ETrue if time is today, otherwise EFalse.
-    */    
-    static TBool IsToday( TTime aTime );
-        
-private:
-       
-    /**
-    * Convert time to hometime.
-    * @param aUniversalTime Time to be transformed.
-    * @return TTIme Hometime.
-    */            
-    static TTime ConvertUniversalToHomeTime( const TTime& aUniversalTime );
-
-	};
-
-#endif  // DEVDIAGUTIL_H
-
-// End of File