1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22#include "datefunc.hrc" 23 24Resource RID_DATE_FUNCTION_DESCRIPTIONS 25{ 26 Resource DATE_FUNCDESC_DiffWeeks 27 { 28 String 1 // description DiffWeeks 29 { 30 Text [ en-US ] = "Calculates the number of weeks in a specific period" ; 31 }; 32 String 2 // name of parameter 1 DiffWeeks 33 { 34 Text [ en-US ] = "Start date" ; 35 }; 36 String 3 // description of parameter 1 DiffWeeks 37 { 38 Text [ en-US ] = "First day of the period" ; 39 }; 40 String 4 // name of parameter 2 DiffWeeks 41 { 42 Text [ en-US ] = "End date" ; 43 }; 44 String 5 // description of parameter 2 DiffWeeks 45 { 46 Text [ en-US ] = "Last day of the period" ; 47 }; 48 String 6 // name of parameter 3 DiffWeeks 49 { 50 Text [ en-US ] = "Type" ; 51 }; 52 String 7 // description of parameter 3 DiffWeeks 53 { 54 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar weeks." ; 55 }; 56 }; 57 58 Resource DATE_FUNCDESC_DiffMonths 59 { 60 String 1 // description DiffMonths 61 { 62 Text [ en-US ] = "Determines the number of months in a specific period." ; 63 }; 64 String 2 // name of parameter 1 DiffMonths 65 { 66 Text [ en-US ] = "Start date" ; 67 }; 68 String 3 // description of parameter 1 DiffMonths 69 { 70 Text [ en-US ] = "First day of the period." ; 71 }; 72 String 4 // name of parameter 2 DiffMonths 73 { 74 Text [ en-US ] = "End date" ; 75 }; 76 String 5 // description of parameter 2 DiffMonths 77 { 78 Text [ en-US ] = "Last day of the period." ; 79 }; 80 String 6 // name of parameter 3 DiffMonths 81 { 82 Text [ en-US ] = "Type" ; 83 }; 84 String 7 // description of parameter 3 DiffMonths 85 { 86 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar months." ; 87 }; 88 }; 89 90 Resource DATE_FUNCDESC_DiffYears 91 { 92 String 1 // description DiffYears 93 { 94 Text [ en-US ] = "Calculates the number of years in a specific period." ; 95 }; 96 String 2 // name of parameter 1 DiffYears 97 { 98 Text [ en-US ] = "Start date" ; 99 }; 100 String 3 // description of parameter 1 DiffYears 101 { 102 Text [ en-US ] = "First day of the period" ; 103 }; 104 String 4 // name of parameter 2 DiffYears 105 { 106 Text [ en-US ] = "End date" ; 107 }; 108 String 5 // description of parameter 2 DiffYears 109 { 110 Text [ en-US ] = "Last day of the period" ; 111 }; 112 String 6 // name of parameter 3 DiffYears 113 { 114 Text [ en-US ] = "Type" ; 115 }; 116 String 7 // description of parameter 3 DiffYears 117 { 118 Text [ en-US ] = "Type of calculation: Type=0 means the time interval, Type=1 means calendar years." ; 119 }; 120 }; 121 122 Resource DATE_FUNCDESC_IsLeapYear 123 { 124 String 1 // description IsLeapYear 125 { 126 Text [ en-US ] = "Returns 1 (TRUE) if the date is a day of a leap year, otherwise 0 (FALSE)." ; 127 }; 128 String 2 // name of parameter 1 IsLeapYear 129 { 130 Text [ en-US ] = "Date" ; 131 }; 132 String 3 // description of parameter 1 IsLeapYear 133 { 134 Text [ en-US ] = "Any day in the desired year" ; 135 }; 136 }; 137 138 Resource DATE_FUNCDESC_DaysInMonth 139 { 140 String 1 // description DaysInMonth 141 { 142 Text [ en-US ] = "Returns the number of days of the month in which the date entered occurs" ; 143 }; 144 String 2 // name of parameter 1 DaysInMonth 145 { 146 Text [ en-US ] = "Date" ; 147 }; 148 String 3 // description of parameter 1 DaysInMonth 149 { 150 Text [ en-US ] = "Any day in the desired month" ; 151 }; 152 }; 153 154 Resource DATE_FUNCDESC_DaysInYear 155 { 156 String 1 // description DaysInYear 157 { 158 Text [ en-US ] = "Returns the number of days of the year in which the date entered occurs." ; 159 }; 160 String 2 // name of parameter 1 DaysInYear 161 { 162 Text [ en-US ] = "Date" ; 163 }; 164 String 3 // description of parameter 1 DaysInYear 165 { 166 Text [ en-US ] = "Any day in the desired year" ; 167 }; 168 }; 169 170 Resource DATE_FUNCDESC_WeeksInYear 171 { 172 String 1 // description WeeksInYear 173 { 174 Text [ en-US ] = "Returns the number of weeks of the year in which the date entered occurs" ; 175 }; 176 String 2 // name of parameter 1 WeeksInYear 177 { 178 Text [ en-US ] = "Date" ; 179 }; 180 String 3 // description of parameter 1 WeeksInYear 181 { 182 Text [ en-US ] = "Any day in the desired year" ; 183 }; 184 }; 185 186 Resource DATE_FUNCDESC_Rot13 187 { 188 String 1 // description Rot13 189 { 190 Text [ en-US ] = "Encrypts or decrypts a text using the ROT13 algorithm" ; 191 }; 192 String 2 // name of parameter 1 Rot13 193 { 194 Text [ en-US ] = "Text" ; 195 }; 196 String 3 // description of parameter 1 Rot13 197 { 198 Text [ en-US ] = "Text to be encrypted or text already encrypted" ; 199 }; 200 }; 201}; 202 203 204Resource RID_DATE_FUNCTION_NAMES 205{ 206 String DATE_FUNCNAME_DiffWeeks 207 { 208 Text [ en-US ] = "WEEKS" ; 209 }; 210 String DATE_FUNCNAME_DiffMonths 211 { 212 Text [ en-US ] = "MONTHS" ; 213 }; 214 String DATE_FUNCNAME_DiffYears 215 { 216 Text [ en-US ] = "YEARS" ; 217 }; 218 String DATE_FUNCNAME_IsLeapYear 219 { 220 Text [ en-US ] = "ISLEAPYEAR" ; 221 }; 222 String DATE_FUNCNAME_DaysInMonth 223 { 224 Text [ en-US ] = "DAYSINMONTH" ; 225 }; 226 String DATE_FUNCNAME_DaysInYear 227 { 228 Text [ en-US ] = "DAYSINYEAR" ; 229 }; 230 String DATE_FUNCNAME_WeeksInYear 231 { 232 Text [ en-US ] = "WEEKSINYEAR" ; 233 }; 234 String DATE_FUNCNAME_Rot13 235 { 236 Text [ en-US ] = "ROT13" ; 237 }; 238}; 239 240 241Resource RID_DATE_DEFFUNCTION_NAMES 242{ 243 244 StringArray DATE_DEFFUNCNAME_DiffWeeks 245 { 246 ItemList = 247 { 248 < "WOCHEN" ; > ; 249 < "WEEKS" ; > ; 250 }; 251 }; 252 StringArray DATE_DEFFUNCNAME_DiffMonths 253 { 254 ItemList = 255 { 256 < "MONATE" ; > ; 257 < "MONTHS" ; > ; 258 }; 259 }; 260 StringArray DATE_DEFFUNCNAME_DiffYears 261 { 262 ItemList = 263 { 264 < "JAHRE" ; > ; 265 < "YEARS" ; > ; 266 }; 267 }; 268 StringArray DATE_DEFFUNCNAME_IsLeapYear 269 { 270 ItemList = 271 { 272 < "ISTSCHALTJAHR" ; > ; 273 < "ISLEAPYEAR" ; > ; 274 }; 275 }; 276 StringArray DATE_DEFFUNCNAME_DaysInMonth 277 { 278 ItemList = 279 { 280 < "TAGEIMMONAT" ; > ; 281 < "DAYSINMONTH" ; > ; 282 }; 283 }; 284 StringArray DATE_DEFFUNCNAME_DaysInYear 285 { 286 ItemList = 287 { 288 < "TAGEIMJAHR" ; > ; 289 < "DAYSINYEAR" ; > ; 290 }; 291 }; 292 StringArray DATE_DEFFUNCNAME_WeeksInYear 293 { 294 ItemList = 295 { 296 < "WOCHENIMJAHR" ; > ; 297 < "WEEKSINYEAR" ; > ; 298 }; 299 }; 300 StringArray DATE_DEFFUNCNAME_Rot13 301 { 302 ItemList = 303 { 304 < "ROT13" ; > ; 305 < "ROT13" ; > ; 306 }; 307 }; 308}; 309 310// ********************************************************************** EOF 311