|
1 /* |
|
2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description : Class looking after alarm fields for forms. |
|
15 * |
|
16 */ |
|
17 |
|
18 //debug |
|
19 #include "calendarui_debug.h" |
|
20 |
|
21 //user includes |
|
22 #include "CalenLunarInfo.h" |
|
23 |
|
24 // ======== MEMBER FUNCTIONS ======== |
|
25 |
|
26 |
|
27 // --------------------------------------------------------------------------- |
|
28 // TCalenLunarInfo::HasLunarFestival() |
|
29 // --------------------------------------------------------------------------- |
|
30 // |
|
31 TBool TCalenLunarInfo::HasLunarFestival() |
|
32 { |
|
33 TRACE_ENTRY_POINT; |
|
34 |
|
35 TRACE_EXIT_POINT; |
|
36 return iLunarFestival >= 0; |
|
37 } |
|
38 |
|
39 // --------------------------------------------------------------------------- |
|
40 // TCalenLunarInfo::HasSolarFestival() |
|
41 // --------------------------------------------------------------------------- |
|
42 // |
|
43 TBool TCalenLunarInfo::HasSolarFestival() |
|
44 { |
|
45 TRACE_ENTRY_POINT; |
|
46 |
|
47 TRACE_EXIT_POINT; |
|
48 return iSolarFestival >= 0; |
|
49 } |
|
50 |
|
51 // --------------------------------------------------------------------------- |
|
52 // TCalenLunarInfo::HasSolarTerm() |
|
53 // --------------------------------------------------------------------------- |
|
54 // |
|
55 TBool TCalenLunarInfo::HasSolarTerm() |
|
56 { |
|
57 TRACE_ENTRY_POINT; |
|
58 |
|
59 TRACE_EXIT_POINT; |
|
60 return iSolarTerm >= 0; |
|
61 } |
|
62 |
|
63 // End of file |
|
64 |