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