HomeSort by relevance Sort by last modified time
    Searched full:grego (Results 1 - 19 of 19) sorted by null

  /external/icu4c/i18n/
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);
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) {
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);
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...]
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...]
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;
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...]
timezone.cpp 691 Grego::dayToFields(day, year, month, dom, dow);
695 Grego::monthLength(year, month),
    [all...]
zonemeta.cpp 282 UDate date = Grego::fieldsToDay(year, month - 1, day) * U_MILLIS_PER_DAY
    [all...]
chnsecal.cpp 475 double ms = daysToMillis(Grego::fieldsToDay(gyear, UCAL_DECEMBER, 1));
calendar.cpp     [all...]
  /external/icu4c/test/intltest/
incaltst.cpp 155 //java.util.Calendar grego = java.util.Calendar.getInstance();
156 Calendar *grego = Calendar::createInstance(gcl, status); local
163 int32_t tz2 = grego -> get (UCAL_ZONE_OFFSET, status);
165 errln((UnicodeString)"cal's tz " + tz1 + " != grego's tz " + tz2);
175 grego->clear();
176 grego->set(gregorianYear, month, dayOfMonth);
177 UDate D = grego->getTime(status);
185 logln((UnicodeString)"grego: " + CalendarTest::calToStr(*grego));
202 logln((UnicodeString)"grego: " + CalendarTest::calToStr(*grego))
    [all...]
  /external/webkit/JavaScriptCore/icu/unicode/
urename.h     [all...]
  /external/webkit/JavaScriptGlue/icu/unicode/
urename.h     [all...]
  /external/webkit/WebCore/icu/unicode/
urename.h     [all...]
  /external/webkit/WebKit/mac/icu/unicode/
urename.h     [all...]
  /external/icu4c/common/unicode/
urename.h     [all...]

Completed in 87 milliseconds