1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef _SCA_DATEFUNC_HRC
21 #define _SCA_DATEFUNC_HRC
23 #define DATE_RESOURCE_START 1000
25 #define RID_DATE_FUNCTION_DESCRIPTIONS DATE_RESOURCE_START
26 #define RID_DATE_FUNCTION_NAMES (DATE_RESOURCE_START+1000)
27 #define RID_DATE_DEFFUNCTION_NAMES (DATE_RESOURCE_START+2000)
29 #define DATE_FUNCDESC_START (RID_DATE_FUNCTION_DESCRIPTIONS+1)
31 #define DATE_FUNCDESC_DiffWeeks (DATE_FUNCDESC_START)
32 #define DATE_FUNCDESC_DiffMonths (DATE_FUNCDESC_START+1)
33 #define DATE_FUNCDESC_DiffYears (DATE_FUNCDESC_START+2)
34 #define DATE_FUNCDESC_IsLeapYear (DATE_FUNCDESC_START+3)
35 #define DATE_FUNCDESC_DaysInMonth (DATE_FUNCDESC_START+4)
36 #define DATE_FUNCDESC_DaysInYear (DATE_FUNCDESC_START+5)
37 #define DATE_FUNCDESC_WeeksInYear (DATE_FUNCDESC_START+6)
38 #define DATE_FUNCDESC_Rot13 (DATE_FUNCDESC_START+7)
40 #define DATE_FUNCNAME_START (RID_DATE_FUNCTION_NAMES+1)
42 #define DATE_FUNCNAME_DiffWeeks (DATE_FUNCNAME_START)
43 #define DATE_FUNCNAME_DiffMonths (DATE_FUNCNAME_START+1)
44 #define DATE_FUNCNAME_DiffYears (DATE_FUNCNAME_START+2)
45 #define DATE_FUNCNAME_IsLeapYear (DATE_FUNCNAME_START+3)
46 #define DATE_FUNCNAME_DaysInMonth (DATE_FUNCNAME_START+4)
47 #define DATE_FUNCNAME_DaysInYear (DATE_FUNCNAME_START+5)
48 #define DATE_FUNCNAME_WeeksInYear (DATE_FUNCNAME_START+6)
49 #define DATE_FUNCNAME_Rot13 (DATE_FUNCNAME_START+7)
51 #define DATE_DEFFUNCNAME_START (RID_DATE_DEFFUNCTION_NAMES+1)
53 #define DATE_DEFFUNCNAME_DiffWeeks (DATE_DEFFUNCNAME_START)
54 #define DATE_DEFFUNCNAME_DiffMonths (DATE_DEFFUNCNAME_START+1)
55 #define DATE_DEFFUNCNAME_DiffYears (DATE_DEFFUNCNAME_START+2)
56 #define DATE_DEFFUNCNAME_IsLeapYear (DATE_DEFFUNCNAME_START+3)
57 #define DATE_DEFFUNCNAME_DaysInMonth (DATE_DEFFUNCNAME_START+4)
58 #define DATE_DEFFUNCNAME_DaysInYear (DATE_DEFFUNCNAME_START+5)
59 #define DATE_DEFFUNCNAME_WeeksInYear (DATE_DEFFUNCNAME_START+6)
60 #define DATE_DEFFUNCNAME_Rot13 (DATE_DEFFUNCNAME_START+7)
64 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */