Searched refs:nNewMonth (Results 1 – 7 of 7) sorted by relevance
/aoo42x/main/scaddins/source/analysis/ |
H A D | analysis.cxx | 642 sal_Int32 nNewMonth = nMonth + nMonths; in getEomonth() local 644 if( nNewMonth > 12 ) in getEomonth() 646 nYear = sal::static_int_cast<sal_uInt16>( nYear + ( nNewMonth / 12 ) ); in getEomonth() 647 nNewMonth %= 12; in getEomonth() 649 else if( nNewMonth < 1 ) in getEomonth() 651 nNewMonth = -nNewMonth; in getEomonth() 652 nYear = sal::static_int_cast<sal_uInt16>( nYear - ( nNewMonth / 12 ) ); in getEomonth() 654 nNewMonth %= 12; in getEomonth() 655 nNewMonth = 12 - nNewMonth; in getEomonth() 658 …return DateToDays( DaysInMonth( sal_uInt16( nNewMonth ), nYear ), sal_uInt16( nNewMonth ), nYear )… in getEomonth()
|
H A D | analysishelper.cxx | 2911 sal_Int32 nNewMonth = nMonthCount + nMonth; in addMonths() local 2912 if( nNewMonth > 12 ) in addMonths() 2914 --nNewMonth; in addMonths() 2915 doAddYears( nNewMonth / 12 ); in addMonths() 2916 nMonth = static_cast< sal_uInt16 >( nNewMonth % 12 ) + 1; in addMonths() 2918 else if( nNewMonth < 1 ) in addMonths() 2920 doAddYears( nNewMonth / 12 - 1 ); in addMonths() 2921 nMonth = static_cast< sal_uInt16 >( nNewMonth % 12 + 12 ); in addMonths() 2924 nMonth = static_cast< sal_uInt16 >( nNewMonth ); in addMonths()
|
/aoo42x/main/chart2/source/view/axes/ |
H A D | DateHelper.cxx | 65 long nNewMonth = nMonth%12; in GetDateSomeMonthsAway() local 67 if( nMonth <= 0 || !nNewMonth ) in GetDateSomeMonthsAway() 69 if( nNewMonth <= 0 ) in GetDateSomeMonthsAway() 70 nNewMonth += 12; in GetDateSomeMonthsAway() 71 aRet.SetMonth( sal_uInt16(nNewMonth) ); in GetDateSomeMonthsAway()
|
/aoo42x/main/svtools/source/control/ |
H A D | calendar.cxx | 1473 sal_uInt16 nNewMonth = nCurItemId % 1000; in ImplShowMenu() local 1475 if ( nTempMonthOff < nNewMonth ) in ImplShowMenu() 1476 nNewMonth = nNewMonth - nTempMonthOff; in ImplShowMenu() 1480 nNewMonth = 12-(nTempMonthOff-nNewMonth); in ImplShowMenu() 1483 SetFirstDate( Date( 1, nNewMonth, nNewYear ) ); in ImplShowMenu()
|
/aoo42x/main/tools/source/datetime/ |
H A D | tdate.cxx | 191 void Date::SetMonth( sal_uInt16 nNewMonth ) in SetMonth() argument 196 nDate = nDay + (((sal_uIntPtr)(nNewMonth%100))*100) + (nYear*10000); in SetMonth()
|
/aoo42x/main/basic/source/runtime/ |
H A D | methods1.cxx | 2111 sal_Int16 nNewYear, nNewMonth, nNewDay; in RTLFUNC() local 2112 implGetDayMonthYear( nNewYear, nNewMonth, nNewDay, dNewDate ); in RTLFUNC() 2119 while( nNewMonth > nTargetMonth ) in RTLFUNC() 2123 implGetDayMonthYear( nNewYear, nNewMonth, nNewDay, dNewDate ); in RTLFUNC()
|
/aoo42x/main/tools/inc/tools/ |
H A D | date.hxx | 62 void SetMonth( sal_uInt16 nNewMonth );
|
Completed in 81 milliseconds