epoc32/include/caltime.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/caltime.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,68 +0,0 @@
     1.4 -// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -#ifndef __CALTIME_H__
    1.20 -#define __CALTIME_H__
    1.21 -
    1.22 -#include <e32base.h>
    1.23 -
    1.24 -/** Represents a date/time, as used in the Calendar API.
    1.25 -
    1.26 -This stores a single TTime, which may be set in UTC or local or floating local 
    1.27 -time, and can be retrieved in either UTC or system local time.
    1.28 -
    1.29 -There are references to null time throughout the Interim API - this means Time::NullTTime().
    1.30 -
    1.31 -@publishedAll
    1.32 -@released
    1.33 -*/
    1.34 -NONSHARABLE_CLASS(TCalTime)
    1.35 -	{
    1.36 -public:
    1.37 -
    1.38 -	/** The time mode for a calendar time
    1.39 -	@publishedAll
    1.40 -	@released
    1.41 -	*/
    1.42 -	enum TTimeMode
    1.43 -		{
    1.44 -		/** Floating time. */
    1.45 -		EFloating,
    1.46 -		/** Fixed time in UTC format. */
    1.47 -		EFixedUtc,
    1.48 -		/** Fixed time in local time with time zone reference format. */
    1.49 -		EFixedTimeZone
    1.50 -		};
    1.51 -
    1.52 -public:
    1.53 -	IMPORT_C TCalTime();
    1.54 -	
    1.55 -	IMPORT_C void SetTimeLocalFloatingL(const TTime& aLocalTime);
    1.56 -	IMPORT_C void SetTimeUtcL(const TTime& aUtcTime);
    1.57 -	IMPORT_C void SetTimeLocalL(const TTime& aLocalTime);
    1.58 -	IMPORT_C TTimeMode TimeMode() const; 
    1.59 -	IMPORT_C TTime TimeUtcL() const;
    1.60 -	IMPORT_C TTime TimeLocalL() const;
    1.61 -	
    1.62 -	IMPORT_C static TTime MaxTime();
    1.63 -	IMPORT_C static TTime MinTime();
    1.64 -private:
    1.65 -	TTime	iTime;
    1.66 -	TUint8	iTimeMode;  
    1.67 -	TInt8	iReserved1;
    1.68 -	TInt16 	iReserved2;
    1.69 -	};
    1.70 -	
    1.71 -#endif // __CALTIME_H__