Home | History | Annotate | Download | only in platform

Lines Matching defs:toInt

106 static bool toInt(const String& src, unsigned parseStart, unsigned parseLength, int& out)
134 if (!toInt(src, start, digitsLength, year))
303 if (!toInt(src, index, 2, hour) || hour < 0 || hour > 23)
311 if (!toInt(src, index, 2, minute) || minute < 0 || minute > 59)
337 if (!toInt(src, index, 2, month) || month < 1 || month > 12)
361 if (!toInt(src, index, 2, day) || day < 1 || day > maxDayOfMonth(m_year, m_month))
388 if (!toInt(src, index, 2, week) || week < minimumWeekNumber || week > maxWeekNumberInYear())
401 if (!toInt(src, start, 2, hour) || hour < 0 || hour > 23)
411 if (!toInt(src, index, 2, minute) || minute < 0 || minute > 59)
420 if (toInt(src, index + 1, 2, second) && second >= 0 && second <= 59) {
430 ok = toInt(src, index, 1, millisecond);
433 ok = toInt(src, index, 2, millisecond);
436 ok = toInt(src, index, 3, millisecond);