/external/chromium_org/third_party/icu/source/i18n/ |
chnsecal.cpp | 206 kEpochStartAsJulianDay + 1; // Julian day -> local days 224 * calendar equivalents for the given Julian day. 274 * Return the Julian day number of day before the first day of the 282 * @return the Julian day number of the day before the first 283 * day of the given month and year 343 int32_t day = get(UCAL_JULIAN_DAY, status) - kEpochStartAsJulianDay; // Get local day local 373 int32_t day = get(UCAL_JULIAN_DAY, status) - kEpochStartAsJulianDay; \/\/ Get local day local [all...] |
astro.cpp | 78 * The number of standard hours in one sidereal day. 86 * The number of sidereal hours in one mean solar day. 173 * The number of milliseconds in one day. 180 * The start of the julian day numbering scheme used by astronomers, which 183 * Note that julian day numbers and 311 * @param jdn the desired time, expressed as a "julian day number", 313 * 1/1/4713 BC (Julian), 12:00 GMT. Note that julian day 344 * expressed as a "julian day number", which is the number of elapsed 423 // Then find local midnight on this day 529 #define JD_EPOCH 2447891.5 // Julian day of epoc 642 double day = jDay - JD_EPOCH; \/\/ Days since epoch local 1074 double day = getJulianDay() - JD_EPOCH; \/\/ Days since epoch local [all...] |
timezone.cpp | 621 // the given time in day is local standard time. 633 double day = uprv_floor(date / U_MILLIS_PER_DAY); local 634 int32_t millis = (int32_t) (date - day * U_MILLIS_PER_DAY); 636 Grego::dayToFields(day, year, month, dom, dow); [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cdattst.c | 404 int32_t year, month, day; local 408 day = ucal_get(ucal, UCAL_DATE, &status); 409 ucal_setDateTime(ucal, year, month, day, 18, 49, 0, &status); /* set to today at 18:49:00 */ [all...] |
ccaltst.c | 376 /*setting the first day of the week to other values */ 402 /*testing if the UCalendar's timezone is currently in day light saving's time*/ 587 verify1("1999 10th day of January is :", caldef, datdef, 1999, UCAL_JANUARY, 10); 589 verify1("1999 3rd day of December is :", caldef, datdef, 1999, UCAL_DECEMBER, 3); 591 verify1("2000 3rd day of May is :", caldef, datdef, 2000, UCAL_MAY, 3); 593 verify1("1999 32th day of August is :", caldef, datdef, 1999, UCAL_SEPTEMBER, 1); 595 verify1("1999 0th day of March is :", caldef, datdef, 1999, UCAL_FEBRUARY, 28); 619 verify2("1999 10th day of October at 6:45:30 is :", caldef, datdef, 1999, UCAL_OCTOBER, 10, 6, 45, 30, 0 ); 621 verify2("1999 3rd day of March at 15:10:55 is :", caldef, datdef, 1999, UCAL_MARCH, 3, 3, 10, 55, 1); 623 verify2("1999 3rd day of May at 25:30:45 is :", caldef, datdef, 1999, UCAL_MAY, 4, 1, 30, 45, 0) 1508 int32_t day; member in struct:__anon13443 [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
date.c | 19 ** SQLite processes all times and dates as Julian Day numbers. The 29 ** be represented, even though julian day numbers allow a much wider 75 sqlite3_int64 iJD; /* The julian day number times 86400000 */ 76 int Y, M, D; /* Year, month, and day */ 224 ** Convert from YYYY-MM-DD HH:MM:SS to julian day. We always assume 317 ** Attempt to parse the given string into a Julian Day Number. Return 354 ** Compute the Year, Month, and Day from the julian day number. 380 ** Compute the Hour, Minute, and Seconds from the julian day number. 498 ** start of day 636 sqlite3_int64 day; local [all...] |
/external/icu4c/i18n/ |
chnsecal.cpp | 245 kEpochStartAsJulianDay + 1; // Julian day -> local days 263 * calendar equivalents for the given Julian day. 313 * Return the Julian day number of day before the first day of the 321 * @return the Julian day number of the day before the first 322 * day of the given month and year 382 int32_t day = get(UCAL_JULIAN_DAY, status) - kEpochStartAsJulianDay; // Get local day local 412 int32_t day = get(UCAL_JULIAN_DAY, status) - kEpochStartAsJulianDay; \/\/ Get local day local [all...] |
astro.cpp | 77 * The number of standard hours in one sidereal day. 85 * The number of sidereal hours in one mean solar day. 172 * The number of milliseconds in one day. 179 * The start of the julian day numbering scheme used by astronomers, which 182 * Note that julian day numbers and 310 * @param jdn the desired time, expressed as a "julian day number", 312 * 1/1/4713 BC (Julian), 12:00 GMT. Note that julian day 343 * expressed as a "julian day number", which is the number of elapsed 422 // Then find local midnight on this day 528 #define JD_EPOCH 2447891.5 // Julian day of epoc 641 double day = jDay - JD_EPOCH; \/\/ Days since epoch local 1079 double day = getJulianDay() - JD_EPOCH; \/\/ Days since epoch local [all...] |
zonemeta.cpp | 156 int32_t year = 0, month = 0, day = 0, hour = 0, min = 0, n; local 181 day = 10*day + n; 208 UDate date = Grego::fieldsToDay(year, month - 1, day) * U_MILLIS_PER_DAY
|
/external/v8/src/ |
objects-debug.cc | 384 CHECK(day()->IsUndefined() || day()->IsSmi() || day()->IsNaN()); 397 if (day()->IsSmi()) { 398 int day = Smi::cast(this->day())->value(); local 399 CHECK(1 <= day && day <= 31);
|
/external/wpa_supplicant_8/src/tls/ |
x509v3.c | 544 int year, month, day, hour, min, sec; local 602 if (sscanf(pos, "%02d", &day) != 1) { 604 "(day)", buf, len); 629 if (os_mktime(year, month, day, hour, min, sec, val) < 0) { [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
DayPickerView.java | 178 public boolean goTo(CalendarDay day, boolean animate, boolean setSelected, boolean forceScroll) { 180 // Set the selected day 182 mSelectedDay.set(day); 185 mTempDay.set(day); 186 final int position = (day.year - mController.getMinYear()) 187 * SimpleMonthAdapter.MONTHS_IN_YEAR + day.month; 219 // Check if the selected day is now outside of our visible range 400 * {@code day} is {@code null}. 402 * @param day The date that should receive accessibility focus 405 private boolean restoreAccessibilityFocus(CalendarDay day) { 477 CalendarDay day = new CalendarDay(year, month, 1); local [all...] |
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 58 * Prior to the institution of the Gregorian calendar, New Year's Day was March 65 * 53. Week 1 for a year is the earliest seven day period starting on 69 * {@code getFirstDayOfWeek()}, and the day of the week of January 1. 88 * contiguous days in that month, ending on the day before 242 * @param day 243 * the day of the month. 245 public GregorianCalendar(int year, int month, int day) { 247 set(year, month, day); 258 * @param day 259 * the day of the month 1119 int days, day, mod, maxWeeks, newWeek; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthByWeekAdapter.java | 72 float mClickedXLocation; // Used to find which day was clicked 288 protected void onDayTapped(Time day) { 289 setDayParameters(day); 292 // with the selected day's info 293 mController.sendEvent(mContext, EventType.GO_TO, day, day, -1, 297 mController.sendEvent(mContext, EventType.GO_TO, day, day, -1, 304 private void setDayParameters(Time day) { 305 day.timezone = mHomeTimeZone 373 Time day = mLongClickedView.getDayFromLocation(mClickedXLocation); local [all...] |
SimpleWeekView.java | 44 * display the week number, start the week on a given day, or show a reduced 72 * Which day the week should start on. {@link Time#SUNDAY} through 124 // The Julian day of the first day displayed by this item 126 // The month of the first day in this week 128 // The month of the last day in this week 139 // If this view contains the selected day 143 // Which day is selected [0-6] or -1 if no day is selected 145 // Which day is today [0-6] or -1 if no day is toda 375 int day = mFirstJulianDay + dayPosition; local [all...] |
/bionic/libc/kernel/common/linux/ |
telephony.h | 66 char day[3]; member in struct:__anon623
|
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 245 // Use normalize(true) with these tests to change the date by 1 day. 249 // Nov 4, 12am + 0 day = Nov 4, 12am 250 // Nov 5, 12am + 0 day = Nov 5, 12am 254 // Nov 3, 12am + 1 day = Nov 4, 12am 255 // Nov 4, 12am + 1 day = Nov 5, 12am 256 // Nov 5, 12am + 1 day = Nov 6, 12am 261 // Nov 3, 1am + 1 day = Nov 4, 1am 262 // Nov 4, 1am + 1 day = Nov 5, 1am 263 // Nov 5, 1am + 1 day = Nov 6, 1am 268 // Nov 3, 2am + 1 day = Nov 4, 2a 691 int day = Time.getJulianDay(millis, time.gmtoff); local 735 int day = Time.getJulianDay(millis, time.gmtoff); local [all...] |
/development/ndk/platforms/android-3/include/linux/ |
telephony.h | 58 char day[3]; member in struct:__anon1257
|
/device/generic/goldfish/gps/ |
gps_qemu.c | 291 int day, mon, year; local 297 day = str2int(tok.p, tok.p+2); 301 if ((day|mon|year) < 0) { 308 r->utc_day = day;
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
DateMath.cpp | 115 // Day of year for the first day of each month, where index 0 is January, and day 0 is January 1. 290 int dayInYear(int year, int month, int day) 292 return firstDayOfMonth[isLeapYear(year)][month] + day - 1; 295 double dateToDaysFrom1970(int year, int month, int day) 307 return yearday + dayInYear(year, month, day); 328 * the two years having the same leapness and the first day of the year, falling 329 * on the same day of the week. 408 else if (localTimeSeconds < 0) // Go ahead a day to make localtime work (does not work with 0 447 double day = dateToDaysFrom1970(equivalentYear, month, dayInMonth); local 702 long day = 1; local 795 long day; local [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
caltest.cpp | 548 * Test the handling of the day of the week, checking for correctness and 577 dow > max) errln(UnicodeString("FAIL: Day of week ") + (int32_t)dow + " out of range"); 578 if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow); 651 verify765("1997 third day of June = ", c, 1997, UCAL_JUNE, 3); 702 * results in the first WOY/DOW day of the year satisfying the 744 CalendarTest::verify765(const UnicodeString& msg, Calendar* c, int32_t year, int32_t month, int32_t day) 753 d == day) { 759 errln("FAIL: " + msg + dateToString(c->getTime(status), str) + "; expected " + (int32_t)year + "/" + (int32_t)(month + 1) + "/" + (int32_t)day + 1418 int32_t day = cal.get(UCAL_DATE, status); local 2136 int32_t day = 15; local [all...] |
tzregts.cpp | 117 min += (UDate)24*60*60*1000; // one day 202 * day of onset 1:59 AM STD = display name 1:59 AM ST 204 * day of end 0:59 AM STD = display name 1:59 AM DT 358 // the MILLSECOND field; you need to pass in the millis in the day in STANDARD 447 * in the MILLIS field, instead of the STANDARD MILLIS IN DAY. 472 int32_t day = cal->get(UCAL_DATE, status); local 481 int32_t offset = tz->getOffset((uint8_t)era, year, month, day, (uint8_t)dayOfWeek, millis, status); 621 int32_t day = DATA[i+2]; local 629 zone->setStartRule(month, day, dayOfWeek, time, status); 634 errln(UnicodeString("setStartRule(month=") + month + ", day=" + day [all...] |
/external/chromium_org/third_party/libxml/src/ |
nanoftp.c | 1600 int day = 0; local [all...] |
/external/chromium_org/v8/src/ |
objects-debug.cc | 469 CHECK(day()->IsUndefined() || day()->IsSmi() || day()->IsNaN()); 482 if (day()->IsSmi()) { 483 int day = Smi::cast(this->day())->value(); local 484 CHECK(1 <= day && day <= 31); [all...] |
/external/icu4c/test/cintltst/ |
cdattst.c | 412 int32_t year, month, day; local 416 day = ucal_get(ucal, UCAL_DATE, &status); 417 ucal_setDateTime(ucal, year, month, day, 18, 49, 0, &status); /* set to today at 18:49:00 */ [all...] |