/dports/editors/libreoffice/libreoffice-7.2.6.2/tools/source/datetime/ |
H A D | tdate.cxx | 87 if ( nMonth != 2 ) in ImplDaysInMonth() 128 …SAL_WARN_IF( nMonth < 1 || 12 < nMonth, "tools.datetime", "Date::GetDaysInMonth - nMonth out of bo… in GetDaysInMonth() 129 if (nMonth < 1) in GetDaysInMonth() 130 nMonth = 1; in GetDaysInMonth() 131 else if (12 < nMonth) in GetDaysInMonth() 132 nMonth = 12; in GetDaysInMonth() 198 sal_uInt16 nMonth = 1; in lcl_DaysToDate() local 202 ++nMonth; in lcl_DaysToDate() 421 if ( !nMonth || (nMonth > 12) ) in IsValidAndGregorian() 448 if ( !nMonth || (nMonth > 12) ) in IsValidDate() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/tools/source/datetime/ |
H A D | tdate.cxx | 87 if ( nMonth != 2 ) in ImplDaysInMonth() 126 …SAL_WARN_IF( nMonth < 1 || 12 < nMonth, "tools.datetime", "Date::GetDaysInMonth - nMonth out of bo… in GetDaysInMonth() 127 if (nMonth < 1) in GetDaysInMonth() 128 nMonth = 1; in GetDaysInMonth() 129 else if (12 < nMonth) in GetDaysInMonth() 130 nMonth = 12; in GetDaysInMonth() 196 sal_uInt16 nMonth = 1; in lcl_DaysToDate() local 200 ++nMonth; in lcl_DaysToDate() 419 if ( !nMonth || (nMonth > 12) ) in IsValidAndGregorian() 427 else if ( nMonth < 10 ) in IsValidAndGregorian() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/scaddins/source/datefunc/ |
H A D | datefunc.cxx | 321 if ( nMonth != 2 ) in DaysInMonth() 322 return aDaysInMonth[nMonth-1]; in DaysInMonth() 510 sal_uInt16 nDay,nMonth,nYear; in getDiffWeeks() local 615 sal_uInt16 nDay, nMonth, nYear; in getIsLeapYear() local 616 DaysToDate(nDays,nDay,nMonth,nYear); in getIsLeapYear() 631 sal_uInt16 nDay, nMonth, nYear; in getDaysInMonth() local 632 DaysToDate(nDays,nDay,nMonth,nYear); in getDaysInMonth() 634 return DaysInMonth( nMonth, nYear ); in getDaysInMonth() 647 sal_uInt16 nDay, nMonth, nYear; in getDaysInYear() local 648 DaysToDate(nDays,nDay,nMonth,nYear); in getDaysInYear() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/scaddins/source/datefunc/ |
H A D | datefunc.cxx | 360 if ( nMonth != 2 ) in DaysInMonth() 361 return aDaysInMonth[nMonth-1]; in DaysInMonth() 549 sal_uInt16 nDay,nMonth,nYear; in getDiffWeeks() local 654 sal_uInt16 nDay, nMonth, nYear; in getIsLeapYear() local 655 DaysToDate(nDays,nDay,nMonth,nYear); in getIsLeapYear() 670 sal_uInt16 nDay, nMonth, nYear; in getDaysInMonth() local 671 DaysToDate(nDays,nDay,nMonth,nYear); in getDaysInMonth() 673 return DaysInMonth( nMonth, nYear ); in getDaysInMonth() 686 sal_uInt16 nDay, nMonth, nYear; in getDaysInYear() local 687 DaysToDate(nDays,nDay,nMonth,nYear); in getDaysInYear() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/include/tools/ |
H A D | date.hxx | 58 void setDateFromDMY( sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear ); 77 Date( sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear ) in Date() argument 78 { setDateFromDMY(nDay, nMonth, nYear); } in Date() 239 static sal_uInt16 GetDaysInMonth( sal_uInt16 nMonth, sal_Int16 nYear ); 242 static sal_Int32 DateToDays( sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear ); 244 static bool IsValidDate( sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear ); 246 static bool IsEndOfMonth(sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear);
|
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/fpdfsdk/javascript/ |
H A D | PublicMethods.cpp | 586 if (nMonth < 1 || nMonth > 12) in MakeRegularDate() 705 if (nMonth > 0 && nMonth <= 12) in MakeFormatDate() 723 if (nMonth > 0 && nMonth <= 12) in MakeFormatDate() 1160 nMonth = 1; in MakeInterDate() 1162 nMonth = 2; in MakeInterDate() 1164 nMonth = 3; in MakeInterDate() 1166 nMonth = 4; in MakeInterDate() 1168 nMonth = 5; in MakeInterDate() 1170 nMonth = 6; in MakeInterDate() 1172 nMonth = 7; in MakeInterDate() [all …]
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/neogeo/ |
H A D | neo_upd4990a.cpp | 8 UINT32 nDay; UINT32 nMonth; UINT32 nYear; member 54 uPD4990A.nMonth = 6; in uPD4990AInit() 62 uPD4990A.nMonth = tmLocalTime->tm_mon + 1; in uPD4990AInit() 128 if (uPD4990A.nDay > nMonthLength[uPD4990A.nMonth]) { in uPD4990AUpdate() 131 uPD4990A.nMonth++; in uPD4990AUpdate() 132 if (uPD4990A.nMonth > 12) { in uPD4990AUpdate() 133 uPD4990A.nMonth = 1; in uPD4990AUpdate() 194 uPD4990A.nMonth = ((uPD4990A.nRegister[1] >> 4) & 0x0F); in uPD4990AWrite() 211 uPD4990A.nRegister[1] |= (uPD4990A.nMonth ) << 4; in uPD4990AWrite()
|
/dports/devel/upp/upp/bazaar/plugin/gdal/ogr/ogrsf_frmts/mitab/ |
H A D | mitab_datfile.cpp | 1781 int nDay, nMonth, nYear, status; in ReadDateField() local 1782 nDay = nMonth = nYear = 0; in ReadDateField() 2203 int nDay, nMonth, nYear; in WriteDateField() local 2225 nMonth = atoi(szBuf+4); in WriteDateField() 2241 nMonth = atoi(papszTok[1]); in WriteDateField() 2247 nMonth = atoi(papszTok[1]); in WriteDateField() 2253 nYear = nMonth = nDay = 0; in WriteDateField() 2465 nMonth = atoi(szBuf+4); in WriteDateTimeField() 2481 nMonth= atoi(papszTok[1]); in WriteDateTimeField() 2491 nMonth= atoi(papszTok[1]); in WriteDateTimeField() [all …]
|
/dports/editors/texmaker/texmaker-5.0.3/pdfium/fpdfsdk/javascript/ |
H A D | PublicMethods.cpp | 549 if (nMonth < 1 || nMonth > 12) in MakeRegularDate() 668 if (nMonth > 0 && nMonth <= 12) in MakeFormatDate() 686 if (nMonth > 0 && nMonth <= 12) in MakeFormatDate() 1150 nMonth = 1; in MakeInterDate() 1152 nMonth = 2; in MakeInterDate() 1154 nMonth = 3; in MakeInterDate() 1156 nMonth = 4; in MakeInterDate() 1158 nMonth = 5; in MakeInterDate() 1160 nMonth = 6; in MakeInterDate() 1162 nMonth = 7; in MakeInterDate() [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/neogeo/ |
H A D | neo_upd4990a.cpp | 8 UINT32 nDay; UINT32 nMonth; UINT32 nYear; member 51 uPD4990A.nMonth = tmLocalTime.tm_mon + 1; in uPD4990AInit() 116 if (uPD4990A.nDay > nMonthLength[uPD4990A.nMonth]) { in uPD4990AUpdate() 119 uPD4990A.nMonth++; in uPD4990AUpdate() 120 if (uPD4990A.nMonth > 12) { in uPD4990AUpdate() 121 uPD4990A.nMonth = 1; in uPD4990AUpdate() 182 uPD4990A.nMonth = ((uPD4990A.nRegister[1] >> 4) & 0x0F); in uPD4990AWrite() 199 uPD4990A.nRegister[1] |= (uPD4990A.nMonth ) << 4; in uPD4990AWrite()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/ui/dataprovider/ |
H A D | datatransformation.cxx | 953 if(nMonth >= 1 && nMonth <=3) in Transform() 956 else if(nMonth >= 4 && nMonth <=6) in Transform() 959 else if(nMonth >= 7 && nMonth <=9) in Transform() 962 else if(nMonth >= 10 && nMonth <=12) in Transform() 988 if(nMonth >= 1 && nMonth <=3) in Transform() 996 else if(nMonth >= 4 && nMonth <=6) in Transform() 1004 else if(nMonth >= 7 && nMonth <=9) in Transform() 1012 else if(nMonth >= 10 && nMonth <=12) in Transform() 1042 if(nMonth >= 1 && nMonth <=3) in Transform() 1051 else if(nMonth >= 4 && nMonth <=6) in Transform() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/ui/dataprovider/ |
H A D | datatransformation.cxx | 954 if(nMonth >= 1 && nMonth <=3) in Transform() 957 else if(nMonth >= 4 && nMonth <=6) in Transform() 960 else if(nMonth >= 7 && nMonth <=9) in Transform() 963 else if(nMonth >= 10 && nMonth <=12) in Transform() 989 if(nMonth >= 1 && nMonth <=3) in Transform() 997 else if(nMonth >= 4 && nMonth <=6) in Transform() 1005 else if(nMonth >= 7 && nMonth <=9) in Transform() 1013 else if(nMonth >= 10 && nMonth <=12) in Transform() 1043 if(nMonth >= 1 && nMonth <=3) in Transform() 1052 else if(nMonth >= 4 && nMonth <=6) in Transform() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/tools/ |
H A D | date.hxx | 58 void setDateFromDMY( sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear ); 77 Date( sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear ) in Date() argument 78 { setDateFromDMY(nDay, nMonth, nYear); } in Date() 236 static sal_uInt16 GetDaysInMonth( sal_uInt16 nMonth, sal_Int16 nYear ); 239 static sal_Int32 DateToDays( sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear ); 241 static bool IsValidDate( sal_uInt16 nDay, sal_uInt16 nMonth, sal_Int16 nYear );
|
/dports/graphics/py-gdal/gdal-3.3.3/ogr/ogrsf_frmts/mitab/ |
H A D | mitab_datfile.cpp | 1724 int nMonth = 0; in ReadDateField() local 1866 int nMonth = 0; in ReadDateTimeField() local 2166 int nMonth = 0; in WriteDateField() local 2176 nMonth = atoi(szBuf + 4); in WriteDateField() 2190 nMonth = atoi(papszTok[1]); in WriteDateField() 2196 nMonth = atoi(papszTok[1]); in WriteDateField() 2203 nMonth = 0; in WriteDateField() 2395 int nMonth = 0; in WriteDateTimeField() local 2418 nMonth = atoi(szBuf + 4); in WriteDateTimeField() 2432 nMonth = atoi(papszTok[1]); in WriteDateTimeField() [all …]
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/ogr/ogrsf_frmts/mitab/ |
H A D | mitab_datfile.cpp | 1724 int nMonth = 0; in ReadDateField() local 1866 int nMonth = 0; in ReadDateTimeField() local 2166 int nMonth = 0; in WriteDateField() local 2176 nMonth = atoi(szBuf + 4); in WriteDateField() 2190 nMonth = atoi(papszTok[1]); in WriteDateField() 2196 nMonth = atoi(papszTok[1]); in WriteDateField() 2203 nMonth = 0; in WriteDateField() 2395 int nMonth = 0; in WriteDateTimeField() local 2418 nMonth = atoi(szBuf + 4); in WriteDateTimeField() 2432 nMonth = atoi(papszTok[1]); in WriteDateTimeField() [all …]
|
/dports/graphics/gdal/gdal-3.3.3/ogr/ogrsf_frmts/mitab/ |
H A D | mitab_datfile.cpp | 1724 int nMonth = 0; in ReadDateField() local 1866 int nMonth = 0; in ReadDateTimeField() local 2166 int nMonth = 0; in WriteDateField() local 2176 nMonth = atoi(szBuf + 4); in WriteDateField() 2190 nMonth = atoi(papszTok[1]); in WriteDateField() 2196 nMonth = atoi(papszTok[1]); in WriteDateField() 2203 nMonth = 0; in WriteDateField() 2395 int nMonth = 0; in WriteDateTimeField() local 2418 nMonth = atoi(szBuf + 4); in WriteDateTimeField() 2432 nMonth = atoi(papszTok[1]); in WriteDateTimeField() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/fxjs/ |
H A D | fx_date_helpers.cpp | 248 double FX_MakeDay(int nYear, int nMonth, int nDate) { in FX_MakeDay() argument 250 double m = static_cast<double>(nMonth); in FX_MakeDay() 310 int nMonth = FX_GetMonthFromTime(dt) + 1; in FX_ParseDateUsingFormat() local 356 nMonth = FX_ParseStringInteger(value, j, &nSkip, 2); in FX_ParseDateUsingFormat() 399 nMonth = FX_ParseStringInteger(value, j, &nSkip, 2); in FX_ParseDateUsingFormat() 444 nMonth = m + 1; in FX_ParseDateUsingFormat() 454 nMonth = FX_ParseStringInteger(value, j, &nSkip, 3); in FX_ParseDateUsingFormat() 483 nMonth = m + 1; in FX_ParseDateUsingFormat() 493 nMonth = FX_ParseStringInteger(value, j, &nSkip, 4); in FX_ParseDateUsingFormat() 542 if (!FX_IsValidMonth(nMonth) || !FX_IsValidDay(nDay) || in FX_ParseDateUsingFormat() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/fxjs/ |
H A D | fx_date_helpers.cpp | 249 double FX_MakeDay(int nYear, int nMonth, int nDate) { in FX_MakeDay() argument 251 double m = static_cast<double>(nMonth); in FX_MakeDay() 311 int nMonth = FX_GetMonthFromTime(dt) + 1; in FX_ParseDateUsingFormat() local 357 nMonth = FX_ParseStringInteger(value, j, &nSkip, 2); in FX_ParseDateUsingFormat() 400 nMonth = FX_ParseStringInteger(value, j, &nSkip, 2); in FX_ParseDateUsingFormat() 445 nMonth = m + 1; in FX_ParseDateUsingFormat() 455 nMonth = FX_ParseStringInteger(value, j, &nSkip, 3); in FX_ParseDateUsingFormat() 484 nMonth = m + 1; in FX_ParseDateUsingFormat() 494 nMonth = FX_ParseStringInteger(value, j, &nSkip, 4); in FX_ParseDateUsingFormat() 543 if (!FX_IsValidMonth(nMonth) || !FX_IsValidDay(nDay) || in FX_ParseDateUsingFormat() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/ucb/source/ucp/ftp/ |
H A D | ftpdirp.cxx | 66 sal_uInt16 nMonth = 0; in parseDOS() local 98 nMonth = *p - '0'; in parseDOS() 109 nMonth = 10 * nMonth + (*p - '0'); in parseDOS() 114 nSize = nMonth; in parseDOS() 115 nMonth = 0; in parseDOS() 121 nSize = nMonth; in parseDOS() 122 nMonth = 0; in parseDOS() 125 else if ((*p == '.' || *p == '-') && nMonth && nMonth <= 12) in parseDOS() 331 nMonth = *p - '0'; in parseDOS() 389 nMonth = 10 * nMonth + (*p - '0'); in parseDOS() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/ucb/source/ucp/ftp/ |
H A D | ftpdirp.cxx | 66 sal_uInt16 nMonth = 0; in parseDOS() local 98 nMonth = *p - '0'; in parseDOS() 109 nMonth = 10 * nMonth + (*p - '0'); in parseDOS() 114 nSize = nMonth; in parseDOS() 115 nMonth = 0; in parseDOS() 121 nSize = nMonth; in parseDOS() 122 nMonth = 0; in parseDOS() 125 else if ((*p == '.' || *p == '-') && nMonth && nMonth <= 12) in parseDOS() 331 nMonth = *p - '0'; in parseDOS() 389 nMonth = 10 * nMonth + (*p - '0'); in parseDOS() [all …]
|
/dports/editors/lazarus/lazarus/components/lazreport/source/addons/addfunction/ |
H A D | frFuncDate.pas | 22 function frDaysPerMonth(nYear, nMonth: Integer): Integer; in frDaysPerMonth() 56 function frDaysPerMonth(nYear, nMonth: Integer): Integer; in frDaysPerMonth() 63 Result := DaysInMonth[nMonth]; 64 if (nMonth = 2) and frIsLeapYear(nYear) then Inc(Result); // leap-year Feb is special 281 nDay, nMonth, nYear: LongInt; 287 nMonth := StrToInt(frExtractWord(2,cDelta,[';'])); 290 Result := frIncDate(dDate, nDay, nMonth, nYear);
|
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/lazreport/source/addons/addfunction/ |
H A D | frFuncDate.pas | 22 function frDaysPerMonth(nYear, nMonth: Integer): Integer; in frDaysPerMonth() 56 function frDaysPerMonth(nYear, nMonth: Integer): Integer; in frDaysPerMonth() 63 Result := DaysInMonth[nMonth]; 64 if (nMonth = 2) and frIsLeapYear(nYear) then Inc(Result); // leap-year Feb is special 281 nDay, nMonth, nYear: LongInt; 287 nMonth := StrToInt(frExtractWord(2,cDelta,[';'])); 290 Result := frIncDate(dDate, nDay, nMonth, nYear);
|
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/lazreport/source/addons/addfunction/ |
H A D | frFuncDate.pas | 22 function frDaysPerMonth(nYear, nMonth: Integer): Integer; in frDaysPerMonth() 56 function frDaysPerMonth(nYear, nMonth: Integer): Integer; in frDaysPerMonth() 63 Result := DaysInMonth[nMonth]; 64 if (nMonth = 2) and frIsLeapYear(nYear) then Inc(Result); // leap-year Feb is special 281 nDay, nMonth, nYear: LongInt; 287 nMonth := StrToInt(frExtractWord(2,cDelta,[';'])); 290 Result := frIncDate(dDate, nDay, nMonth, nYear);
|
/dports/editors/lazarus-qt5/lazarus/components/lazreport/source/addons/addfunction/ |
H A D | frFuncDate.pas | 22 function frDaysPerMonth(nYear, nMonth: Integer): Integer; in frDaysPerMonth() 56 function frDaysPerMonth(nYear, nMonth: Integer): Integer; in frDaysPerMonth() 63 Result := DaysInMonth[nMonth]; 64 if (nMonth = 2) and frIsLeapYear(nYear) then Inc(Result); // leap-year Feb is special 281 nDay, nMonth, nYear: LongInt; 287 nMonth := StrToInt(frExtractWord(2,cDelta,[';'])); 290 Result := frIncDate(dDate, nDay, nMonth, nYear);
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/inc/ |
H A D | docoptio.hxx | 33 sal_uInt16 nMonth; member in ScDocOptions 67 { rD = nDay; rM = nMonth; rY = nYear;} in GetDate() 69 { nDay = nD; nMonth = nM; nYear = nY; } in SetDate() 113 && rOpt.nMonth == nMonth in operator ==()
|