Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // 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
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __TZ_CONVERTER_H__
17 #define __TZ_CONVERTER_H__
21 #include <tzdefines.h>
23 class CTzChangeNotifier;
24 class CVTzActualisedRules;
28 Converts between time expressed in UTC and local time.
36 class CTzConverter : public CBase
40 IMPORT_C static CTzConverter* NewL(RTz& aTzServer);
41 IMPORT_C ~CTzConverter();
42 IMPORT_C TInt ConvertToLocalTime(TTime& aTime);
43 IMPORT_C TInt ConvertToLocalTime(TTime& aTime, const CTzId& aZone);
44 IMPORT_C TInt ConvertToUniversalTime(TTime& aTime);
45 IMPORT_C TInt ConvertToUniversalTime(TTime& aTime, const CTzId& aZone);
46 IMPORT_C TUint16 CurrentTzId();
48 void NotifyTimeZoneChangeL(RTz::TTzChanges aChange);
49 const RTz& Server() const;
51 CTzConverter(RTz& aTzServer);