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 .
21 #include "datefunc.hrc"
24 Resource RID_DATE_FUNCTION_DESCRIPTIONS
26 Resource DATE_FUNCDESC_DiffWeeks
28 String 1 // description DiffWeeks
30 Text [ en-US ] = "Calculates the number of weeks in a specific period";
32 String 2 // name of parameter 1 DiffWeeks
34 Text [ en-US ] = "Start date";
36 String 3 // description of parameter 1 DiffWeeks
38 Text [ en-US ] = "First day of the period";
40 String 4 // name of parameter 2 DiffWeeks
42 Text [ en-US ] = "End date";
44 String 5 // description of parameter 2 DiffWeeks
46 Text [ en-US ] = "Last day of the period";
48 String 6 // name of parameter 3 DiffWeeks
50 Text [ en-US ] = "Type";
52 String 7 // description of parameter 3 DiffWeeks
54 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar weeks.";
58 Resource DATE_FUNCDESC_DiffMonths
60 String 1 // description DiffMonths
62 Text [ en-US ] = "Determines the number of months in a specific period.";
64 String 2 // name of parameter 1 DiffMonths
66 Text [ en-US ] = "Start date";
68 String 3 // description of parameter 1 DiffMonths
70 Text [ en-US ] = "First day of the period.";
72 String 4 // name of parameter 2 DiffMonths
74 Text [ en-US ] = "End date";
76 String 5 // description of parameter 2 DiffMonths
78 Text [ en-US ] = "Last day of the period.";
80 String 6 // name of parameter 3 DiffMonths
82 Text [ en-US ] = "Type";
84 String 7 // description of parameter 3 DiffMonths
86 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar months.";
90 Resource DATE_FUNCDESC_DiffYears
92 String 1 // description DiffYears
94 Text [ en-US ] = "Calculates the number of years in a specific period.";
96 String 2 // name of parameter 1 DiffYears
98 Text [ en-US ] = "Start date";
100 String 3 // description of parameter 1 DiffYears
102 Text [ en-US ] = "First day of the period";
104 String 4 // name of parameter 2 DiffYears
106 Text [ en-US ] = "End date";
108 String 5 // description of parameter 2 DiffYears
110 Text [ en-US ] = "Last day of the period";
112 String 6 // name of parameter 3 DiffYears
114 Text [ en-US ] = "Type";
116 String 7 // description of parameter 3 DiffYears
118 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar years.";
122 Resource DATE_FUNCDESC_IsLeapYear
124 String 1 // description IsLeapYear
126 Text [ en-US ] = "Returns 1 (TRUE) if the date is a day of a leap year, otherwise 0 (FALSE).";
128 String 2 // name of parameter 1 IsLeapYear
130 Text [ en-US ] = "Date";
132 String 3 // description of parameter 1 IsLeapYear
134 Text [ en-US ] = "Any day in the desired year";
138 Resource DATE_FUNCDESC_DaysInMonth
140 String 1 // description DaysInMonth
142 Text [ en-US ] = "Returns the number of days of the month in which the date entered occurs";
144 String 2 // name of parameter 1 DaysInMonth
146 Text [ en-US ] = "Date";
148 String 3 // description of parameter 1 DaysInMonth
150 Text [ en-US ] = "Any day in the desired month";
154 Resource DATE_FUNCDESC_DaysInYear
156 String 1 // description DaysInYear
158 Text [ en-US ] = "Returns the number of days of the year in which the date entered occurs.";
160 String 2 // name of parameter 1 DaysInYear
162 Text [ en-US ] = "Date";
164 String 3 // description of parameter 1 DaysInYear
166 Text [ en-US ] = "Any day in the desired year";
170 Resource DATE_FUNCDESC_WeeksInYear
172 String 1 // description WeeksInYear
174 Text [ en-US ] = "Returns the number of weeks of the year in which the date entered occurs";
176 String 2 // name of parameter 1 WeeksInYear
178 Text [ en-US ] = "Date";
180 String 3 // description of parameter 1 WeeksInYear
182 Text [ en-US ] = "Any day in the desired year";
186 Resource DATE_FUNCDESC_Rot13
188 String 1 // description Rot13
190 Text [ en-US ] = "Encrypts or decrypts a text using the ROT13 algorithm";
192 String 2 // name of parameter 1 Rot13
194 Text [ en-US ] = "Text";
196 String 3 // description of parameter 1 Rot13
198 Text [ en-US ] = "Text to be encrypted or text already encrypted";
204 Resource RID_DATE_FUNCTION_NAMES
206 String DATE_FUNCNAME_DiffWeeks
208 Text [ en-US ] = "WEEKS";
210 String DATE_FUNCNAME_DiffMonths
212 Text [ en-US ] = "MONTHS";
214 String DATE_FUNCNAME_DiffYears
216 Text [ en-US ] = "YEARS";
218 String DATE_FUNCNAME_IsLeapYear
220 Text [ en-US ] = "ISLEAPYEAR";
222 String DATE_FUNCNAME_DaysInMonth
224 Text [ en-US ] = "DAYSINMONTH";
226 String DATE_FUNCNAME_DaysInYear
228 Text [ en-US ] = "DAYSINYEAR";
230 String DATE_FUNCNAME_WeeksInYear
232 Text [ en-US ] = "WEEKSINYEAR";
234 String DATE_FUNCNAME_Rot13
236 Text [ en-US ] = "ROT13";
241 Resource RID_DATE_DEFFUNCTION_NAMES
244 StringArray DATE_DEFFUNCNAME_DiffWeeks
252 StringArray DATE_DEFFUNCNAME_DiffMonths
260 StringArray DATE_DEFFUNCNAME_DiffYears
268 StringArray DATE_DEFFUNCNAME_IsLeapYear
272 < "ISTSCHALTJAHR"; >;
276 StringArray DATE_DEFFUNCNAME_DaysInMonth
284 StringArray DATE_DEFFUNCNAME_DaysInYear
292 StringArray DATE_DEFFUNCNAME_WeeksInYear
300 StringArray DATE_DEFFUNCNAME_Rot13
310 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */