1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef _SCA_DATEFUNC_HRC
25#define _SCA_DATEFUNC_HRC
26
27
28#define DATE_RESOURCE_START                 1000
29
30#define RID_DATE_FUNCTION_DESCRIPTIONS      DATE_RESOURCE_START
31#define RID_DATE_FUNCTION_NAMES             (DATE_RESOURCE_START+1000)
32#define RID_DATE_DEFFUNCTION_NAMES          (DATE_RESOURCE_START+2000)
33
34
35#define DATE_FUNCDESC_START                 (RID_DATE_FUNCTION_DESCRIPTIONS+1)
36
37#define DATE_FUNCDESC_DiffWeeks             (DATE_FUNCDESC_START)
38#define DATE_FUNCDESC_DiffMonths            (DATE_FUNCDESC_START+1)
39#define DATE_FUNCDESC_DiffYears             (DATE_FUNCDESC_START+2)
40#define DATE_FUNCDESC_IsLeapYear            (DATE_FUNCDESC_START+3)
41#define DATE_FUNCDESC_DaysInMonth           (DATE_FUNCDESC_START+4)
42#define DATE_FUNCDESC_DaysInYear            (DATE_FUNCDESC_START+5)
43#define DATE_FUNCDESC_WeeksInYear           (DATE_FUNCDESC_START+6)
44#define DATE_FUNCDESC_Rot13                 (DATE_FUNCDESC_START+7)
45
46
47#define DATE_FUNCNAME_START                 (RID_DATE_FUNCTION_NAMES+1)
48
49#define DATE_FUNCNAME_DiffWeeks             (DATE_FUNCNAME_START)
50#define DATE_FUNCNAME_DiffMonths            (DATE_FUNCNAME_START+1)
51#define DATE_FUNCNAME_DiffYears             (DATE_FUNCNAME_START+2)
52#define DATE_FUNCNAME_IsLeapYear            (DATE_FUNCNAME_START+3)
53#define DATE_FUNCNAME_DaysInMonth           (DATE_FUNCNAME_START+4)
54#define DATE_FUNCNAME_DaysInYear            (DATE_FUNCNAME_START+5)
55#define DATE_FUNCNAME_WeeksInYear           (DATE_FUNCNAME_START+6)
56#define DATE_FUNCNAME_Rot13                 (DATE_FUNCNAME_START+7)
57
58
59#define DATE_DEFFUNCNAME_START              (RID_DATE_DEFFUNCTION_NAMES+1)
60
61#define DATE_DEFFUNCNAME_DiffWeeks          (DATE_DEFFUNCNAME_START)
62#define DATE_DEFFUNCNAME_DiffMonths         (DATE_DEFFUNCNAME_START+1)
63#define DATE_DEFFUNCNAME_DiffYears          (DATE_DEFFUNCNAME_START+2)
64#define DATE_DEFFUNCNAME_IsLeapYear         (DATE_DEFFUNCNAME_START+3)
65#define DATE_DEFFUNCNAME_DaysInMonth        (DATE_DEFFUNCNAME_START+4)
66#define DATE_DEFFUNCNAME_DaysInYear         (DATE_DEFFUNCNAME_START+5)
67#define DATE_DEFFUNCNAME_WeeksInYear        (DATE_DEFFUNCNAME_START+6)
68#define DATE_DEFFUNCNAME_Rot13              (DATE_DEFFUNCNAME_START+7)
69
70
71#endif
72