Home
last modified time | relevance | path

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

/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DDBTypeConversion.java154 private static int implDaysInMonth(int _nMonth, int _nYear) { in implDaysInMonth() argument
158 if (implIsLeapYear(_nYear)) in implDaysInMonth()
204 private static boolean implIsLeapYear(int _nYear) { in implIsLeapYear() argument
205 return ( ( ((_nYear % 4) == 0) in implIsLeapYear()
206 && ((_nYear % 100) != 0) in implIsLeapYear()
209 || ((_nYear % 400) == 0) in implIsLeapYear()
/trunk/main/connectivity/source/commontools/
H A Ddbconversion.cxx184 static sal_Bool implIsLeapYear(sal_Int32 _nYear) in implIsLeapYear() argument
186 return ( ( ((_nYear % 4) == 0) in implIsLeapYear()
187 && ((_nYear % 100) != 0) in implIsLeapYear()
190 || ((_nYear % 400) == 0) in implIsLeapYear()
195 static sal_Int32 implDaysInMonth(sal_Int32 _nMonth, sal_Int32 _nYear) in implDaysInMonth() argument
202 if (implIsLeapYear(_nYear)) in implDaysInMonth()

Completed in 18 milliseconds