Home
last modified time | relevance | path

Searched refs:year (Results 1 – 25 of 134) sorted by relevance

123456

/aoo41x/main/i18npool/source/calendar/
H A Dcalendar_jewish.cxx140 sal_Int32 year; // 1... member in HebrewDate
151 year++; in HebrewDate()
153 if (d < HebrewDate(1, 1, year)) in HebrewDate()
157 while (d > HebrewDate(month, (LastDayOfHebrewMonth(month,year)), year)) in HebrewDate()
203 if ((((year % 4) == 0) && ((year % 100) != 0)) in LastDayOfGregorianMonth()
204 || ((year % 400) == 0)) in LastDayOfGregorianMonth()
218 int year; // 1... member in GregorianDate
227 year = d/366; in GregorianDate()
229 year++; in GregorianDate()
232 while (d > GregorianDate(month, LastDayOfGregorianMonth(month,year), year)) in GregorianDate()
[all …]
H A Dcalendar_hijri.cxx82 year *= -1; in mapToGregorian()
97 sal_Int32 month, day, year; in mapFromGregorian() local
103 year *= -1; in mapFromGregorian()
220 (*year)--; in getHijri()
224 if (*year <= 0) (*year)--; in getHijri()
235 if ( *year < 0 ) (*year)++; in ToGregorian()
253 if ( *year <= 0 ) { in ToGregorian()
256 *year = -1; in ToGregorian()
309 if( year == 0 ) { in getJulianDay()
318 jy = year; in getJulianDay()
[all …]
H A Dcalendar_gregorian.cxx330 for (e = 0; eraArray[e].year; e++) in mapFromGregorian()
331 if ((y != eraArray[e].year) ? y < eraArray[e].year : in mapFromGregorian()
337 …sal::static_int_cast<sal_Int16>( (e == 0) ? (eraArray[0].year - y) : (y - eraArray[e-1].year + 1) … in mapFromGregorian()
349 … y = sal::static_int_cast<sal_Int16>( eraArray[0].year - fieldValue[CalendarFieldIndex::YEAR] ); in mapToGregorian()
351 …y = sal::static_int_cast<sal_Int16>( eraArray[e-1].year + fieldValue[CalendarFieldIndex::YEAR] - 1… in mapToGregorian()
/aoo41x/main/helpcontent2/helpers/
H A Dcreatemakefile.pl128 ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
131 $date = sprintf "%4d/%02d/%02d %02d:%02d:%02d",$year+1900,$mon,$mday,$hour,$min,$sec;
183 $date = sprintf "%4d/%02d/%02d %02d:%02d:%02d",$year+1900,$mon,$mday,$hour,$min,$sec;
212 $date = sprintf "%4d/%02d/%02d %02d:%02d:%02d",$year+1900,$mon,$mday,$hour,$min,$sec;
241 $date = sprintf "%4d/%02d/%02d %02d:%02d:%02d",$year+1900,$mon,$mday,$hour,$min,$sec;
268 $date = sprintf "%4d/%02d/%02d %02d:%02d:%02d",$year+1900,$mon,$mday,$hour,$min,$sec;
304 $date = sprintf "%4d/%02d/%02d %02d:%02d:%02d",$year+1900,$mon,$mday,$hour,$min,$sec;
334 $date = sprintf "%4d/%02d/%02d %02d:%02d:%02d",$year+1900,$mon,$mday,$hour,$min,$sec;
361 $date = sprintf "%4d/%02d/%02d %02d:%02d:%02d",$year+1900,$mon,$mday,$hour,$min,$sec;
388 $date = sprintf "%4d/%02d/%02d %02d:%02d:%02d",$year+1900,$mon,$mday,$hour,$min,$sec;
[all …]
/aoo41x/main/ucb/source/ucp/webdav/
H A DDateTimeHelper.cxx42 int year, month, day, hours, minutes, off_hours, off_minutes, fix; in ISO8601_To_DateTime() local
47 &year, &month, &day, &hours, &minutes, &seconds ); in ISO8601_To_DateTime()
56 &year, &month, &day, &hours, &minutes, &seconds, in ISO8601_To_DateTime()
66 &year, &month, &day, &hours, &minutes, &seconds, in ISO8601_To_DateTime()
89 aDateTime.Year = sal::static_int_cast< sal_uInt16 >(year); in ISO8601_To_DateTime()
170 int year; in RFC2068_To_DateTime() local
185 string_day, &day, string_month, &year, &hours, &minutes, &seconds); in RFC2068_To_DateTime()
190 string_day, &day, string_month, &year, &hours, &minutes, &seconds); in RFC2068_To_DateTime()
201 &day, &hours, &minutes, &seconds, &year); in RFC2068_To_DateTime()
228 aDateTime.Year = sal::static_int_cast< sal_uInt16 >(year); in RFC2068_To_DateTime()
/aoo41x/main/cosv/source/service/
H A Dcomfunc.cxx86 date2str(String & out_Str, int day, int month, int year) in date2str() argument
94 if (year < 100) in date2str()
96 buf[6] = static_cast<char>(year/10 + '0'); in date2str()
97 buf[7] = static_cast<char>(year%10 + '0'); in date2str()
102 buf[6] = static_cast<char>(year/1000 + '0'); in date2str()
103 buf[7] = static_cast<char>(year%1000/100 + '0'); in date2str()
104 buf[8] = static_cast<char>(year%100/10 + '0'); in date2str()
105 buf[9] = static_cast<char>(year%10 + '0'); in date2str()
/aoo41x/main/sc/addin/datefunc/
H A Ddfa.cl84 * Check if a year is a leap year in the Gregorian calendar
86 * @param nYear the year which should be checked
87 * @return true if the year is a leap year, false otherwise.
103 * @param nYear the year
162 * @param *pYear pointer to a variable for the year
215 * The second calculates the diffence by week of year.
220 * A week that lies partly in one year and partly in annother
235 * where 0 means that this week belonged to the year before.
260 * mode 1 is the difference by week of year
423 * Get number of weeks in the year for a date
[all …]
H A Ddfa.src139 Text = "Returns 1 (TRUE) if a leap year is used, otherwise 0 (FALSE) is returned";
161 Text = "Returns the number of days in a year in relation to the date entered";
172 Text = "Returns the number of weeks in the year in relation to a date";
/aoo41x/main/xmerge/source/minicalc/java/org/openoffice/xmerge/converter/xml/sxc/minicalc/
H A DMinicalcDataString.java443 int year = yearInt.intValue(); in convertToStarDate() local
445 if (year < 31) { in convertToStarDate()
449 year += 2000; in convertToStarDate()
451 } else if (year < 100) { in convertToStarDate()
455 year += 1900; in convertToStarDate()
458 yearString = Integer.toString(year); in convertToStarDate()
/aoo41x/main/offapi/com/sun/star/i18n/
H A DCalendarDisplayCode.idl39 strings, for example not a four digit year but a CJK name instead.
55 /// Month of year, one or two digits, no leading zero.
57 /// Month of year, with leading zero.
72 /// Combined short year and era, order depends on locale/calendar.
74 /// Combined full year and era, order depends on locale/calendar.
H A DXExtendedCalendar.idl57 how many digits that will have. For example, a short year
68 if specified for the year representation. However, depending
69 on the locale, different conversions for year and month, for
H A DCalendarFieldIndex.idl59 /// Get day of year.
78 /// Get week of year.
80 /// Get/Set year.
/aoo41x/main/offapi/com/sun/star/sheet/
H A DDataPilotFieldGroupBy.idl80 members that contain the january 3rd, regardless of the year or time
99 date in the month january, regardless of the year, day, or time of the
110 date in the first quarter of a year (i.e. the months january,
111 february, and march), regardless of the year, day, or time of the
119 by their year.
122 date in the year 1999, regardless of the month, day, or time of the
/aoo41x/main/scaddins/source/datefunc/
H A Ddatefunc.src130 Text [ en-US ] = "Returns 1 (TRUE) if the date is a day of a leap year, otherwise 0 (FALSE).";
138 Text [ en-US ] = "Any day in the desired year";
162 Text [ en-US ] = "Returns the number of days of the year in which the date entered occurs.";
170 Text [ en-US ] = "Any day in the desired year";
178 Text [ en-US ] = "Returns the number of weeks of the year in which the date entered occurs";
186 Text [ en-US ] = "Any day in the desired year";
H A Ddateadd.idl68 /// checks if a date is in a leap year.
80 /// calculates the number of days in a year.
86 /// calculates the number of weeks in a year.
/aoo41x/main/solenv/bin/modules/installer/
H A Dlogger.pm645 my $year = $timearray[5] - 100;
647 if ( $year < 10 ) { $year = "0" . $year; }
651 $datestring = $year . $month . $day;
/aoo41x/main/ucb/source/ucp/ftp/
H A Dftpdirp.hxx54 const sal_uInt16& year) SAL_THROW( () ) in DateTime()
61 year) { } in DateTime()
63 void SetYear(sal_uInt16 year) { Year = year; } in SetYear()
/aoo41x/main/offapi/com/sun/star/util/
H A DDateTimeRange.idl62 /** contains the start month of year (1-12 or 0 for a void date) for the range.
67 /** contains the start year for the range.
97 /** contains the end month of year (1-12 or 0 for a void date) for the range.
102 /** contains the end year for the range.
H A DDate.idl43 /** contains the month of year (1-12 or 0 for a void date).
49 /** contains the year.
/aoo41x/main/i18npool/inc/
H A Dcalendar_hijri.hxx72 void getHijri(sal_Int32 *day, sal_Int32 *month, sal_Int32 *year);
73 void ToGregorian(sal_Int32 *day, sal_Int32 *month, sal_Int32 *year);
75 double getJulianDay(sal_Int32 day, sal_Int32 month, sal_Int32 year);
/aoo41x/main/sal/qa/helper/gcov/
H A Dgcov_result.pl170 my $year = localtime->year() + 1900;
173 $sURL = $sURL . "$next" . "date=$year-$month-$day";
/aoo41x/main/unixODBC/inc/
H A Dsqltypes.h249 SQLSMALLINT year; member
275 SQLSMALLINT year; member
317 SQLUINTEGER year; member
/aoo41x/main/icc/
H A DSampleICC-1.3.2.patch3008 if (dateTime.year<1992) {
3010 - sprintf(buf," - %u: Invalid year!\r\n",dateTime.year);
3011 + sprintf(buf," - %u: Invalid year!\n",dateTime.year);
3017 if (dateTime.year>(year+1)) {
3019 - sprintf(buf," - %u: Invalid year!\r\n",dateTime.year);
3020 + sprintf(buf," - %u: Invalid year!\n",dateTime.year);
3026 if (dateTime.year>year) {
3028 - sprintf(buf," - %u: Invalid year!\r\n",dateTime.year);
3029 + sprintf(buf," - %u: Invalid year!\n",dateTime.year);
3064 …sprintf(buf," - %u: Invalid day for February, year is not a leap year(%u)!\r\n",dateTime.day, date…
[all …]
/aoo41x/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/
H A DFormula.java220 int year = Integer.parseInt(s.substring(0,4)); in toExcelSerialDate() local
224 long serialDate = (1461 * (year + 4800 + (month - 14) / 12)) / 4 + in toExcelSerialDate()
226 (3 * ((year + 4900 + (month - 14) / 12)) / 100) / 4 + in toExcelSerialDate()
/aoo41x/main/qadevOOo/runner/stats/
H A DFatDataBaseOutProducer.java56 String year = Integer.toString(cal.get(GregorianCalendar.YEAR)); in FatDataBaseOutProducer() local
60 String dateString = year + "-" + month + "-" + day; in FatDataBaseOutProducer()

Completed in 120 milliseconds

123456