/external/pdfium/core/fxcrt/ |
D | cfx_datetime.cpp | 29 int32_t DaysBeforeMonthInYear(int32_t iYear, uint8_t iMonth) { in DaysBeforeMonthInYear() argument 30 ASSERT(iYear != 0); in DaysBeforeMonthInYear() 34 FX_IsLeapYear(iYear) ? g_FXDaysBeforeLeapMonth : g_FXDaysBeforeMonth; in DaysBeforeMonthInYear() 38 int32_t DaysInYear(int32_t iYear) { in DaysInYear() argument 39 ASSERT(iYear != 0); in DaysInYear() 40 return FX_IsLeapYear(iYear) ? g_FXDaysPerLeapYear : g_FXDaysPerYear; in DaysInYear() 43 int64_t DateToDays(int32_t iYear, in DateToDays() argument 47 ASSERT(iYear != 0); in DateToDays() 49 ASSERT(iDay >= 1 && iDay <= FX_DaysInMonth(iYear, iMonth)); in DateToDays() 51 int64_t iDays = DaysBeforeMonthInYear(iYear, iMonth); in DateToDays() [all …]
|
D | cfx_datetime.h | 12 bool FX_IsLeapYear(int32_t iYear); 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() 50 if (iYear < right.iYear) 52 if (iYear == right.iYear) { 62 if (iYear > right.iYear) 64 if (iYear == right.iYear) { 73 int32_t iYear; member 139 void ChangeToMonth(int32_t iYear, int32_t iMonth); 143 WideString GetHeadText(int32_t iYear, int32_t iMonth); [all …]
|
D | cfwl_datetimepicker.cpp | 139 void CFWL_DateTimePicker::GetCurSel(int32_t& iYear, in GetCurSel() argument 142 iYear = m_iYear; in GetCurSel() 147 void CFWL_DateTimePicker::SetCurSel(int32_t iYear, in SetCurSel() argument 150 if (iYear <= 0 || iYear >= 3000) in SetCurSel() 157 m_iYear = iYear; in SetCurSel() 160 m_pMonthCal->SetSelect(iYear, iMonth, iDay); in SetCurSel() 211 WideString CFWL_DateTimePicker::FormatDateString(int32_t iYear, 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() 306 void CFWL_DateTimePicker::ProcessSelChanged(int32_t iYear, in ProcessSelChanged() argument [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_monthcalendar.cpp | 174 void CFWL_MonthCalendar::SetSelect(int32_t iYear, in SetSelect() argument 177 ChangeToMonth(iYear, iMonth); in SetSelect() 595 int32_t iYear = m_iCurYear; in NextMonth() local 599 iYear++; in NextMonth() 607 m_iCurYear = iYear, m_iCurMonth = iMonth; in NextMonth() 612 int32_t iYear = m_iCurYear; in PrevMonth() local 616 iYear--; in PrevMonth() 625 m_iCurYear = iYear, m_iCurMonth = iMonth; in PrevMonth() 629 void CFWL_MonthCalendar::ChangeToMonth(int32_t iYear, int32_t iMonth) { in ChangeToMonth() argument 630 m_iCurYear = iYear; in ChangeToMonth() [all …]
|
D | cfwl_eventselectchanged.h | 21 int32_t iYear; variable
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_ffdatetimeedit.cpp | 183 int32_t iYear, 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 | 34 int32_t iYear,
|
/external/pdfium/fxjs/ |
D | cfxjse_formcalc_context.cpp | 1390 int32_t iYear = 1900; in Num2Date() local 1396 if ((!((iYear + i) % 4) && ((iYear + i) % 100)) || !((iYear + i) % 400)) { in Num2Date() 1484 ByteString::Format("%d%02d%02d", iYear + i, iMonth, iDay).AsStringView(), in Num2Date() 1727 int32_t& iYear, in IsIsoDateFormat() argument 1730 iYear = 0; in IsIsoDateFormat() 1745 iYear = FXSYS_atoi(strYear); in IsIsoDateFormat() 1782 if ((!(iYear % 4) && (iYear % 100)) || !(iYear % 400)) { in IsIsoDateFormat() 1948 int32_t& iYear, in IsIsoDateTimeFormat() argument 1957 iYear = 0; in IsIsoDateTimeFormat() 1976 if (!IsIsoDateFormat(pData, iIndex, iStyle, iYear, iMonth, iDay)) in IsIsoDateTimeFormat() [all …]
|
D | cfxjse_formcalc_context.h | 100 int32_t& iYear, 113 int32_t& iYear,
|