Lines Matching refs:DateParser
5 #include "src/dateparser.h"
13 bool DateParser::DayComposer::Write(FixedArray* output) {
66 bool DateParser::TimeComposer::Write(FixedArray* output) {
99 bool DateParser::TimeZoneComposer::Write(FixedArray* output) {
119 const int8_t DateParser::KeywordTable::
120 array[][DateParser::KeywordTable::kEntrySize] = {
121 {'j', 'a', 'n', DateParser::MONTH_NAME, 1},
122 {'f', 'e', 'b', DateParser::MONTH_NAME, 2},
123 {'m', 'a', 'r', DateParser::MONTH_NAME, 3},
124 {'a', 'p', 'r', DateParser::MONTH_NAME, 4},
125 {'m', 'a', 'y', DateParser::MONTH_NAME, 5},
126 {'j', 'u', 'n', DateParser::MONTH_NAME, 6},
127 {'j', 'u', 'l', DateParser::MONTH_NAME, 7},
128 {'a', 'u', 'g', DateParser::MONTH_NAME, 8},
129 {'s', 'e', 'p', DateParser::MONTH_NAME, 9},
130 {'o', 'c', 't', DateParser::MONTH_NAME, 10},
131 {'n', 'o', 'v', DateParser::MONTH_NAME, 11},
132 {'d', 'e', 'c', DateParser::MONTH_NAME, 12},
133 {'a', 'm', '\0', DateParser::AM_PM, 0},
134 {'p', 'm', '\0', DateParser::AM_PM, 12},
135 {'u', 't', '\0', DateParser::TIME_ZONE_NAME, 0},
136 {'u', 't', 'c', DateParser::TIME_ZONE_NAME, 0},
137 {'z', '\0', '\0', DateParser::TIME_ZONE_NAME, 0},
138 {'g', 'm', 't', DateParser::TIME_ZONE_NAME, 0},
139 {'c', 'd', 't', DateParser::TIME_ZONE_NAME, -5},
140 {'c', 's', 't', DateParser::TIME_ZONE_NAME, -6},
141 {'e', 'd', 't', DateParser::TIME_ZONE_NAME, -4},
142 {'e', 's', 't', DateParser::TIME_ZONE_NAME, -5},
143 {'m', 'd', 't', DateParser::TIME_ZONE_NAME, -6},
144 {'m', 's', 't', DateParser::TIME_ZONE_NAME, -7},
145 {'p', 'd', 't', DateParser::TIME_ZONE_NAME, -7},
146 {'p', 's', 't', DateParser::TIME_ZONE_NAME, -8},
147 {'t', '\0', '\0', DateParser::TIME_SEPARATOR, 0},
148 {'\0', '\0', '\0', DateParser::INVALID, 0},
153 int DateParser::KeywordTable::Lookup(const uint32_t* pre, int len) {
172 int DateParser::ReadMilliseconds(DateToken token) {