/external/chromium/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 | 271 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), fDateTimeRule->getRuleDayOfMonth()); 278 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), 1); 282 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), 283 Grego::monthLength(year, fDateTimeRule->getRuleMonth())); 292 if (month == UCAL_FEBRUARY && dom == 29 && !Grego::isLeapYear(year)) { 296 ruleDay = Grego::fieldsToDay(year, month, dom); 298 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 | 155 Grego::timeToFields(nextTransitionTime + initialRaw + initialDst, 157 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 174 Grego::timeToFields(tr.getTime() + tr.getFrom()->getRawOffset() + tr.getFrom()->getDSTSavings(), 176 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 204 Grego::timeToFields(tr.getTime() + tr.getFrom()->getRawOffset() + tr.getFrom()->getDSTSavings(), 206 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 451 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid);
|
olsontz.cpp | 143 Grego::dayToFields(days, year, month, dom, dow); 179 finalMillis = Grego::fieldsToDay(data[1], 0, 1) * U_MILLIS_PER_DAY; 283 Grego::monthLength(year, month), 325 UDate date = (UDate)(Grego::fieldsToDay(year, month, dom) * U_MILLIS_PER_DAY + millis); 390 Grego::dayToFields(days, year, month, dom, dow); 512 Grego::dayToFields(days, year, month, dom, dow); 520 int32_t start = (int32_t) Grego::fieldsToDay(year, 0, 1) * SECONDS_PER_DAY; 521 int32_t limit = (int32_t) Grego::fieldsToDay(year+1, 0, 1) * SECONDS_PER_DAY; [all...] |
simpletz.cpp | 43 // For actual getOffset() calculations, use Grego::monthLength() and 44 // Grego::previousMonthLength() which take leap years into account. 393 // Check the month before calling Grego::monthLength(). This 405 return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status); 413 // Check the month before calling Grego::monthLength(). This 430 Grego::monthLength(year, month), 431 Grego::previousMonthLength(year, month), 517 Grego::dayToFields(day, year, month, dom, dow); 521 Grego::monthLength(year, month), 546 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 | 189 Grego::timeToFields(time, year, month, dom, dow, doy, mid); 262 int32_t maxDayOfMonth = Grego::monthLength(year, month); 276 UDate time = Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY; 681 Grego::timeToFields(start + fromOffset, startYear, startMonth, startDOM, 695 Grego::timeToFields(until, endYear, endMonth, endDOM, endDOW, endDOY, endMID); [all...] |
rbtz.cpp | 355 Grego::monthLength(year, month), status); 372 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));
|
timezone.cpp | 694 Grego::dayToFields(day, year, month, dom, dow); 698 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 | 271 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), fDateTimeRule->getRuleDayOfMonth()); 278 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), 1); 282 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), 283 Grego::monthLength(year, fDateTimeRule->getRuleMonth())); 292 if (month == UCAL_FEBRUARY && dom == 29 && !Grego::isLeapYear(year)) { 296 ruleDay = Grego::fieldsToDay(year, month, dom); 298 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 | 155 Grego::timeToFields(nextTransitionTime + initialRaw + initialDst, 157 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 182 Grego::timeToFields(tr.getTime() + tr.getFrom()->getRawOffset() + tr.getFrom()->getDSTSavings(), 184 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 213 Grego::timeToFields(tr.getTime() + tr.getFrom()->getRawOffset() + tr.getFrom()->getDSTSavings(), 215 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 463 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid);
|
olsontz.cpp | 235 finalStartMillis = Grego::fieldsToDay(finalStartYear, 0, 1) * U_MILLIS_PER_DAY; 327 Grego::monthLength(year, month), 368 UDate date = (UDate)(Grego::fieldsToDay(year, month, dom) * U_MILLIS_PER_DAY + millis); 430 Grego::dayToFields(days, year, month, dom, dow); 554 Grego::timeToFields(current, year, month, dom, dow, doy, mid); 557 double start = Grego::fieldsToDay(year, 0, 1) * SECONDS_PER_DAY; 558 double limit = Grego::fieldsToDay(year+1, 0, 1) * SECONDS_PER_DAY; [all...] |
simpletz.cpp | 43 // For actual getOffset() calculations, use Grego::monthLength() and 44 // Grego::previousMonthLength() which take leap years into account. 393 // Check the month before calling Grego::monthLength(). This 405 return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status); 413 // Check the month before calling Grego::monthLength(). This 430 Grego::monthLength(year, month), 431 Grego::previousMonthLength(year, month), 517 Grego::dayToFields(day, year, month, dom, dow); 521 Grego::monthLength(year, month), 546 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 | 189 Grego::timeToFields(time, year, month, dom, dow, doy, mid); 262 int32_t maxDayOfMonth = Grego::monthLength(year, month); 276 UDate time = Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY; 681 Grego::timeToFields(start + fromOffset, startYear, startMonth, startDOM, 695 Grego::timeToFields(until, endYear, endMonth, endDOM, endDOW, endDOY, endMID); [all...] |
rbtz.cpp | 355 Grego::monthLength(year, month), status); 372 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 | 179 UDate date = Grego::fieldsToDay(year, month - 1, day) * U_MILLIS_PER_DAY
|
timezone.cpp | 634 Grego::dayToFields(day, year, month, dom, dow); 638 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 | 523 int[] fields = Grego.timeToFields(time + rawOffset, null); [all...] |