1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
29 #include "datefunc.hrc"
32 Resource RID_DATE_FUNCTION_DESCRIPTIONS
34 Resource DATE_FUNCDESC_DiffWeeks
36 String 1 // description DiffWeeks
38 Text [ en-US ] = "Calculates the number of weeks in a specific period";
40 String 2 // name of parameter 1 DiffWeeks
42 Text [ en-US ] = "Start date";
44 String 3 // description of parameter 1 DiffWeeks
46 Text [ en-US ] = "First day of the period";
48 String 4 // name of parameter 2 DiffWeeks
50 Text [ en-US ] = "End date";
52 String 5 // description of parameter 2 DiffWeeks
54 Text [ en-US ] = "Last day of the period";
56 String 6 // name of parameter 3 DiffWeeks
58 Text [ en-US ] = "Type";
60 String 7 // description of parameter 3 DiffWeeks
62 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar weeks.";
66 Resource DATE_FUNCDESC_DiffMonths
68 String 1 // description DiffMonths
70 Text [ en-US ] = "Determines the number of months in a specific period.";
72 String 2 // name of parameter 1 DiffMonths
74 Text [ en-US ] = "Start date";
76 String 3 // description of parameter 1 DiffMonths
78 Text [ en-US ] = "First day of the period.";
80 String 4 // name of parameter 2 DiffMonths
82 Text [ en-US ] = "End date";
84 String 5 // description of parameter 2 DiffMonths
86 Text [ en-US ] = "Last day of the period.";
88 String 6 // name of parameter 3 DiffMonths
90 Text [ en-US ] = "Type";
92 String 7 // description of parameter 3 DiffMonths
94 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar months.";
98 Resource DATE_FUNCDESC_DiffYears
100 String 1 // description DiffYears
102 Text [ en-US ] = "Calculates the number of years in a specific period.";
104 String 2 // name of parameter 1 DiffYears
106 Text [ en-US ] = "Start date";
108 String 3 // description of parameter 1 DiffYears
110 Text [ en-US ] = "First day of the period";
112 String 4 // name of parameter 2 DiffYears
114 Text [ en-US ] = "End date";
116 String 5 // description of parameter 2 DiffYears
118 Text [ en-US ] = "Last day of the period";
120 String 6 // name of parameter 3 DiffYears
122 Text [ en-US ] = "Type";
124 String 7 // description of parameter 3 DiffYears
126 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar years.";
130 Resource DATE_FUNCDESC_IsLeapYear
132 String 1 // description IsLeapYear
134 Text [ en-US ] = "Returns 1 (TRUE) if the date is a day of a leap year, otherwise 0 (FALSE).";
136 String 2 // name of parameter 1 IsLeapYear
138 Text [ en-US ] = "Date";
140 String 3 // description of parameter 1 IsLeapYear
142 Text [ en-US ] = "Any day in the desired year";
146 Resource DATE_FUNCDESC_DaysInMonth
148 String 1 // description DaysInMonth
150 Text [ en-US ] = "Returns the number of days of the month in which the date entered occurs";
152 String 2 // name of parameter 1 DaysInMonth
154 Text [ en-US ] = "Date";
156 String 3 // description of parameter 1 DaysInMonth
158 Text [ en-US ] = "Any day in the desired month";
162 Resource DATE_FUNCDESC_DaysInYear
164 String 1 // description DaysInYear
166 Text [ en-US ] = "Returns the number of days of the year in which the date entered occurs.";
168 String 2 // name of parameter 1 DaysInYear
170 Text [ en-US ] = "Date";
172 String 3 // description of parameter 1 DaysInYear
174 Text [ en-US ] = "Any day in the desired year";
178 Resource DATE_FUNCDESC_WeeksInYear
180 String 1 // description WeeksInYear
182 Text [ en-US ] = "Returns the number of weeks of the year in which the date entered occurs";
184 String 2 // name of parameter 1 WeeksInYear
186 Text [ en-US ] = "Date";
188 String 3 // description of parameter 1 WeeksInYear
190 Text [ en-US ] = "Any day in the desired year";
194 Resource DATE_FUNCDESC_Rot13
196 String 1 // description Rot13
198 Text [ en-US ] = "Encrypts or decrypts a text using the ROT13 algorithm";
200 String 2 // name of parameter 1 Rot13
202 Text [ en-US ] = "Text";
204 String 3 // description of parameter 1 Rot13
206 Text [ en-US ] = "Text to be encrypted or text already encrypted";
212 Resource RID_DATE_FUNCTION_NAMES
214 String DATE_FUNCNAME_DiffWeeks
216 Text [ en-US ] = "WEEKS";
218 String DATE_FUNCNAME_DiffMonths
220 Text [ en-US ] = "MONTHS";
222 String DATE_FUNCNAME_DiffYears
224 Text [ en-US ] = "YEARS";
226 String DATE_FUNCNAME_IsLeapYear
228 Text [ en-US ] = "ISLEAPYEAR";
230 String DATE_FUNCNAME_DaysInMonth
232 Text [ en-US ] = "DAYSINMONTH";
234 String DATE_FUNCNAME_DaysInYear
236 Text [ en-US ] = "DAYSINYEAR";
238 String DATE_FUNCNAME_WeeksInYear
240 Text [ en-US ] = "WEEKSINYEAR";
242 String DATE_FUNCNAME_Rot13
244 Text [ en-US ] = "ROT13";
249 Resource RID_DATE_DEFFUNCTION_NAMES
252 StringArray DATE_DEFFUNCNAME_DiffWeeks
260 StringArray DATE_DEFFUNCNAME_DiffMonths
268 StringArray DATE_DEFFUNCNAME_DiffYears
276 StringArray DATE_DEFFUNCNAME_IsLeapYear
280 < "ISTSCHALTJAHR"; >;
284 StringArray DATE_DEFFUNCNAME_DaysInMonth
292 StringArray DATE_DEFFUNCNAME_DaysInYear
300 StringArray DATE_DEFFUNCNAME_WeeksInYear
308 StringArray DATE_DEFFUNCNAME_Rot13