Home
last modified time | relevance | path

Searched refs:iYear (Results 1 – 17 of 17) sorted by relevance

/external/pdfium/xfa/src/fgas/src/localization/
Dfx_datetime.cpp33 FX_BOOL FX_IsLeapYear(int32_t iYear) { in FX_IsLeapYear() argument
34 FXSYS_assert(iYear != 0); in FX_IsLeapYear()
35 return ((iYear % 4) == 0 && (iYear % 100) != 0) || (iYear % 400) == 0; in FX_IsLeapYear()
37 int32_t FX_DaysInYear(int32_t iYear) { in FX_DaysInYear() argument
38 FXSYS_assert(iYear != 0); in FX_DaysInYear()
39 return FX_IsLeapYear(iYear) ? g_FXDaysPerLeapYear : g_FXDaysPerYear; in FX_DaysInYear()
41 uint8_t FX_DaysInMonth(int32_t iYear, uint8_t iMonth) { in FX_DaysInMonth() argument
42 FXSYS_assert(iYear != 0); in FX_DaysInMonth()
45 FX_IsLeapYear(iYear) ? g_FXDaysPerLeapMonth : g_FXDaysPerMonth; in FX_DaysInMonth()
48 static int32_t FX_DaysBeforeMonthInYear(int32_t iYear, uint8_t iMonth) { in FX_DaysBeforeMonthInYear() argument
[all …]
/external/pdfium/xfa/src/fwl/src/basewidget/include/
Dfwl_monthcalendarimp.h15 extern uint8_t FX_DaysInMonth(int32_t iYear, uint8_t iMonth);
32 virtual FX_BOOL GetSelect(int32_t& iYear,
36 virtual FX_BOOL SetSelect(int32_t iYear, int32_t iMonth, int32_t iDay);
90 int32_t CalWeekNumber(int32_t iYear, int32_t iMonth, int32_t iDay);
92 FX_BOOL GetMinDate(int32_t& iYear, int32_t& iMonth, int32_t& iDay);
93 FX_BOOL SetMinDate(int32_t iYear, int32_t iMonth, int32_t iDay);
94 FX_BOOL GetMaxDate(int32_t& iYear, int32_t& iMonth, int32_t& iDay);
95 FX_BOOL SetMaxDate(int32_t iYear, int32_t iMonth, int32_t iDay);
101 void ChangeToMonth(int32_t iYear, int32_t iMonth);
105 void GetHeadText(int32_t iYear, int32_t iMonth, CFX_WideString& wsHead);
[all …]
Dfwl_datetimepickerimp.h118 virtual FWL_ERR GetCurSel(int32_t& iYear, int32_t& iMonth, int32_t& iDay);
119 virtual FWL_ERR SetCurSel(int32_t iYear, int32_t iMonth, int32_t iDay);
151 void FormatDateString(int32_t iYear,
159 void ProcessSelChanged(int32_t iYear, int32_t iMonth, int32_t iDay);
/external/pdfium/xfa/src/fwl/src/lightwidget/
Ddatetimepicker.cpp34 FWL_ERR CFWL_DateTimePicker::SetToday(int32_t iYear, in SetToday() argument
37 m_DateTimePickerDP.m_iYear = iYear; in SetToday()
55 FWL_ERR CFWL_DateTimePicker::GetCurSel(int32_t& iYear, in GetCurSel() argument
59 ->GetCurSel(iYear, iMonth, iDay); in GetCurSel()
61 FWL_ERR CFWL_DateTimePicker::SetCurSel(int32_t iYear, in SetCurSel() argument
65 ->SetCurSel(iYear, iMonth, iDay); in SetCurSel()
82 int32_t& iYear, in GetToday() argument
85 iYear = m_iYear; in GetToday()
/external/pdfium/xfa/src/fwl/src/basewidget/
Dfwl_monthcalendarimp.cpp36 FX_BOOL IFWL_MonthCalendar::GetSelect(int32_t& iYear, in GetSelect() argument
41 ->GetSelect(iYear, iMonth, iDay, nIndex); in GetSelect()
43 FX_BOOL IFWL_MonthCalendar::SetSelect(int32_t iYear, in SetSelect() argument
47 ->SetSelect(iYear, iMonth, iDay); in SetSelect()
166 FX_BOOL CFWL_MonthCalendarImp::GetSelect(int32_t& iYear, in GetSelect() argument
173 iYear = m_iCurYear; in GetSelect()
178 FX_BOOL CFWL_MonthCalendarImp::SetSelect(int32_t iYear, in SetSelect() argument
181 ChangeToMonth(iYear, iMonth); in SetSelect()
248 int32_t iYear; in DrawCaption() local
250 iYear = m_iCurYear; in DrawCaption()
[all …]
Dfwl_datetimepickerimp.cpp80 FWL_ERR IFWL_DateTimePicker::GetCurSel(int32_t& iYear, in GetCurSel() argument
84 ->GetCurSel(iYear, iMonth, iDay); in GetCurSel()
86 FWL_ERR IFWL_DateTimePicker::SetCurSel(int32_t iYear, in SetCurSel() argument
90 ->SetCurSel(iYear, iMonth, iDay); in SetCurSel()
574 FWL_ERR CFWL_DateTimePickerImp::GetCurSel(int32_t& iYear, in GetCurSel() argument
577 iYear = m_iYear; in GetCurSel()
582 FWL_ERR CFWL_DateTimePickerImp::SetCurSel(int32_t iYear, in SetCurSel() argument
585 if (iYear <= 0 || iYear >= 3000) in SetCurSel()
591 m_iYear = iYear; in SetCurSel()
594 m_pMonthCal->SetSelect(iYear, iMonth, iDay); in SetCurSel()
[all …]
/external/pdfium/xfa/include/fwl/lightwidget/
Ddatetimepicker.h18 FWL_ERR SetToday(int32_t iYear, int32_t iMonth, int32_t iDay);
23 FWL_ERR GetCurSel(int32_t& iYear, int32_t& iMonth, int32_t& iDay);
24 FWL_ERR SetCurSel(int32_t iYear, int32_t iMonth, int32_t iDay);
51 int32_t& iYear,
/external/pdfium/xfa/include/fwl/basewidget/
Dfwl_datetimepicker.h60 int32_t iYear;
67 int32_t& iYear,
76 FWL_ERR GetCurSel(int32_t& iYear, int32_t& iMonth, int32_t& iDay);
77 FWL_ERR SetCurSel(int32_t iYear, int32_t iMonth, int32_t iDay);
Dfwl_monthcalendar.h121 FX_BOOL GetSelect(int32_t& iYear,
125 FX_BOOL SetSelect(int32_t iYear, int32_t iMonth, int32_t iDay);
/external/pdfium/fpdfsdk/src/javascript/
Dutil.cpp259 int iYear, iMonth, iDay, iHour, iMin, iSec; in printd() local
260 iYear = jsDate.GetYear(); in printd()
268 time.tm_year = iYear - 1900; in printd()
337 int iYear, iMonth, iDay, iHour, iMin, iSec; in printd() local
338 iYear = jsDate.GetYear(); in printd()
346 time.tm_year = iYear - 1900; in printd()
DJS_Value.h165 void SetYear(int iYear);
DJS_Value.cpp501 void CJS_Date::SetYear(int iYear) { in SetYear() argument
502 double date = MakeDate(iYear, GetMonth(), GetDay(), GetHours(), GetMinutes(), in SetYear()
/external/pdfium/xfa/src/fgas/include/
Dfx_datetime.h21 FX_BOOL FX_IsLeapYear(int32_t iYear);
22 int32_t FX_DaysInYear(int32_t iYear);
23 uint8_t FX_DaysInMonth(int32_t iYear, uint8_t iMonth);
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_fftextedit.h122 int32_t iYear,
Dxfa_fftextedit.cpp772 int32_t iYear, in OnSelectChanged() argument
780 dt.Set(iYear, iMonth, iDay); in OnSelectChanged()
799 OnSelectChanged(m_pNormalWidget->GetWidget(), event->iYear, event->iMonth, in OnProcessEvent()
/external/pdfium/xfa/src/fxfa/src/fm2js/
Dxfa_fm2jscontext.cpp1253 int32_t iYear = 1900; in Num2Date() local
1259 if ((!((iYear + i) % 4) && ((iYear + i) % 100)) || in Num2Date()
1260 !((iYear + i) % 400)) { in Num2Date()
1346 szIsoDateString.Format("%d%02d%02d", iYear + i, iMonth, iDay); in Num2Date()
1671 int32_t& iYear, in IsIsoDateFormat() argument
1674 iYear = 0; in IsIsoDateFormat()
1690 iYear = FXSYS_atoi(strYear); in IsIsoDateFormat()
1751 if ((!(iYear % 4) && (iYear % 100)) || !(iYear % 400)) { in IsIsoDateFormat()
1937 int32_t& iYear, in IsIsoDateTimeFormat() argument
1946 iYear = 0; in IsIsoDateTimeFormat()
[all …]
Dxfa_fm2jscontext.h84 int32_t& iYear,
97 int32_t& iYear,