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 #include "datefunc.hrc"
22 Resource RID_DATE_FUNCTION_DESCRIPTIONS
24 Resource DATE_FUNCDESC_DiffWeeks
26 String 1 // description DiffWeeks
28 Text [ en-US ] = "Calculates the number of weeks in a specific period";
30 String 2 // name of parameter 1 DiffWeeks
32 Text [ en-US ] = "Start date";
34 String 3 // description of parameter 1 DiffWeeks
36 Text [ en-US ] = "First day of the period";
38 String 4 // name of parameter 2 DiffWeeks
40 Text [ en-US ] = "End date";
42 String 5 // description of parameter 2 DiffWeeks
44 Text [ en-US ] = "Last day of the period";
46 String 6 // name of parameter 3 DiffWeeks
48 Text [ en-US ] = "Type";
50 String 7 // description of parameter 3 DiffWeeks
52 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar weeks.";
56 Resource DATE_FUNCDESC_DiffMonths
58 String 1 // description DiffMonths
60 Text [ en-US ] = "Determines the number of months in a specific period.";
62 String 2 // name of parameter 1 DiffMonths
64 Text [ en-US ] = "Start date";
66 String 3 // description of parameter 1 DiffMonths
68 Text [ en-US ] = "First day of the period.";
70 String 4 // name of parameter 2 DiffMonths
72 Text [ en-US ] = "End date";
74 String 5 // description of parameter 2 DiffMonths
76 Text [ en-US ] = "Last day of the period.";
78 String 6 // name of parameter 3 DiffMonths
80 Text [ en-US ] = "Type";
82 String 7 // description of parameter 3 DiffMonths
84 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar months.";
88 Resource DATE_FUNCDESC_DiffYears
90 String 1 // description DiffYears
92 Text [ en-US ] = "Calculates the number of years in a specific period.";
94 String 2 // name of parameter 1 DiffYears
96 Text [ en-US ] = "Start date";
98 String 3 // description of parameter 1 DiffYears
100 Text [ en-US ] = "First day of the period";
102 String 4 // name of parameter 2 DiffYears
104 Text [ en-US ] = "End date";
106 String 5 // description of parameter 2 DiffYears
108 Text [ en-US ] = "Last day of the period";
110 String 6 // name of parameter 3 DiffYears
112 Text [ en-US ] = "Type";
114 String 7 // description of parameter 3 DiffYears
116 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar years.";
120 Resource DATE_FUNCDESC_IsLeapYear
122 String 1 // description IsLeapYear
124 Text [ en-US ] = "Returns 1 (TRUE) if the date is a day of a leap year, otherwise 0 (FALSE).";
126 String 2 // name of parameter 1 IsLeapYear
128 Text [ en-US ] = "Date";
130 String 3 // description of parameter 1 IsLeapYear
132 Text [ en-US ] = "Any day in the desired year";
136 Resource DATE_FUNCDESC_DaysInMonth
138 String 1 // description DaysInMonth
140 Text [ en-US ] = "Returns the number of days of the month in which the date entered occurs";
142 String 2 // name of parameter 1 DaysInMonth
144 Text [ en-US ] = "Date";
146 String 3 // description of parameter 1 DaysInMonth
148 Text [ en-US ] = "Any day in the desired month";
152 Resource DATE_FUNCDESC_DaysInYear
154 String 1 // description DaysInYear
156 Text [ en-US ] = "Returns the number of days of the year in which the date entered occurs.";
158 String 2 // name of parameter 1 DaysInYear
160 Text [ en-US ] = "Date";
162 String 3 // description of parameter 1 DaysInYear
164 Text [ en-US ] = "Any day in the desired year";
168 Resource DATE_FUNCDESC_WeeksInYear
170 String 1 // description WeeksInYear
172 Text [ en-US ] = "Returns the number of weeks of the year in which the date entered occurs";
174 String 2 // name of parameter 1 WeeksInYear
176 Text [ en-US ] = "Date";
178 String 3 // description of parameter 1 WeeksInYear
180 Text [ en-US ] = "Any day in the desired year";
184 Resource DATE_FUNCDESC_Rot13
186 String 1 // description Rot13
188 Text [ en-US ] = "Encrypts or decrypts a text using the ROT13 algorithm";
190 String 2 // name of parameter 1 Rot13
192 Text [ en-US ] = "Text";
194 String 3 // description of parameter 1 Rot13
196 Text [ en-US ] = "Text to be encrypted or text already encrypted";
201 Resource RID_DATE_FUNCTION_NAMES
203 String DATE_FUNCNAME_DiffWeeks
205 Text [ en-US ] = "WEEKS";
207 String DATE_FUNCNAME_DiffMonths
209 Text [ en-US ] = "MONTHS";
211 String DATE_FUNCNAME_DiffYears
213 Text [ en-US ] = "YEARS";
215 String DATE_FUNCNAME_IsLeapYear
217 Text [ en-US ] = "ISLEAPYEAR";
219 String DATE_FUNCNAME_DaysInMonth
221 Text [ en-US ] = "DAYSINMONTH";
223 String DATE_FUNCNAME_DaysInYear
225 Text [ en-US ] = "DAYSINYEAR";
227 String DATE_FUNCNAME_WeeksInYear
229 Text [ en-US ] = "WEEKSINYEAR";
231 String DATE_FUNCNAME_Rot13
233 Text [ en-US ] = "ROT13";
237 Resource RID_DATE_DEFFUNCTION_NAMES
240 StringArray DATE_DEFFUNCNAME_DiffWeeks
248 StringArray DATE_DEFFUNCNAME_DiffMonths
256 StringArray DATE_DEFFUNCNAME_DiffYears
264 StringArray DATE_DEFFUNCNAME_IsLeapYear
268 < "ISTSCHALTJAHR"; >;
272 StringArray DATE_DEFFUNCNAME_DaysInMonth
280 StringArray DATE_DEFFUNCNAME_DaysInYear
288 StringArray DATE_DEFFUNCNAME_WeeksInYear
296 StringArray DATE_DEFFUNCNAME_Rot13
306 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */