/external/pdfium/core/fxcrt/ |
D | cfx_datetime.cpp | 29 int32_t DaysBeforeMonthInYear(int32_t iYear, uint8_t iMonth) { in DaysBeforeMonthInYear() argument 31 ASSERT(iMonth >= 1 && iMonth <= 12); in DaysBeforeMonthInYear() 35 return p[iMonth - 1]; in DaysBeforeMonthInYear() 44 uint8_t iMonth, in DateToDays() argument 48 ASSERT(iMonth >= 1 && iMonth <= 12); in DateToDays() 49 ASSERT(iDay >= 1 && iDay <= FX_DaysInMonth(iYear, iMonth)); in DateToDays() 51 int64_t iDays = DaysBeforeMonthInYear(iYear, iMonth); in DateToDays() 79 uint8_t FX_DaysInMonth(int32_t iYear, uint8_t iMonth) { in FX_DaysInMonth() argument 81 ASSERT(iMonth >= 1 && iMonth <= 12); in FX_DaysInMonth() 85 return p[iMonth - 1]; in FX_DaysInMonth()
|
D | cfx_datetime.h | 13 uint8_t FX_DaysInMonth(int32_t iYear, uint8_t iMonth);
|
/external/pdfium/xfa/fwl/ |
D | cfwl_monthcalendar.h | 40 void SetSelect(int32_t iYear, int32_t iMonth, int32_t iDay); 44 DATE() : iYear(0), iMonth(0), iDay(0) {} in DATE() 47 : iYear(year), iMonth(month), iDay(day) {} in DATE() 53 if (iMonth < right.iMonth) 55 if (iMonth == right.iMonth) 65 if (iMonth > right.iMonth) 67 if (iMonth == right.iMonth) 74 int32_t iMonth; member 139 void ChangeToMonth(int32_t iYear, int32_t iMonth); 143 WideString GetHeadText(int32_t iYear, int32_t iMonth); [all …]
|
D | cfwl_datetimepicker.cpp | 140 int32_t& iMonth, in GetCurSel() argument 143 iMonth = m_iMonth; in GetCurSel() 148 int32_t iMonth, in SetCurSel() argument 152 if (iMonth <= 0 || iMonth >= 13) in SetCurSel() 158 m_iMonth = iMonth; in SetCurSel() 160 m_pMonthCal->SetSelect(iYear, iMonth, iDay); in SetCurSel() 212 int32_t iMonth, in FormatDateString() argument 216 return WideString::Format(L"%d-%d-%d", iYear, iMonth, iDay); in FormatDateString() 221 return WideString::Format(L"%d Year %d Month %d Day", iYear, iMonth, iDay); in FormatDateString() 307 int32_t iMonth, in ProcessSelChanged() argument [all …]
|
D | cfwl_monthcalendar.cpp | 175 int32_t iMonth, in SetSelect() argument 177 ChangeToMonth(iYear, iMonth); in SetSelect() 596 int32_t iMonth = m_iCurMonth; in NextMonth() local 597 if (iMonth >= 12) { in NextMonth() 598 iMonth = 1; in NextMonth() 601 iMonth++; in NextMonth() 607 m_iCurYear = iYear, m_iCurMonth = iMonth; in NextMonth() 613 int32_t iMonth = m_iCurMonth; in PrevMonth() local 614 if (iMonth <= 1) { in PrevMonth() 615 iMonth = 12; in PrevMonth() [all …]
|
D | cfwl_datetimepicker.h | 49 void GetCurSel(int32_t& iYear, int32_t& iMonth, int32_t& iDay); 50 void SetCurSel(int32_t iYear, int32_t iMonth, int32_t iDay); 67 void ProcessSelChanged(int32_t iYear, int32_t iMonth, int32_t iDay); 75 WideString FormatDateString(int32_t iYear, int32_t iMonth, int32_t iDay);
|
D | cfwl_eventselectchanged.h | 22 int32_t iMonth; variable
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_ffdatetimeedit.cpp | 184 int32_t iMonth, in OnSelectChanged() argument 190 date.SetDate(CFX_DateTime(iYear, iMonth, iDay, 0, 0, 0, 0)); in OnSelectChanged() 211 OnSelectChanged(m_pNormalWidget.get(), event->iYear, event->iMonth, in OnProcessEvent()
|
D | cxfa_ffdatetimeedit.h | 35 int32_t iMonth,
|
/external/pdfium/fxjs/ |
D | cfxjse_formcalc_context.cpp | 1391 int32_t iMonth = 1; in Num2Date() local 1395 if (iMonth == 2) { in Num2Date() 1398 ++iMonth; in Num2Date() 1399 if (iMonth > 12) { in Num2Date() 1400 iMonth = 1; in Num2Date() 1411 ++iMonth; in Num2Date() 1412 if (iMonth > 12) { in Num2Date() 1413 iMonth = 1; in Num2Date() 1423 } else if (iMonth < 8) { in Num2Date() 1424 if ((iMonth % 2 == 0)) { in Num2Date() [all …]
|
D | cfxjse_formcalc_context.h | 101 int32_t& iMonth, 114 int32_t& iMonth,
|