epoc32/include/mw/tzdefines.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     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
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    24 	{
    24 	{
    25 	ETzFixedDate			= 0,	// e.g. 11th October
    25 	ETzFixedDate			= 0,	// e.g. 11th October
    26 	ETzDayAfterDate,				// e.g. first Sunday after 8th October
    26 	ETzDayAfterDate,				// e.g. first Sunday after 8th October
    27 	ETzDayBeforeDate,				// e.g. Sunday before 7th October
    27 	ETzDayBeforeDate,				// e.g. Sunday before 7th October
    28 	ETzDayInLastWeekOfMonth			// e.g. last Sunday in October
    28 	ETzDayInLastWeekOfMonth			// e.g. last Sunday in October
    29 	};
    29 	}; //There is an internal dependency on the KValidatedLastDayRule constant which should be equal to the last TTzRuleDay enumeration.
    30 
    30 
    31 /**
       
    32 this const must match the last TTzRuleDay enumeration;
       
    33 'int' is deliberately used because this file is shared with non Symbian C++ environments 
       
    34 @internalComponent
       
    35 */
       
    36 const int KValidatedLastDayRule = ETzDayInLastWeekOfMonth;
       
    37 
    31 
    38 /** Time reference.
    32 /** Time reference.
    39 @publishedAll
    33 @publishedAll
    40 @released
    34 @released
    41 */
    35 */
    42 enum TTzTimeReference
    36 enum TTzTimeReference
    43 	{
    37 	{
    44 	ETzUtcTimeReference	= 0,
    38 	ETzUtcTimeReference	= 0,
    45 	ETzStdTimeReference,
    39 	ETzStdTimeReference,
    46 	ETzWallTimeReference	// Local time
    40 	ETzWallTimeReference	// Local time
    47 	};
    41 	}; //There is an internal dependency on the KValidatedLastTimeReference constant which should be equal to the last TTzTimeReference enumeration.
    48 
    42 
    49 /**
       
    50 this const must match the last TTzTimeReference enumeration 
       
    51 'int' is deliberately used because this file is shared with non Symbian C++ environments 
       
    52 @internalComponent
       
    53 */
       
    54 const int KValidatedLastTimeReference = ETzWallTimeReference;
       
    55 #endif
    43 #endif