HomeSort by relevance Sort by last modified time
    Searched refs:dateTimeFieldsState (Results 1 - 9 of 9) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
DateTimeLocalInputType.cpp 38 #include "core/html/forms/DateTimeFieldsState.h"
103 String DateTimeLocalInputType::formatDateTimeFieldsState(const DateTimeFieldsState& dateTimeFieldsState) const
105 if (!dateTimeFieldsState.hasDayOfMonth() || !dateTimeFieldsState.hasMonth() || !dateTimeFieldsState.hasYear()
106 || !dateTimeFieldsState.hasHour() || !dateTimeFieldsState.hasMinute() || !dateTimeFieldsState.hasAMPM())
109 if (dateTimeFieldsState.hasMillisecond() && dateTimeFieldsState.millisecond())
    [all...]
TimeInputType.cpp 37 #include "core/html/forms/DateTimeFieldsState.h"
117 String TimeInputType::formatDateTimeFieldsState(const DateTimeFieldsState& dateTimeFieldsState) const
119 if (!dateTimeFieldsState.hasHour() || !dateTimeFieldsState.hasMinute() || !dateTimeFieldsState.hasAMPM())
121 if (dateTimeFieldsState.hasMillisecond() && dateTimeFieldsState.millisecond()) {
123 dateTimeFieldsState.hour23(),
124 dateTimeFieldsState.minute()
    [all...]
DateTimeFieldsState.cpp 28 #include "core/html/forms/DateTimeFieldsState.h"
34 const unsigned DateTimeFieldsState::emptyValue = static_cast<unsigned>(-1);
39 return DateTimeFieldsState::emptyValue;
42 return parsed ? value : DateTimeFieldsState::emptyValue;
45 static DateTimeFieldsState::AMPMValue getAMPMFromFormControlState(const FormControlState& state, size_t index)
48 return DateTimeFieldsState::AMPMValueEmpty;
51 return DateTimeFieldsState::AMPMValueAM;
53 return DateTimeFieldsState::AMPMValuePM;
54 return DateTimeFieldsState::AMPMValueEmpty;
57 DateTimeFieldsState::DateTimeFieldsState(
    [all...]
DateInputType.cpp 38 #include "core/html/forms/DateTimeFieldsState.h"
101 String DateInputType::formatDateTimeFieldsState(const DateTimeFieldsState& dateTimeFieldsState) const
103 if (!dateTimeFieldsState.hasDayOfMonth() || !dateTimeFieldsState.hasMonth() || !dateTimeFieldsState.hasYear())
106 return String::format("%04u-%02u-%02u", dateTimeFieldsState.year(), dateTimeFieldsState.month(), dateTimeFieldsState.dayOfMonth());
WeekInputType.cpp 37 #include "core/html/forms/DateTimeFieldsState.h"
88 String WeekInputType::formatDateTimeFieldsState(const DateTimeFieldsState& dateTimeFieldsState) const
90 if (!dateTimeFieldsState.hasYear() || !dateTimeFieldsState.hasWeekOfYear())
92 return String::format("%04u-W%02u", dateTimeFieldsState.year(), dateTimeFieldsState.weekOfYear());
MonthInputType.cpp 37 #include "core/html/forms/DateTimeFieldsState.h"
132 String MonthInputType::formatDateTimeFieldsState(const DateTimeFieldsState& dateTimeFieldsState) const
134 if (!dateTimeFieldsState.hasMonth() || !dateTimeFieldsState.hasYear())
136 return String::format("%04u-%02u", dateTimeFieldsState.year(), dateTimeFieldsState.month());
BaseMultipleFieldsDateAndTimeInputType.cpp 42 #include "core/html/forms/DateTimeFieldsState.h"
480 DateTimeFieldsState dateTimeFieldsState = DateTimeFieldsState::restoreFormControlState(state);
481 edit->setValueAsDateTimeFieldsState(dateTimeFieldsState);
  /external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DateTimeFieldElements.cpp 30 #include "core/html/forms/DateTimeFieldsState.h"
58 void DateTimeAMPMFieldElement::populateDateTimeFieldsState(DateTimeFieldsState& dateTimeFieldsState)
61 dateTimeFieldsState.setAMPM(valueAsInteger() ? DateTimeFieldsState::AMPMValuePM : DateTimeFieldsState::AMPMValueAM);
63 dateTimeFieldsState.setAMPM(DateTimeFieldsState::AMPMValueEmpty);
71 void DateTimeAMPMFieldElement::setValueAsDateTimeFieldsState(const DateTimeFieldsState& dateTimeFieldsState)
    [all...]
DateTimeEditElement.cpp 35 #include "core/html/forms/DateTimeFieldsState.h"
747 void DateTimeEditElement::setValueAsDateTimeFieldsState(const DateTimeFieldsState& dateTimeFieldsState)
750 m_fields[fieldIndex]->setValueAsDateTimeFieldsState(dateTimeFieldsState);
772 DateTimeFieldsState dateTimeFieldsState = valueAsDateTimeFieldsState();
773 dateTimeFieldsState.setYear(date.fullYear());
774 dateTimeFieldsState.setMonth(date.month() + 1);
775 dateTimeFieldsState.setDayOfMonth(date.monthDay());
776 setValueAsDateTimeFieldsState(dateTimeFieldsState);
    [all...]

Completed in 275 milliseconds