/trunk/main/sc/addin/datefunc/ |
H A D | dfa.cl | 129 * @param nDay the day of the Month 145 nDays += nDay; 277 USHORT nDay,nMonth,nYear; 280 DaysToDate(nDays1,&nDay,&nMonth,&nYear); 388 USHORT nDay, nMonth, nYear; 394 DaysToDate(nDays,&nDay,&nMonth,&nYear); 410 USHORT nDay, nMonth, nYear; 416 DaysToDate(nDays,&nDay,&nMonth,&nYear); 444 USHORT nDay, nMonth, nYear; 451 DaysToDate(nDays,&nDay,&nMonth,&nYear); [all …]
|
/trunk/main/svl/source/numbers/ |
H A D | zforlist.cxx | 323 void SvNumberFormatter::ChangeNullDate(sal_uInt16 nDay, in ChangeNullDate() argument 327 pFormatScanner->ChangeNullDate(nDay, nMonth, nYear); in ChangeNullDate() 328 pStringScanner->ChangeNullDate(nDay, nMonth, nYear); in ChangeNullDate()
|
/trunk/main/sc/source/core/tool/ |
H A D | interpr2.cxx | 68 double ScInterpreter::GetDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int16 nDay, bool bStric… in GetDateSerial() argument 77 nY = nYear, nM = nMonth, nD = nDay; in GetDateSerial() 94 aDate += nDay - 1; in GetDateSerial() 247 sal_Int16 nDay, nMonth, nYear; in ScEasterSunday() local 266 nDay = sal::static_int_cast<sal_Int16>( O % 31 + 1 ); in ScEasterSunday() 268 PushDouble( GetDateSerial( nYear, nMonth, nDay, true ) ); in ScEasterSunday() 278 sal_Int16 nDay = (sal_Int16) ::rtl::math::approxFloor(GetDouble()); in ScGetDate() local 285 PushDouble(GetDateSerial(nYear, nMonth, nDay, false)); in ScGetDate()
|
/trunk/main/sc/source/ui/docshell/ |
H A D | impex.cxx | 1006 sal_uInt16 nDay = (sal_uInt16) rStr.Copy( nStart[nDP], nEnd[nDP]+1-nStart[nDP] ).ToInt32(); in lcl_PutString() local 1062 if ( nDay && nMonth && nDay<=31 && nMonth<=nNumMonths ) in lcl_PutString() 1065 pCalendar->setValue( i18n::CalendarFieldIndex::DAY_OF_MONTH, nDay ); in lcl_PutString()
|
/trunk/main/connectivity/source/drivers/dbase/ |
H A D | DTable.cxx | 982 const sal_uInt16 nDay = (sal_uInt16)aStr.Copy( 6, 2 ).ToInt32(); in fetchRow() local 984 const ::com::sun::star::util::Date aDate(nDay,nMonth,nYear); in fetchRow()
|
/trunk/main/i18npool/source/calendar/ |
H A D | calendar_gregorian.cxx | 453 sal_Int32 nMonth, sal_Int32 nDay, sal_Int32 nHour, sal_Int32 nMinute, in submitValues() argument 462 if (nDay >= 0) in submitValues() 463 body->set( UCAL_DATE, nDay); in submitValues() 528 …sal_Int32 nZone1, nDST1, nYear, nMonth, nDay, nHour, nMinute, nSecond, nMilliSecond, nZone0, nDST0; in setValue() local 530 nYear = nMonth = nDay = nHour = nMinute = nSecond = nMilliSecond = -1; in setValue() 548 nDay = body->get( UCAL_DATE, status = U_ZERO_ERROR); in setValue() 550 nDay = -1; in setValue() 590 … submitValues( nYear, nMonth, nDay, nHour, nMinute, nSecond, nMilliSecond, nZone0, nDST0); in setValue() 641 … submitValues( nYear, nMonth, nDay, nHour, nMinute, nSecond, nMilliSecond, nZone2, nDST2); in setValue() 687 … submitValues( nYear, nMonth, nDay, nHour, nMinute, nSecond, nMilliSecond, nZone3, nDST3); in setValue()
|
/trunk/main/odk/examples/DevelopersGuide/Forms/ |
H A D | SalesFilter.java | 221 int nDay = aCal.get( Calendar.DAY_OF_MONTH ); in getOdbcDate() local 222 if ( nDay < 10 ) in getOdbcDate() 224 sOdbcDate += (new Integer( nDay ) ).toString(); in getOdbcDate()
|
/trunk/main/scaddins/source/analysis/ |
H A D | analysishelper.cxx | 180 nDays += nDay; in DateToDays() 1626 if( !nDay ) in Insert() 1629 nDay += nNullDate; in Insert() 1631 Insert( nDay ); in Insert() 2812 nDay( 1 ), in ScaDate() 2834 nDay( rCopy.nDay ), in ScaDate() 2849 nDay = rCopy.nDay; in operator =() 2867 nDay = 30; in setDay() 2988 nDiff += aTo.nDay - aFrom.nDay; in getDiff() 2998 if( nDay != rCmp.nDay ) in operator <() [all …]
|
/trunk/main/desktop/source/app/ |
H A D | appfirststart.cxx | 181 sal_Int32 nDay = aDateString.getToken(0, '-', nIndex).toInt32(); in impl_parseDateTime() local 187 Date tmpDate((sal_uInt16)nDay, (sal_uInt16)nMonth, (sal_uInt16)nYear); in impl_parseDateTime()
|
/trunk/main/scaddins/source/datefunc/ |
H A D | datefunc.cxx | 604 nDays += nDay; in DateToDays() 763 sal_uInt16 nDay,nMonth,nYear; in getDiffWeeks() local 764 DaysToDate( nDays1, nDay, nMonth, nYear ); in getDiffWeeks() 865 sal_uInt16 nDay, nMonth, nYear; in getIsLeapYear() local 866 DaysToDate(nDays,nDay,nMonth,nYear); in getIsLeapYear() 882 sal_uInt16 nDay, nMonth, nYear; in getDaysInMonth() local 883 DaysToDate(nDays,nDay,nMonth,nYear); in getDaysInMonth() 899 sal_uInt16 nDay, nMonth, nYear; in getDaysInYear() local 900 DaysToDate(nDays,nDay,nMonth,nYear); in getDaysInYear() 928 sal_uInt16 nDay, nMonth, nYear; in getWeeksInYear() local [all …]
|
/trunk/main/xmlsecurity/source/helper/ |
H A D | xsecctl.cxx | 207 sal_Int32 nDay = 30; in convertDateTime() local 231 if ( !convertNumber( nDay, aDateStr.getToken( 0, '-', n ), 0, 31 ) ) in convertDateTime() 265 rDateTime.Day = (sal_uInt16)nDay; in convertDateTime()
|
/trunk/main/xmloff/source/meta/ |
H A D | xmlversion.cxx | 270 sal_Int32 nDay = 1; in ParseISODateTimeString() local 298 nDay = aDateStr.getToken( 0, '-', n ).toInt32(); in ParseISODateTimeString() 299 if ( nDay > 31 ) in ParseISODateTimeString() 340 rDateTime.Day = sal::static_int_cast< sal_uInt16 >(nDay); in ParseISODateTimeString()
|
/trunk/main/xmloff/source/core/ |
H A D | xmluconv.cxx | 1252 sal_Int32 nDay = 30; in convertDateTime() local 1276 if ( !convertNumber( nDay, aDateStr.getToken( 0, '-', n ), 0, 31 ) ) in convertDateTime() 1310 rDateTime.Day = (sal_uInt16)nDay; in convertDateTime()
|
/trunk/main/vcl/source/control/ |
H A D | field2.cxx | 1210 sal_uInt16 nDay = 0; in ImplDateGetValue() local 1224 nDay = ImplCutNumberFromString( aStr ); in ImplDateGetValue() 1262 nDay = ImplGetNum( pBuf, bError ); in ImplDateGetValue() 1275 nDay = ImplGetNum( pBuf, bError ); in ImplDateGetValue() 1291 nDay = ImplGetNum( pBuf, bError ); in ImplDateGetValue() 1302 if ( bError || !nDay || !nMonth ) in ImplDateGetValue() 1305 Date aNewDate( nDay, nMonth, nYear ); in ImplDateGetValue() 1385 sal_uInt16 nDay = rDate.GetDay(); in ImplGetDateAsText() local 1402 pBuf = ImplAddNum( pBuf, nDay, 2 ); in ImplGetDateAsText() 1414 pBuf = ImplAddNum( pBuf, nDay, 2 ); in ImplGetDateAsText() [all …]
|
/trunk/main/unotools/source/i18n/ |
H A D | calendarwrapper.cxx | 489 void CalendarWrapper::setFirstDayOfWeek( sal_Int16 nDay ) in setFirstDayOfWeek() argument 494 xC->setFirstDayOfWeek( nDay ); in setFirstDayOfWeek()
|
H A D | localedatawrapper.cxx | 1055 xub_StrLen nDay = rCode.Search( 'D' ); in scanDateFormatImpl() local 1065 nDay = rCode.Search( 'P' ); in scanDateFormatImpl() 1069 else if ( nDay == STRING_NOTFOUND ) in scanDateFormatImpl() 1073 nDay = rCode.Search( 'T' ); // German in scanDateFormatImpl() 1074 if ( nDay != STRING_NOTFOUND ) in scanDateFormatImpl() 1082 if ( nDay == STRING_NOTFOUND ) in scanDateFormatImpl() 1103 if ( nDay == STRING_NOTFOUND ) in scanDateFormatImpl() 1104 nDay = rCode.Len(); in scanDateFormatImpl() 1112 if ( nDay <= nMonth && nMonth <= nYear ) in scanDateFormatImpl() 1114 else if ( nMonth <= nDay && nDay <= nYear ) in scanDateFormatImpl() [all …]
|
/trunk/main/unotools/inc/unotools/ |
H A D | calendarwrapper.hxx | 85 void setFirstDayOfWeek( sal_Int16 nDay );
|
/trunk/main/ucb/workben/ucb/ |
H A D | srcharg.cxx | 379 USHORT nDay = 0; in parseSearchArgument() local 381 nDay = INetMIME::getWeight(*r++); in parseSearchArgument() 385 nDay = 10 * nDay + INetMIME::getWeight(*r++); in parseSearchArgument() 394 if (bOK && Date(nDay, nMonth, nYear).IsValid()) in parseSearchArgument() 397 aTheOperand <<= util::Date(nDay, nMonth, nYear); in parseSearchArgument()
|
/trunk/main/ucb/source/ucp/odma/ |
H A D | odma_provider.cxx | 306 nDay = 0; in toDate() local 309 nDay = (sal_uInt16)_sSQLString.copy(6,2).toInt32(); in toDate() 311 return util::Date(nDay,nMonth,nYear); in toDate()
|
/trunk/main/ucb/source/ucp/ftp/ |
H A D | ftpdirp.cxx | 85 sal_uInt16 nDay = 0; in parseDOS() local 156 nDay = 10 * nDay + (*p - '0'); in parseDOS() 161 else if ((*p == '.' || *p == '-') && nDay && nDay <= 31) in parseDOS() 425 nDay = 10 * nDay + (*p - '0'); in parseDOS() 430 else if (*p == '-' && nDay && nDay <= 31) in parseDOS() 713 sal_uInt16 nDay; in parseVMS() local 719 nDay = *p++ - '0'; in parseVMS() 725 nDay = 10 * nDay + (*p++ - '0'); in parseVMS() 1138 nDay = 10 * nDay + (pStart[1] - '0'); in parseUNIX_isDayField() 1140 if (!nDay || nDay > 31) in parseUNIX_isDayField() [all …]
|
/trunk/main/tools/source/datetime/ |
H A D | tdate.cxx | 92 nDays += nDay; in DateToDays() 203 sal_uIntPtr nDay = GetDay(); in SetYear() local 220 sal_uInt16 nDay = GetDay(); in GetDayOfYear() local 223 return nDay; in GetDayOfYear() 306 sal_uInt16 nDay; in GetWeekOfYear() local 337 sal_uInt16 nDay = GetDay(); in IsValid() local 343 if ( !nDay || (nDay > DaysInMonth( nMonth, nYear )) ) in IsValid() 362 sal_uInt16 nDay; in operator +=() local 385 sal_uInt16 nDay; in operator -=() local 408 sal_uInt16 nDay; in operator ++() local [all …]
|
/trunk/main/tools/inc/tools/ |
H A D | date.hxx | 53 Date( sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear ) in Date() argument 54 { nDate = ( sal_uInt32( nDay % 100 ) ) + in Date() 112 static long DateToDays( sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear );
|
/trunk/main/testtools/source/cliversioning/ |
H A D | version.cs | 362 int nDay, int nMonth, int nYear ) in setDate() argument 367 String aDateStr = nMonth + "/" + nDay + "/" + nYear; in setDate()
|
/trunk/main/sw/source/core/bastyp/ |
H A D | calc.cxx | 1246 sal_Int32 nDay = (sal_Int32) floor( e.GetDouble() ); in Term() local 1247 nDay = ( nDay & 0x000000FF ) << 24; in Term() 1248 left = lcl_ConvertToDateValue( rDoc, nDay + nYearMonth ); in Term()
|
/trunk/main/svtools/source/control/ |
H A D | calendar.cxx | 354 switch (nDay) in SetWeekStart() 378 switch (nDay) in ImplGetWeekStart() 524 nDay++; in ImplFormat() 525 nDay %= 7; in ImplFormat() 655 for ( nDay = 0; nDay < nDayIndex; nDay++ ) in ImplHitTest() 667 for ( nDay = 1; nDay <= nDaysInMonth; nDay++ ) in ImplHitTest() 696 for ( nDay = 1; nDay <= nDayCount; nDay++ ) in ImplHitTest() 1147 for ( nDay = 0; nDay < nDayIndex; nDay++ ) in ImplDraw() 1155 for ( nDay = 1; nDay <= nDaysInMonth; nDay++ ) in ImplDraw() 1176 for ( nDay = 1; nDay <= nDayCount; nDay++ ) in ImplDraw() [all …]
|