OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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"
108
String DateTimeLocalInputType::formatDateTimeFieldsState(const
DateTimeFieldsState
&
dateTimeFieldsState
) const
110
if (!
dateTimeFieldsState
.hasDayOfMonth() || !
dateTimeFieldsState
.hasMonth() || !
dateTimeFieldsState
.hasYear()
111
|| !
dateTimeFieldsState
.hasHour() || !
dateTimeFieldsState
.hasMinute() || !
dateTimeFieldsState
.hasAMPM())
114
if (
dateTimeFieldsState
.hasMillisecond() && dateTimeFieldsState.millisecond())
[
all
...]
TimeInputType.cpp
37
#include "core/html/forms/
DateTimeFieldsState
.h"
128
String TimeInputType::formatDateTimeFieldsState(const
DateTimeFieldsState
&
dateTimeFieldsState
) const
130
if (!
dateTimeFieldsState
.hasHour() || !
dateTimeFieldsState
.hasMinute() || !
dateTimeFieldsState
.hasAMPM())
132
if (
dateTimeFieldsState
.hasMillisecond() &&
dateTimeFieldsState
.millisecond()) {
134
dateTimeFieldsState
.hour23(),
135
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
37
#include "core/html/forms/
DateTimeFieldsState
.h"
97
String DateInputType::formatDateTimeFieldsState(const
DateTimeFieldsState
&
dateTimeFieldsState
) const
99
if (!
dateTimeFieldsState
.hasDayOfMonth() || !
dateTimeFieldsState
.hasMonth() || !
dateTimeFieldsState
.hasYear())
102
return String::format("%04u-%02u-%02u",
dateTimeFieldsState
.year(),
dateTimeFieldsState
.month(),
dateTimeFieldsState
.dayOfMonth());
WeekInputType.cpp
37
#include "core/html/forms/
DateTimeFieldsState
.h"
93
String WeekInputType::formatDateTimeFieldsState(const
DateTimeFieldsState
&
dateTimeFieldsState
) const
95
if (!
dateTimeFieldsState
.hasYear() || !
dateTimeFieldsState
.hasWeekOfYear())
97
return String::format("%04u-W%02u",
dateTimeFieldsState
.year(),
dateTimeFieldsState
.weekOfYear());
MonthInputType.cpp
37
#include "core/html/forms/
DateTimeFieldsState
.h"
138
String MonthInputType::formatDateTimeFieldsState(const
DateTimeFieldsState
&
dateTimeFieldsState
) const
140
if (!
dateTimeFieldsState
.hasMonth() || !
dateTimeFieldsState
.hasYear())
142
return String::format("%04u-%02u",
dateTimeFieldsState
.year(),
dateTimeFieldsState
.month());
BaseMultipleFieldsDateAndTimeInputType.cpp
42
#include "core/html/forms/
DateTimeFieldsState
.h"
464
DateTimeFieldsState
dateTimeFieldsState
=
DateTimeFieldsState
::restoreFormControlState(state);
465
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
34
#include "core/html/forms/
DateTimeFieldsState
.h"
729
void DateTimeEditElement::setValueAsDateTimeFieldsState(const
DateTimeFieldsState
&
dateTimeFieldsState
)
732
m_fields[fieldIndex]->setValueAsDateTimeFieldsState(
dateTimeFieldsState
);
754
DateTimeFieldsState
dateTimeFieldsState
= valueAsDateTimeFieldsState();
755
dateTimeFieldsState
.setYear(date.fullYear());
756
dateTimeFieldsState
.setMonth(date.month() + 1);
757
dateTimeFieldsState
.setDayOfMonth(date.monthDay());
758
setValueAsDateTimeFieldsState(
dateTimeFieldsState
);
[
all
...]
Completed in 33 milliseconds