/trunk/main/basic/source/runtime/ |
H A D | methods.cxx | 1841 Date aCurDate( nDay, nMonth, nYear ); in implDateSerial() 1849 if ( (nMonth < 1 || nMonth > 12 )|| in implDateSerial() 1859 aCurDate = Date( 1, (( nMonth % 12 ) > 0 ) ? ( nMonth % 12 ) : 12 + ( nMonth % 12 ), nYear ); in implDateSerial() 1864 if( ( nMonth < 1 ) || ( nMonth > 12 ) ) in implDateSerial() 1868 sal_Int16 nYearAdj = ( nMonth /12 ); // default to positive months inputed in implDateSerial() 1869 if ( nMonth <=0 ) in implDateSerial() 1870 nYearAdj = ( ( nMonth -12 ) / 12 ); in implDateSerial() 1946 sal_Int16 nMonth = rPar.Get(2)->GetInteger(); in RTLFUNC() local 1950 if( implDateSerial( nYear, nMonth, nDay, dDate ) ) in RTLFUNC() 2176 sal_Int16 nMonth = implGetDateMonth( rPar.Get(1)->GetDate() ); in RTLFUNC() local [all …]
|
H A D | methods1.cxx | 1988 sal_Bool implDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int16 nDay, double& rdRet ); 2048 sal_Int16 nYear, nMonth, nDay; in RTLFUNC() local 2050 implGetDayMonthYear( nYear, nMonth, nDay, dDate ); in RTLFUNC() 2057 nTargetMonth = nMonth; in RTLFUNC() 2083 nTargetMonth = nMonth - nMonthAdd; in RTLFUNC() 2093 nTargetMonth = nMonth + nMonthAdd; in RTLFUNC()
|
/trunk/main/basic/source/sbx/ |
H A D | sbxscan.cxx | 716 sal_Bool implDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int16 nDay, double& rdRet );
|
/trunk/main/chart2/source/tools/ |
H A D | NumberFormatterWrapper.cxx | 101 sal_uInt16 nYear = 1899,nDay = 30,nMonth = 12; in getNullDate() local 102 Date aRet(nDay,nMonth,nYear); in getNullDate() 129 sal_uInt16 nYear = 1899,nDay = 30,nMonth = 12; in getFormattedString() local 136 nMonth = pDate->GetMonth(); in getFormattedString() 147 m_pNumberFormatter->ChangeNullDate(nDay,nMonth,nYear); in getFormattedString()
|
/trunk/main/chart2/source/view/axes/ |
H A D | DateHelper.cxx | 64 long nMonth = rD.GetMonth()+nMonthDistance; in GetDateSomeMonthsAway() local 65 long nNewMonth = nMonth%12; in GetDateSomeMonthsAway() 66 long nNewYear = rD.GetYear() + nMonth/12; in GetDateSomeMonthsAway() 67 if( nMonth <= 0 || !nNewMonth ) in GetDateSomeMonthsAway()
|
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/ |
H A D | DBTypeConversion.java | 286 nMonth = 0, in toDate() local 292 nMonth = (short)safeParseInt(tokens[1]); in toDate() 298 return new Date(nDay,nMonth,nYear); in toDate()
|
/trunk/main/connectivity/source/commontools/ |
H A D | dbconversion.cxx | 420 nMonth = 0, in toDate() local 425 nMonth = (sal_uInt16)_sSQLString.getToken(0,sDateSep,nIndex).toInt32(); in toDate() 430 return Date(nDay,nMonth,nYear); in toDate()
|
/trunk/main/connectivity/source/drivers/dbase/ |
H A D | DTable.cxx | 981 const sal_uInt16 nMonth = (sal_uInt16)aStr.Copy( 4, 2 ).ToInt32(); in fetchRow() local 984 const ::com::sun::star::util::Date aDate(nDay,nMonth,nYear); in fetchRow()
|
/trunk/main/desktop/source/app/ |
H A D | appfirststart.cxx | 180 sal_Int32 nMonth = 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/desktop/source/so_comp/ |
H A D | evaluation.cxx | 169 int nMonth = ( TIMEBOMB % 10000 ) / 100; in getMaterial() local 171 com::sun::star::util::Date aDate( nDay, nMonth, nYear ); in getMaterial()
|
/trunk/main/forms/source/xforms/xpathlib/ |
H A D | xpathlib.cxx | 319 sal_Int32 nMonth = aDateString.getToken(0, '-', nIndex).toInt32(); in parseDateTime() local 326 Date tmpDate((sal_uInt16)nDay, (sal_uInt16)nMonth, (sal_uInt16)nYear); in parseDateTime() 388 …onst xmlChar* aString, sal_Bool& bNegative, sal_Int32& nYears, sal_Int32& nMonth, sal_Int32& nDays, in parseDuration() argument 417 nMonth = atoi(pString); in parseDuration()
|
/trunk/main/framework/source/fwi/classes/ |
H A D | converter.cxx | 199 sal_uInt16 nMonth = (sal_uInt16)(sSource.getToken( 0, (sal_Unicode)'.', nIndex ).toInt32()); in convert_String2DateTime() local 213 Date aDate( nDay , nMonth, nYear ); in convert_String2DateTime() 259 sal_Int32 nMonth = aSource.GetMonth(); in convert_DateTime2ISO8601() local 279 if (nMonth<10) in convert_DateTime2ISO8601() 281 sBuffer.append( (sal_Int32)nMonth ); in convert_DateTime2ISO8601()
|
/trunk/main/framework/source/services/ |
H A D | license.cxx | 235 sal_Int32 nMonth = aDateString.getToken(0, '-', nIndex).toInt32(); in _parseDateTime() local 242 Date tmpDate((sal_uInt16)nDay, (sal_uInt16)nMonth, (sal_uInt16)nYear); in _parseDateTime()
|
/trunk/main/i18npool/inc/ |
H A D | calendar_gregorian.hxx | 108 …void submitValues( sal_Int32 nYear, sal_Int32 nMonth, sal_Int32 nDay, sal_Int32 nHour, sal_Int32 n…
|
/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 460 if (nMonth >= 0) in submitValues() 461 body->set( UCAL_MONTH, nMonth); 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() 542 nMonth = body->get( UCAL_MONTH, status = U_ZERO_ERROR); in setValue() 544 nMonth = -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/CLI/CSharp/Spreadsheet/ |
H A D | SpreadsheetDocHelper.cs | 148 int nDay, int nMonth, int nYear ) in setDate() argument 153 String aDateStr = nMonth + "/" + nDay + "/" + nYear; in setDate()
|
/trunk/main/odk/examples/DevelopersGuide/Forms/ |
H A D | SalesFilter.java | 215 int nMonth = aCal.get( Calendar.MONTH ) + 1; in getOdbcDate() local 216 if ( nMonth < 10 ) in getOdbcDate() 218 sOdbcDate += (new Integer( nMonth ) ).toString(); in getOdbcDate()
|
/trunk/main/odk/examples/DevelopersGuide/Spreadsheet/ |
H A D | SpreadsheetDocHelper.java | 185 int nDay, int nMonth, int nYear ) throws RuntimeException, Exception in setDate() argument 189 String aDateStr = nMonth + "/" + nDay + "/" + nYear; in setDate()
|
/trunk/main/sax/source/tools/ |
H A D | converter.cxx | 1343 lcl_MaxDaysPerMonth(const sal_Int32 nMonth, const sal_Int32 nYear) in lcl_MaxDaysPerMonth() argument 1347 OSL_ASSERT(0 < nMonth && nMonth <= 12); in lcl_MaxDaysPerMonth() 1348 if ((2 == nMonth) && lcl_isLeapYear(nYear)) in lcl_MaxDaysPerMonth() 1352 return s_MaxDaysPerMonth[nMonth - 1]; in lcl_MaxDaysPerMonth() 1386 sal_Int32 nMonth(0); in convertDateOrDateTime() local 1389 bSuccess = readDateTimeComponent(string, nPos, nMonth, 2, true); in convertDateOrDateTime() 1390 bSuccess &= (0 < nMonth) && (nMonth <= 12); in convertDateOrDateTime() 1498 lcl_addDay(bNegative, nYear, nMonth, nDay, 1); in convertDateOrDateTime() 1570 lcl_addTimezone(bNegative, nYear, nMonth, nDay, nHours, nMinutes, in convertDateOrDateTime() 1581 rDateTime.Month = static_cast<sal_uInt16>(nMonth); in convertDateOrDateTime() [all …]
|
/trunk/main/sc/addin/datefunc/ |
H A D | dfa.cl | 102 * @param nMonth the number of the Month 109 if ( nMonth != 2 ) 110 return aDaysInMonth[nMonth-1]; 116 return aDaysInMonth[nMonth-1]; 130 * @param nMonth the number of the Month 143 for( i = 1; i < nMonth; i++ ) 277 USHORT nDay,nMonth,nYear; 388 USHORT nDay, nMonth, nYear; 410 USHORT nDay, nMonth, nYear; 444 USHORT nDay, nMonth, nYear; [all …]
|
/trunk/main/sc/inc/ |
H A D | docoptio.hxx | 39 sal_uInt16 nMonth; member in ScDocOptions 72 { rD = nDay; rM = nMonth; rY = nYear;} in GetDate() 74 { nDay = nD; nMonth = nM; nYear = nY; } in SetDate() 107 rOpt.nMonth = nMonth; in CopyTo() 126 nMonth = rCpy.nMonth; in operator =() 148 && rOpt.nMonth == nMonth in operator ==()
|
/trunk/main/sc/source/core/data/ |
H A D | table4.cxx | 1222 long nMonth = aDate.GetMonth(); in IncDate() local 1225 nMonth += nInc; in IncDate() 1229 if (nMonth > 12) in IncDate() 1231 long nYAdd = (nMonth-1) / 12; in IncDate() 1232 nMonth -= nYAdd * 12; in IncDate() 1238 if (nMonth < 1) in IncDate() 1240 long nYAdd = 1 - nMonth / 12; // positiv in IncDate() 1241 nMonth += nYAdd * 12; in IncDate() 1252 aDate.SetMonth((sal_uInt16) nMonth); in IncDate()
|
/trunk/main/sc/source/core/inc/ |
H A D | interpre.hxx | 604 double GetDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int16 nDay, bool bStrict );
|
/trunk/main/sc/source/core/tool/ |
H A D | docoptio.cxx | 86 nMonth( rCpy.nMonth ), in ScDocOptions() 116 nMonth = 12; in ResetDocOptions()
|
H A D | interpr2.cxx | 77 nY = nYear, nM = nMonth, nD = nDay; in GetDateSerial() 80 if (nMonth > 0) in GetDateSerial() 82 nY = nYear + (nMonth-1) / 12; in GetDateSerial() 83 nM = ((nMonth-1) % 12) + 1; in GetDateSerial() 87 nY = nYear + (nMonth-12) / 12; in GetDateSerial() 88 nM = 12 - (-nMonth) % 12; in GetDateSerial() 247 sal_Int16 nDay, nMonth, nYear; in ScEasterSunday() local 267 nMonth = sal::static_int_cast<sal_Int16>( int(O / 31) ); in ScEasterSunday() 268 PushDouble( GetDateSerial( nYear, nMonth, nDay, true ) ); in ScEasterSunday() 279 sal_Int16 nMonth = (sal_Int16) ::rtl::math::approxFloor(GetDouble()); in ScGetDate() local [all …]
|