Home
last modified time | relevance | path

Searched refs:aDate1 (Results 1 – 2 of 2) sorted by relevance

/aoo4110/main/sc/source/core/data/
H A Dtable4.cxx234 Date aDate1 = aNullDate; in FillAnalyse() local
236 aDate1 += (long)nVal; in FillAnalyse()
240 if ( aDate1 != aDate2 ) in FillAnalyse()
243 long nDDiff = aDate2.GetDay() - (long) aDate1.GetDay(); in FillAnalyse()
245 long nYDiff = aDate2.GetYear() - (long) aDate1.GetYear(); in FillAnalyse()
249 nCmpInc = aDate2 - aDate1; in FillAnalyse()
269 if ( aDate2-aDate1 != nCmpInc ) in FillAnalyse()
274 nDDiff = aDate2.GetDay() - (long) aDate1.GetDay(); in FillAnalyse()
275 nMDiff = aDate2.GetMonth() - (long) aDate1.GetMonth(); in FillAnalyse()
276 nYDiff = aDate2.GetYear() - (long) aDate1.GetYear(); in FillAnalyse()
[all …]
/aoo4110/main/sc/source/core/tool/
H A Dinterpr2.cxx372 Date aDate1 = *(pFormatter->GetNullDate()); in ScGetDiffDate360() local
376 if (aDate1.GetDay() == 31) in ScGetDiffDate360()
377 aDate1 -= (sal_uLong) 1; in ScGetDiffDate360()
380 if (aDate1.GetMonth() == 2) in ScGetDiffDate360()
382 switch ( aDate1.GetDay() ) in ScGetDiffDate360()
385 if ( !aDate1.IsLeapYear() ) in ScGetDiffDate360()
386 aDate1.SetDay(30); in ScGetDiffDate360()
389 aDate1.SetDay(30); in ScGetDiffDate360()
398 if (aDate1.GetDay() == 30) in ScGetDiffDate360()
407 - (double) aDate1.GetDay() - (double) aDate1.GetMonth() * 30.0 in ScGetDiffDate360()
[all …]

Completed in 41 milliseconds