Searched refs:yearLen (Results 1 – 2 of 2) sorted by relevance
/external/webkit/JavaScriptCore/runtime/ |
D | DatePrototype.cpp | 203 static const int yearLen = 5; // FIXME will be a problem in the year 10,000 in formatLocaleDate() local 204 char yearString[yearLen]; in formatLocaleDate() 206 snprintf(yearString, yearLen, "%d", localTM.tm_year + 1900); in formatLocaleDate() 208 snprintf(yearString, yearLen, "%d", year); in formatLocaleDate() 210 strncpy(yearLocation, yearString, yearLen - 1); in formatLocaleDate()
|
/external/icu4c/i18n/ |
D | calendar.cpp | 1548 int32_t yearLen = getActualMaximum(UCAL_DAY_OF_YEAR,status); in roll() local 1549 int32_t ldy = (yearLen - internalGet(UCAL_DAY_OF_YEAR) + dow) % 7; in roll() 1556 int32_t limit = yearLen + 7 - ldy; in roll() 1567 if (day_of_year > yearLen) day_of_year = yearLen; in roll()
|