tzservices/tzserver/Include/tzdefines.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     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 "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __TZDEFINES_H__
       
    17 #define __TZDEFINES_H__
       
    18 
       
    19 /** Time Zone Rule Day Rules.
       
    20 @publishedAll
       
    21 @released
       
    22 */
       
    23 enum TTzRuleDay
       
    24 	{
       
    25 	ETzFixedDate			= 0,	// e.g. 11th October
       
    26 	ETzDayAfterDate,				// e.g. first Sunday after 8th October
       
    27 	ETzDayBeforeDate,				// e.g. Sunday before 7th October
       
    28 	ETzDayInLastWeekOfMonth			// e.g. last Sunday in October
       
    29 	}; //There is an internal dependency on the KValidatedLastDayRule constant which should be equal to the last TTzRuleDay enumeration.
       
    30 
       
    31 
       
    32 /** Time reference.
       
    33 @publishedAll
       
    34 @released
       
    35 */
       
    36 enum TTzTimeReference
       
    37 	{
       
    38 	ETzUtcTimeReference	= 0,
       
    39 	ETzStdTimeReference,
       
    40 	ETzWallTimeReference	// Local time
       
    41 	}; //There is an internal dependency on the KValidatedLastTimeReference constant which should be equal to the last TTzTimeReference enumeration.
       
    42 
       
    43 #endif