Home
last modified time | relevance | path

Searched refs:iMonth (Results 1 – 10 of 10) sorted by relevance

/external/pdfium/core/fxcrt/
Dcfx_datetime.cpp31 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 …]
Dcfx_datetime.h13 uint8_t FX_DaysInMonth(int32_t iYear, uint8_t iMonth);
/external/pdfium/xfa/fwl/
Dcfwl_monthcalendar.h39 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 …]
Dcfwl_datetimepicker.cpp138 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 …]
Dcfwl_monthcalendar.cpp152 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 …]
Dcfwl_datetimepicker.h47 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);
Dcfwl_eventselectchanged.h22 int32_t iMonth = -1; variable
/external/pdfium/xfa/fxfa/
Dcxfa_ffdatetimeedit.cpp187 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()
Dcxfa_ffdatetimeedit.h36 int32_t iMonth,
/external/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context.cpp507 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 …]