/external/pdfium/core/fxcrt/ |
D | cfx_datetime.cpp | 31 int32_t DaysBeforeMonthInYear(int32_t iYear, uint8_t iMonth) { in DaysBeforeMonthInYear() argument 33 ASSERT(iMonth >= 1); in DaysBeforeMonthInYear() 34 ASSERT(iMonth <= 12); in DaysBeforeMonthInYear() 38 return p[iMonth - 1]; in DaysBeforeMonthInYear() 47 uint8_t iMonth, in DateToDays() argument 51 ASSERT(iMonth >= 1); in DateToDays() 52 ASSERT(iMonth <= 12); in DateToDays() 54 ASSERT(iDay <= FX_DaysInMonth(iYear, iMonth)); in DateToDays() 56 int64_t iDays = DaysBeforeMonthInYear(iYear, iMonth); in DateToDays() 84 uint8_t FX_DaysInMonth(int32_t iYear, uint8_t iMonth) { in FX_DaysInMonth() argument [all …]
|
D | cfx_datetime.h | 13 uint8_t FX_DaysInMonth(int32_t iYear, uint8_t iMonth);
|
/external/pdfium/xfa/fwl/ |
D | cfwl_monthcalendar.h | 39 void SetSelect(int32_t iYear, int32_t iMonth, int32_t iDay); 43 DATE() : iYear(0), iMonth(0), iDay(0) {} in DATE() 46 : iYear(year), iMonth(month), iDay(day) {} in DATE() 52 if (iMonth < right.iMonth) 54 if (iMonth == right.iMonth) 64 if (iMonth > right.iMonth) 66 if (iMonth == right.iMonth) 73 int32_t iMonth; member 138 void ChangeToMonth(int32_t iYear, int32_t iMonth); 142 WideString GetHeadText(int32_t iYear, int32_t iMonth); [all …]
|
D | cfwl_datetimepicker.cpp | 138 int32_t& iMonth, in GetCurSel() argument 141 iMonth = m_iMonth; in GetCurSel() 146 int32_t iMonth, in SetCurSel() argument 150 if (iMonth <= 0 || iMonth >= 13) in SetCurSel() 156 m_iMonth = iMonth; in SetCurSel() 158 m_pMonthCal->SetSelect(iYear, iMonth, iDay); in SetCurSel() 213 int32_t iMonth, in FormatDateString() argument 216 return WideString::Format(L"%d-%d-%d", iYear, iMonth, iDay); in FormatDateString() 218 return WideString::Format(L"%d Year %d Month %d Day", iYear, iMonth, iDay); in FormatDateString() 304 int32_t iMonth, in ProcessSelChanged() argument [all …]
|
D | cfwl_monthcalendar.cpp | 152 int32_t iMonth, in SetSelect() argument 154 ChangeToMonth(iYear, iMonth); in SetSelect() 566 int32_t iMonth = m_iCurMonth; in NextMonth() local 567 if (iMonth >= 12) { in NextMonth() 568 iMonth = 1; in NextMonth() 571 iMonth++; in NextMonth() 577 m_iCurYear = iYear, m_iCurMonth = iMonth; in NextMonth() 583 int32_t iMonth = m_iCurMonth; in PrevMonth() local 584 if (iMonth <= 1) { in PrevMonth() 585 iMonth = 12; in PrevMonth() [all …]
|
D | cfwl_datetimepicker.h | 47 void GetCurSel(int32_t& iYear, int32_t& iMonth, int32_t& iDay); 48 void SetCurSel(int32_t iYear, int32_t iMonth, int32_t iDay); 76 void ProcessSelChanged(int32_t iYear, int32_t iMonth, int32_t iDay); 82 WideString FormatDateString(int32_t iYear, int32_t iMonth, int32_t iDay);
|
D | cfwl_eventselectchanged.h | 22 int32_t iMonth = -1; variable
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_ffdatetimeedit.cpp | 187 int32_t iMonth, in OnSelectChanged() argument 192 date.SetDate(CFX_DateTime(iYear, iMonth, iDay, 0, 0, 0, 0)); in OnSelectChanged() 213 OnSelectChanged(GetNormalWidget(), event->iYear, event->iMonth, in OnProcessEvent()
|
D | cxfa_ffdatetimeedit.h | 36 int32_t iMonth,
|
/external/pdfium/fxjs/xfa/ |
D | cfxjse_formcalc_context.cpp | 507 int32_t& iMonth = *pMonth; in IsIsoDateFormat() local 511 iMonth = 1; in IsIsoDateFormat() 539 iMonth = FXSYS_atoi(szBuffer); in IsIsoDateFormat() 540 if (iMonth > 12 || iMonth < 1) in IsIsoDateFormat() 561 if (iMonth == 2) { in IsIsoDateFormat() 566 if (iMonth < 8) in IsIsoDateFormat() 567 return iDay <= (iMonth % 2 == 0 ? 30 : 31); in IsIsoDateFormat() 568 return iDay <= (iMonth % 2 == 0 ? 31 : 30); in IsIsoDateFormat() 732 int32_t& iMonth = *pMonth; in IsIsoDateTimeFormat() local 742 iMonth = 0; in IsIsoDateTimeFormat() [all …]
|