/external/icu/icu4c/source/i18n/ |
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...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
CalendarAstronomer.java | 54 * The number of standard hours in one sidereal day. 61 * The number of sidereal hours in one mean solar day. 140 * The number of milliseconds in one day. 146 * The start of the julian day numbering scheme used by astronomers, which 149 * Note that julian day numbers and 285 * @param jdn the desired time, expressed as a "julian day number", 287 * 1/1/4713 BC (Julian), 12:00 GMT. Note that julian day 328 * expressed as a "julian day number", which is the number of elapsed 403 // Then find local midnight on this day 502 static final double JD_EPOCH = 2447891.5; // Julian day of epoc 587 double day = julian - JD_EPOCH; \/\/ Days since epoch local [all...] |
/frameworks/base/core/java/android/widget/ |
DatePickerCalendarDelegate.java | 47 * A delegate for picking up a date (day / month / year). 163 // Set up day picker view. 237 * Listener called when the user selects a day in the day picker view. 241 public void onDaySelected(DayPickerView view, Calendar day) { 242 mCurrentDate.setTimeInMillis(day.getTimeInMillis()); 254 // currently selected day number, change the selected day number 255 // to the last day of the selected month or year. 258 final int day = mCurrentDate.get(Calendar.DAY_OF_MONTH) 538 final int day = mCurrentDate.get(Calendar.DAY_OF_MONTH); local [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
simpletz.h | 143 * day-of-week-in-month. See setStartRule() for a 145 * @param savingsStartDayOfWeek The daylight savings starting day-of-week. 151 * @param savingsEndDayOfWeekInMonth The daylight savings ending day-of-week-in-month. 153 * @param savingsEndDayOfWeek The daylight savings ending day-of-week. 184 * day-of-week-in-month. See setStartRule() for a 186 * @param savingsStartDayOfWeek The daylight savings starting day-of-week. 192 * @param savingsEndDayOfWeekInMonth The daylight savings ending day-of-week-in-month. 194 * @param savingsEndDayOfWeek The daylight savings ending day-of-week. 228 * day-of-week-in-month. See setStartRule() for a 230 * @param savingsStartDayOfWeek The daylight savings starting day-of-week [all...] |
/libcore/ojluni/src/main/java/sun/util/calendar/ |
LocalGregorianCalendar.java | 301 int day = ldate.getDayOfMonth(); local 303 if (day > sinceDay) { 306 if (day == sinceDay) {
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
AlertServiceTest.java | 416 int id = at.addAlertRow(100, SCHEDULED, ACCEPTED, 0 /* all day */, 1300000, 2300000, 0); 621 int day = now.monthDay; local 628 long allDayStart = Utils.createTimeInMillis(0, 0, 0, day, month, year, Time.TIMEZONE_UTC); 632 Utils.createTimeInMillis(0, 0, 10, day, month, year, Time.getCurrentTimezone()), 633 Utils.createTimeInMillis(0, 30, 10, day, month, year, Time.getCurrentTimezone()), 637 Utils.createTimeInMillis(0, 0, 6, day, month, year, Time.getCurrentTimezone()), 638 Utils.createTimeInMillis(0, 0, 6, day, month, year, Time.getCurrentTimezone()), 0); 646 Utils.createTimeInMillis(0, 0, 7, day, month, year, Time.getCurrentTimezone()), 0); 649 // day event). 650 long currentTime = Utils.createTimeInMillis(0, 0, 0, day, month, year [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePicker.java | 46 * A view for selecting a month / year / day based on a calendar like layout. 89 * @param dayOfMonth The day of the month that was set. 110 mDayPicker = (NumberPicker) findViewById(R.id.day); 151 // Adjust max day of the month 163 // Adjust max day for leap years if needed 205 // We use numeric spinners for year and day, but textual months. Ask icu4c what 255 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, 260 mDay = day; 355 * @param dayOfMonth The initial day of the month. 367 * @param dayOfMonth The initial day of the month [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModeScheduleRuleSettings.java | 156 // Compute an ordered, delimited list of day names based on the persisted user config. 162 final int day = DAYS[i]; local 164 if (day == days[j]) { 165 c.set(Calendar.DAY_OF_WEEK, day);
|
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
datetime_utils.py | 27 'year', 'month', 'week', 'day', 'hour', 'minute', 'second', 54 day = timedelta(days=1) variable
|
/external/chromium-trace/catapult/third_party/flot/ |
jquery.flot.time.js | 132 var props = ["Date", "Day", "FullYear", "Hours", "Milliseconds", "Minutes", "Month", "Seconds"]; 168 "day": 24 * 60 * 60 * 1000, 184 [1, "day"], [2, "day"], [3, "day"], 302 if (step >= timeUnitSize.day) { 305 if (step >= timeUnitSize.day * 4) { 334 // the middle of a day 384 } else if (t < timeUnitSize.day) { 385 if (span < 2 * timeUnitSize.day) { [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
ChineseCalendar.java | 378 * WEEK_OF_MONTH In a 29 day month, if the first 7 days make up week 1 379 * that leaves 3 full weeks and 1 day at the end. The least maximum is 386 * DAY_OF_WEEK_IN_MONTH In a 29 or 30 day month, there are 4 full weeks 451 EPOCH_JULIAN_DAY + 1; // Julian day -> local days 503 * start position, pinning the day of month if necessary. The start 505 * and a day-of-month. Used by add() and roll(). 506 * @param newMoon the local days of the first day of the month of the 508 * @param dom the 1-based day-of-month of the start position 547 int day = get(JULIAN_DAY) - EPOCH_JULIAN_DAY; // Get local day local 566 int day = get(JULIAN_DAY) - EPOCH_JULIAN_DAY; \/\/ Get local day local [all...] |
SimpleTimeZone.java | 78 * By default, this constructor specifies day-of-week-in-month rules. That 84 * Day of month. To specify an exact day of the month, such as March 1, set 87 * Day of week after day of month. To specify the first day of the week 88 * occurring on or after an exact day of the month, make the day of the week 90 * this indicates the first Monday on or after the 5th day of the 93 * Day of week before day of month. To specify the last day of the wee [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
HebrewTest.java | 55 // year month day field amount year month day 71 { 5757, KISLEV, 1, DATE, 30, 5757, KISLEV, 2 }, // 29-day month 72 { 5758, KISLEV, 1, DATE, 31, 5758, KISLEV, 2 }, // 30-day month 99 // year month day field amount year month day 117 { 5757, KISLEV, 1, DATE, 30, 5757, TEVET, 2 }, // 29-day month 118 { 5758, KISLEV, 1, DATE, 31, 5758, TEVET, 2 }, // 30-day month 144 // Julian Day Era Year Month Day WkDay Hour Min Se 479 int day = 15; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
utmstest.c | 352 int32_t day; member in struct:DotNetDateTimeTicks 363 /* year, month, day, ticks */ 445 const int32_t dayMillis = 86400 * INT64_C(1000); /* 1 day = 86400 seconds */ 468 ucal_setDate(cal, dt->year, dt->month - 1, dt->day, &errorCode); /* Java & ICU use January = month 0. */ 473 (int)i, (int)(millis/dayMillis), (int)(icuDate/dayMillis), (int)dt->year, (int)dt->month, (int)dt->day); 481 (int)i, (int)(ticks/dayTicks), (int)(dt->ticks/dayTicks), (int)dt->year, (int)dt->month, (int)dt->day);
|
/external/icu/icu4c/source/test/intltest/ |
caltest.h | 28 * Test the handling of the day of the week, checking for correctness and 61 virtual void verify765(const UnicodeString& msg, Calendar* c, int32_t year, int32_t month, int32_t day);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
ChineseCalendar.java | 388 * WEEK_OF_MONTH In a 29 day month, if the first 7 days make up week 1 389 * that leaves 3 full weeks and 1 day at the end. The least maximum is 396 * DAY_OF_WEEK_IN_MONTH In a 29 or 30 day month, there are 4 full weeks 464 EPOCH_JULIAN_DAY + 1; // Julian day -> local days 519 * start position, pinning the day of month if necessary. The start 521 * and a day-of-month. Used by add() and roll(). 522 * @param newMoon the local days of the first day of the month of the 524 * @param dom the 1-based day-of-month of the start position 564 int day = get(JULIAN_DAY) - EPOCH_JULIAN_DAY; // Get local day local 584 int day = get(JULIAN_DAY) - EPOCH_JULIAN_DAY; \/\/ Get local day local [all...] |
SimpleTimeZone.java | 81 * By default, this constructor specifies day-of-week-in-month rules. That 87 * Day of month. To specify an exact day of the month, such as March 1, set 90 * Day of week after day of month. To specify the first day of the week 91 * occurring on or after an exact day of the month, make the day of the week 93 * this indicates the first Monday on or after the 5th day of the 96 * Day of week before day of month. To specify the last day of the wee [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
HebrewTest.java | 51 // year month day field amount year month day 67 { 5757, KISLEV, 1, DATE, 30, 5757, KISLEV, 2 }, // 29-day month 68 { 5758, KISLEV, 1, DATE, 31, 5758, KISLEV, 2 }, // 30-day month 95 // year month day field amount year month day 113 { 5757, KISLEV, 1, DATE, 30, 5757, TEVET, 2 }, // 29-day month 114 { 5758, KISLEV, 1, DATE, 31, 5758, TEVET, 2 }, // 30-day month 140 // Julian Day Era Year Month Day WkDay Hour Min Se 475 int day = 15; local [all...] |
/external/v8/test/intl/date-format/ |
property-override.js | 48 day: 'numeric', hour: 'numeric', minute: 'numeric', 57 'calendar', 'day', 'era', 'hour12', 'hour', 'locale',
|
/hardware/bsp/intel/peripheral/libupm/src/maxds3231m/ |
maxds3231m.cxx | 65 time.day = BCDtoDEC(buffer[4]);
|
/hardware/bsp/intel/peripheral/libupm/src/wt5001/ |
wt5001.cxx | 360 bool WT5001::setDate(uint16_t year, uint8_t month, uint8_t day) 371 pkt[6] = day; // day 544 bool WT5001::getDate(uint16_t *year, uint8_t *month, uint8_t *day) 567 *day = buf[3];
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
XMLGregorianCalendar.java | 91 * <a name="datetimefield-day"/> 93 * <td> day </td> 198 * int day, 207 * int day, 217 * int day, 289 * @param day value constraints summarized in <a href="#datetimefield-day">day field of date/time field mapping table</a>. 291 * @throws IllegalArgumentException if <code>day</code> parameter is 295 public abstract void setDay(int day); [all...] |
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
c_wlocale_win32.c | 300 const wchar_t * _WLocale_full_dayofweek(_Locale_time_t * ltime, int day,
302 { GetLocaleInfoW(ltime->lc.id, LOCALE_SDAYNAME1 + day, buf, (int)bufSize); return buf; }
304 const wchar_t * _WLocale_abbrev_dayofweek(_Locale_time_t * ltime, int day,
306 { GetLocaleInfoW(ltime->lc.id, LOCALE_SABBREVDAYNAME1 + day, buf, (int)bufSize); return buf; }
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleDayPickerFragment.java | 50 * configured to display the week number, start the week on a given day, show a 105 // The first day of the focus month 107 // The first day that is visible in the view 145 // This allows us to update our position when a day is tapped 149 Time day = mAdapter.getSelectedDay(); 150 if (day.year != mSelectedDay.year || day.yearDay != mSelectedDay.yearDay) { 151 goTo(day.toMillis(true), true, true, false); 314 * Fixes the day names header to provide correct spacing and updates the 384 // Set the selected day [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettings.java | 169 public void onDateSet(DatePicker view, int year, int month, int day) { 172 setDate(activity, year, month, day); 318 /* package */ static void setDate(Context context, int year, int month, int day) { 323 c.set(Calendar.DAY_OF_MONTH, day);
|