clock2/clockengines/clocktimezoneresolver/src/clockmcctzmapper.cpp
branchRCL_3
changeset 20 21239b3bcd78
parent 0 f979ecb2b13e
child 67 1539a383d7b6
equal deleted inserted replaced
19:1984aceb8774 20:21239b3bcd78
   141 // rest of the details are commented in the header
   141 // rest of the details are commented in the header
   142 // ---------------------------------------------------------
   142 // ---------------------------------------------------------
   143 //
   143 //
   144 TInt CClockMCCTzIdMapper::UTCOffSetWithoutDSTChangesL( RTz& aTz, const CTzId& aTzId ) const
   144 TInt CClockMCCTzIdMapper::UTCOffSetWithoutDSTChangesL( RTz& aTz, const CTzId& aTzId ) const
   145 	{
   145 	{
   146 	__PRINTS( "CClockMCCTzIdMapper::UTCOffSetWithoutDSTChangesL - Entry" );
       
   147 	
       
   148 	TInt timeOffset( KErrNotFound );
   146 	TInt timeOffset( KErrNotFound );
   149 
   147 
   150 	TTime universalTime;
   148 	TTime universalTime;
   151 	universalTime.UniversalTime();
   149 	universalTime.UniversalTime();
   152 
   150 
   156 	    {
   154 	    {
   157 	    timeOffset = currentRules->InitialStdTimeOffset();
   155 	    timeOffset = currentRules->InitialStdTimeOffset();
   158 	    delete currentRules;
   156 	    delete currentRules;
   159 	    }
   157 	    }
   160 	
   158 	
   161 	__PRINTS( "CClockMCCTzIdMapper::UTCOffSetWithoutDSTChangesL - Exit" );
       
   162 
       
   163 	return timeOffset;
   159 	return timeOffset;
   164 	}
   160 	}
   165 
   161 
   166 // ---------------------------------------------------------
   162 // ---------------------------------------------------------
   167 // CClockMCCTzIdMapper::TzIdFromMccL
   163 // CClockMCCTzIdMapper::TzIdFromMccL