1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: datefunc.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
32 #include "datefunc.hrc"
35 Resource RID_DATE_FUNCTION_DESCRIPTIONS
37 Resource DATE_FUNCDESC_DiffWeeks
39 String 1 // description DiffWeeks
41 Text [ en-US ] = "Calculates the number of weeks in a specific period";
43 String 2 // name of parameter 1 DiffWeeks
45 Text [ en-US ] = "Start date";
47 String 3 // description of parameter 1 DiffWeeks
49 Text [ en-US ] = "First day of the period";
51 String 4 // name of parameter 2 DiffWeeks
53 Text [ en-US ] = "End date";
55 String 5 // description of parameter 2 DiffWeeks
57 Text [ en-US ] = "Last day of the period";
59 String 6 // name of parameter 3 DiffWeeks
61 Text [ en-US ] = "Type";
63 String 7 // description of parameter 3 DiffWeeks
65 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar weeks.";
69 Resource DATE_FUNCDESC_DiffMonths
71 String 1 // description DiffMonths
73 Text [ en-US ] = "Determines the number of months in a specific period.";
75 String 2 // name of parameter 1 DiffMonths
77 Text [ en-US ] = "Start date";
79 String 3 // description of parameter 1 DiffMonths
81 Text [ en-US ] = "First day of the period.";
83 String 4 // name of parameter 2 DiffMonths
85 Text [ en-US ] = "End date";
87 String 5 // description of parameter 2 DiffMonths
89 Text [ en-US ] = "Last day of the period.";
91 String 6 // name of parameter 3 DiffMonths
93 Text [ en-US ] = "Type";
95 String 7 // description of parameter 3 DiffMonths
97 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar months.";
101 Resource DATE_FUNCDESC_DiffYears
103 String 1 // description DiffYears
105 Text [ en-US ] = "Calculates the number of years in a specific period.";
107 String 2 // name of parameter 1 DiffYears
109 Text [ en-US ] = "Start date";
111 String 3 // description of parameter 1 DiffYears
113 Text [ en-US ] = "First day of the period";
115 String 4 // name of parameter 2 DiffYears
117 Text [ en-US ] = "End date";
119 String 5 // description of parameter 2 DiffYears
121 Text [ en-US ] = "Last day of the period";
123 String 6 // name of parameter 3 DiffYears
125 Text [ en-US ] = "Type";
127 String 7 // description of parameter 3 DiffYears
129 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar years.";
133 Resource DATE_FUNCDESC_IsLeapYear
135 String 1 // description IsLeapYear
137 Text [ en-US ] = "Returns 1 (TRUE) if the date is a day of a leap year, otherwise 0 (FALSE).";
139 String 2 // name of parameter 1 IsLeapYear
141 Text [ en-US ] = "Date";
143 String 3 // description of parameter 1 IsLeapYear
145 Text [ en-US ] = "Any day in the desired year";
149 Resource DATE_FUNCDESC_DaysInMonth
151 String 1 // description DaysInMonth
153 Text [ en-US ] = "Returns the number of days of the month in which the date entered occurs";
155 String 2 // name of parameter 1 DaysInMonth
157 Text [ en-US ] = "Date";
159 String 3 // description of parameter 1 DaysInMonth
161 Text [ en-US ] = "Any day in the desired month";
165 Resource DATE_FUNCDESC_DaysInYear
167 String 1 // description DaysInYear
169 Text [ en-US ] = "Returns the number of days of the year in which the date entered occurs.";
171 String 2 // name of parameter 1 DaysInYear
173 Text [ en-US ] = "Date";
175 String 3 // description of parameter 1 DaysInYear
177 Text [ en-US ] = "Any day in the desired year";
181 Resource DATE_FUNCDESC_WeeksInYear
183 String 1 // description WeeksInYear
185 Text [ en-US ] = "Returns the number of weeks of the year in which the date entered occurs";
187 String 2 // name of parameter 1 WeeksInYear
189 Text [ en-US ] = "Date";
191 String 3 // description of parameter 1 WeeksInYear
193 Text [ en-US ] = "Any day in the desired year";
197 Resource DATE_FUNCDESC_Rot13
199 String 1 // description Rot13
201 Text [ en-US ] = "Encrypts or decrypts a text using the ROT13 algorithm";
203 String 2 // name of parameter 1 Rot13
205 Text [ en-US ] = "Text";
207 String 3 // description of parameter 1 Rot13
209 Text [ en-US ] = "Text to be encrypted or text already encrypted";
215 Resource RID_DATE_FUNCTION_NAMES
217 String DATE_FUNCNAME_DiffWeeks
219 Text [ en-US ] = "WEEKS";
221 String DATE_FUNCNAME_DiffMonths
223 Text [ en-US ] = "MONTHS";
225 String DATE_FUNCNAME_DiffYears
227 Text [ en-US ] = "YEARS";
229 String DATE_FUNCNAME_IsLeapYear
231 Text [ en-US ] = "ISLEAPYEAR";
233 String DATE_FUNCNAME_DaysInMonth
235 Text [ en-US ] = "DAYSINMONTH";
237 String DATE_FUNCNAME_DaysInYear
239 Text [ en-US ] = "DAYSINYEAR";
241 String DATE_FUNCNAME_WeeksInYear
243 Text [ en-US ] = "WEEKSINYEAR";
245 String DATE_FUNCNAME_Rot13
247 Text [ en-US ] = "ROT13";
252 Resource RID_DATE_DEFFUNCTION_NAMES
255 StringArray DATE_DEFFUNCNAME_DiffWeeks
263 StringArray DATE_DEFFUNCNAME_DiffMonths
271 StringArray DATE_DEFFUNCNAME_DiffYears
279 StringArray DATE_DEFFUNCNAME_IsLeapYear
283 < "ISTSCHALTJAHR"; >;
287 StringArray DATE_DEFFUNCNAME_DaysInMonth
295 StringArray DATE_DEFFUNCNAME_DaysInYear
303 StringArray DATE_DEFFUNCNAME_WeeksInYear
311 StringArray DATE_DEFFUNCNAME_Rot13