Searched refs:yearLen (Results 1 – 2 of 2) sorted by relevance
/external/webkit/Source/JavaScriptCore/runtime/ |
D | DatePrototype.cpp | 243 static const int yearLen = 5; // FIXME will be a problem in the year 10,000 in formatLocaleDate() local 244 char yearString[yearLen]; in formatLocaleDate() 246 snprintf(yearString, yearLen, "%d", localTM.tm_year + 1900); in formatLocaleDate() 248 snprintf(yearString, yearLen, "%d", year); in formatLocaleDate() 250 strncpy(yearLocation, yearString, yearLen - 1); in formatLocaleDate()
|
/external/icu4c/i18n/ |
D | calendar.cpp | 1692 int32_t yearLen = getActualMaximum(UCAL_DAY_OF_YEAR,status); in roll() local 1693 int32_t ldy = (yearLen - internalGet(UCAL_DAY_OF_YEAR) + dow) % 7; in roll() 1700 int32_t limit = yearLen + 7 - ldy; in roll() 1711 if (day_of_year > yearLen) day_of_year = yearLen; in roll()
|