/external/chromium_org/third_party/icu/source/i18n/ |
gregoimp.h | 135 class Grego { 258 inline UBool Grego::isLeapYear(int32_t year) { 264 Grego::monthLength(int32_t year, int32_t month) { 269 Grego::previousMonthLength(int y, int m) { 273 inline void Grego::dayToFields(double day, int32_t& year, int32_t& month, 279 inline double Grego::julianDayToMillis(int32_t julian) 284 inline int32_t Grego::millisToJulianDay(double millis) { 288 inline int32_t Grego::gregorianShift(int32_t eyear) {
|
gregoimp.cpp | 77 const int16_t Grego::DAYS_BEFORE[24] = 81 const int8_t Grego::MONTH_LENGTH[24] = 85 double Grego::fieldsToDay(int32_t year, int32_t month, int32_t dom) { 96 void Grego::dayToFields(double day, int32_t& year, int32_t& month, 134 void Grego::timeToFields(UDate time, int32_t& year, int32_t& month, 142 int32_t Grego::dayOfWeek(double day) { 148 int32_t Grego::dayOfWeekInMonth(int32_t year, int32_t month, int32_t dom) {
|
tzrule.cpp | 272 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), fDateTimeRule->getRuleDayOfMonth()); 279 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), 1); 283 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), 284 Grego::monthLength(year, fDateTimeRule->getRuleMonth())); 293 if (month == UCAL_FEBRUARY && dom == 29 && !Grego::isLeapYear(year)) { 297 ruleDay = Grego::fieldsToDay(year, month, dom); 299 int32_t dow = Grego::dayOfWeek(ruleDay); 357 Grego::timeToFields(base, year, month, dom, dow, doy, mid); 381 Grego::timeToFields(base, year, month, dom, dow, doy, mid);
|
basictz.cpp | 165 Grego::timeToFields(nextTransitionTime + initialRaw + initialDst, 167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 192 Grego::timeToFields(tr.getTime() + tr.getFrom()->getRawOffset() + tr.getFrom()->getDSTSavings(), 194 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 223 Grego::timeToFields(tr.getTime() + tr.getFrom()->getRawOffset() + tr.getFrom()->getDSTSavings(), 225 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 480 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid);
|
olsontz.cpp | 237 finalStartMillis = Grego::fieldsToDay(finalStartYear, 0, 1) * U_MILLIS_PER_DAY; 329 Grego::monthLength(year, month), 370 UDate date = (UDate)(Grego::fieldsToDay(year, month, dom) * U_MILLIS_PER_DAY + millis); 432 Grego::dayToFields(days, year, month, dom, dow); 556 Grego::timeToFields(current, year, month, dom, dow, doy, mid); 559 double start = Grego::fieldsToDay(year, 0, 1) * SECONDS_PER_DAY; 560 double limit = Grego::fieldsToDay(year+1, 0, 1) * SECONDS_PER_DAY; [all...] |
simpletz.cpp | 45 // For actual getOffset() calculations, use Grego::monthLength() and 46 // Grego::previousMonthLength() which take leap years into account. 395 // Check the month before calling Grego::monthLength(). This 407 return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status); 415 // Check the month before calling Grego::monthLength(). This 432 Grego::monthLength(year, month), 433 Grego::previousMonthLength(year, month), 519 Grego::dayToFields(day, year, month, dom, dow); 523 Grego::monthLength(year, month), 548 Grego::dayToFields(day, year, month, dom, dow) [all...] |
gregocal.cpp | 427 int32_t gregShift = Grego::gregorianShift(eyear); 462 // MSVC complains bitterly if we try to use Grego::isLeapYear here 509 int32_t gregShift = Grego::gregorianShift(internalGet(UCAL_EXTENDED_YEAR)); 557 int32_t gregShift = Grego::gregorianShift(eyear); 724 julianDay += Grego::gregorianShift(year); [all...] |
vtzone.cpp | 191 Grego::timeToFields(time, year, month, dom, dow, doy, mid); 264 int32_t maxDayOfMonth = Grego::monthLength(year, month); 278 UDate time = Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY; 683 Grego::timeToFields(start + fromOffset, startYear, startMonth, startDOM, 697 Grego::timeToFields(until, endYear, endMonth, endDOM, endDOW, endDOY, endMID); [all...] |
rbtz.cpp | 357 Grego::monthLength(year, month), status); 374 UDate time = (UDate)Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY + millis;
|
chnsecal.cpp | 475 double ms = daysToMillis(Grego::fieldsToDay(gyear, UCAL_DECEMBER, 1));
|
zonemeta.cpp | 180 UDate date = Grego::fieldsToDay(year, month - 1, day) * U_MILLIS_PER_DAY
|
timezone.cpp | 636 Grego::dayToFields(day, year, month, dom, dow); 640 Grego::monthLength(year, month), [all...] |
/external/icu4c/i18n/ |
gregoimp.h | 135 class Grego { 258 inline UBool Grego::isLeapYear(int32_t year) { 264 Grego::monthLength(int32_t year, int32_t month) { 269 Grego::previousMonthLength(int y, int m) { 273 inline void Grego::dayToFields(double day, int32_t& year, int32_t& month, 279 inline double Grego::julianDayToMillis(int32_t julian) 284 inline int32_t Grego::millisToJulianDay(double millis) { 288 inline int32_t Grego::gregorianShift(int32_t eyear) {
|
gregoimp.cpp | 77 const int16_t Grego::DAYS_BEFORE[24] = 81 const int8_t Grego::MONTH_LENGTH[24] = 85 double Grego::fieldsToDay(int32_t year, int32_t month, int32_t dom) { 96 void Grego::dayToFields(double day, int32_t& year, int32_t& month, 134 void Grego::timeToFields(UDate time, int32_t& year, int32_t& month, 142 int32_t Grego::dayOfWeek(double day) { 148 int32_t Grego::dayOfWeekInMonth(int32_t year, int32_t month, int32_t dom) {
|
tzrule.cpp | 272 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), fDateTimeRule->getRuleDayOfMonth()); 279 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), 1); 283 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), 284 Grego::monthLength(year, fDateTimeRule->getRuleMonth())); 293 if (month == UCAL_FEBRUARY && dom == 29 && !Grego::isLeapYear(year)) { 297 ruleDay = Grego::fieldsToDay(year, month, dom); 299 int32_t dow = Grego::dayOfWeek(ruleDay); 357 Grego::timeToFields(base, year, month, dom, dow, doy, mid); 381 Grego::timeToFields(base, year, month, dom, dow, doy, mid);
|
basictz.cpp | 165 Grego::timeToFields(nextTransitionTime + initialRaw + initialDst, 167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 192 Grego::timeToFields(tr.getTime() + tr.getFrom()->getRawOffset() + tr.getFrom()->getDSTSavings(), 194 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 223 Grego::timeToFields(tr.getTime() + tr.getFrom()->getRawOffset() + tr.getFrom()->getDSTSavings(), 225 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 480 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid);
|
olsontz.cpp | 242 finalStartMillis = Grego::fieldsToDay(finalStartYear, 0, 1) * U_MILLIS_PER_DAY; 339 Grego::monthLength(year, month), 380 UDate date = (UDate)(Grego::fieldsToDay(year, month, dom) * U_MILLIS_PER_DAY + millis); 442 Grego::dayToFields(days, year, month, dom, dow); 566 Grego::timeToFields(current, year, month, dom, dow, doy, mid); 569 double start = Grego::fieldsToDay(year, 0, 1) * SECONDS_PER_DAY; 570 double limit = Grego::fieldsToDay(year+1, 0, 1) * SECONDS_PER_DAY; [all...] |
simpletz.cpp | 46 // For actual getOffset() calculations, use Grego::monthLength() and 47 // Grego::previousMonthLength() which take leap years into account. 396 // Check the month before calling Grego::monthLength(). This 408 return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status); 416 // Check the month before calling Grego::monthLength(). This 433 Grego::monthLength(year, month), 434 Grego::previousMonthLength(year, month), 520 Grego::dayToFields(day, year, month, dom, dow); 524 Grego::monthLength(year, month), 549 Grego::dayToFields(day, year, month, dom, dow) [all...] |
gregocal.cpp | 427 int32_t gregShift = Grego::gregorianShift(eyear); 462 // MSVC complains bitterly if we try to use Grego::isLeapYear here 509 int32_t gregShift = Grego::gregorianShift(internalGet(UCAL_EXTENDED_YEAR)); 557 int32_t gregShift = Grego::gregorianShift(eyear); 724 julianDay += Grego::gregorianShift(year); [all...] |
vtzone.cpp | 190 Grego::timeToFields(time, year, month, dom, dow, doy, mid); 263 int32_t maxDayOfMonth = Grego::monthLength(year, month); 277 UDate time = Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY; 682 Grego::timeToFields(start + fromOffset, startYear, startMonth, startDOM, 696 Grego::timeToFields(until, endYear, endMonth, endDOM, endDOW, endDOY, endMID); [all...] |
rbtz.cpp | 377 Grego::monthLength(year, month), status); 394 UDate time = (UDate)Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY + millis;
|
chnsecal.cpp | 538 double ms = daysToMillis(Grego::fieldsToDay(gyear, UCAL_DECEMBER, 1)); [all...] |
timezone.cpp | 628 Grego::dayToFields(day, year, month, dom, dow); 632 Grego::monthLength(year, month), [all...] |
/libcore/luni/src/main/java/java/util/ |
Grego.java | 6 * Partial port from ICU4C's Grego class in i18n/gregoimp.h.
12 * port of ICU4C's Grego class (yet).
29 class Grego {
|
SimpleTimeZone.java | 477 int[] fields = Grego.timeToFields(time + rawOffset, null); [all...] |