Home
last modified time | relevance | path

Searched refs:nNewMonth (Results 1 – 7 of 7) sorted by relevance

/aoo4110/main/chart2/source/view/axes/
H A DDateHelper.cxx65 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()
/aoo4110/main/scaddins/source/analysis/
H A Danalysis.cxx642 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 Danalysishelper.cxx2911 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()
/aoo4110/main/svtools/source/control/
H A Dcalendar.cxx1473 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()
/aoo4110/main/tools/source/datetime/
H A Dtdate.cxx191 void Date::SetMonth( sal_uInt16 nNewMonth ) in SetMonth() argument
196 nDate = nDay + (((sal_uIntPtr)(nNewMonth%100))*100) + (nYear*10000); in SetMonth()
/aoo4110/main/basic/source/runtime/
H A Dmethods1.cxx2111 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()
/aoo4110/main/tools/inc/tools/
H A Ddate.hxx62 void SetMonth( sal_uInt16 nNewMonth );

Completed in 74 milliseconds