equal
deleted
inserted
replaced
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2002-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: |
14 // |
14 // |
15 |
15 |
16 #ifndef __CALENDARCONVERTER_H__ |
16 #ifndef __CALENDARCONVERTER_H__ |
17 #define __CALENDARCONVERTER_H__ |
17 #define __CALENDARCONVERTER_H__ |
18 |
18 |
|
19 // System includes |
19 #include <e32std.h> |
20 #include <e32std.h> |
20 #include <e32base.h> |
21 #include <e32base.h> |
21 |
22 |
22 class TChineseDate |
23 class TChineseDate |
23 /** Chinese date. |
24 /** Chinese date. |
50 @publishedAll |
51 @publishedAll |
51 @released */ |
52 @released */ |
52 { |
53 { |
53 public: |
54 public: |
54 IMPORT_C static CChineseCalendarConverter* NewL(); |
55 IMPORT_C static CChineseCalendarConverter* NewL(); |
55 |
|
56 /** Creates a Chinese date from a TDateTime value. |
56 /** Creates a Chinese date from a TDateTime value. |
57 |
57 |
58 @param aDateTime The date/time value to convert. |
58 @param aDateTime The date/time value to convert. |
59 @param aChineseDate On return, contains the Chinese date. If the supplied date |
59 @param aChineseDate On return, contains the Chinese date. If the supplied date |
60 is invalid, this contains KErrArgument. */ |
60 is invalid, this contains KErrArgument. */ |
83 /** Returns the result of the last calendar conversion as a Julian date. |
83 /** Returns the result of the last calendar conversion as a Julian date. |
84 |
84 |
85 @return The Julian date. */ |
85 @return The Julian date. */ |
86 virtual TReal JulianDate() __SOFTFP =0; |
86 virtual TReal JulianDate() __SOFTFP =0; |
87 }; |
87 }; |
88 |
|
89 #endif |
88 #endif |