HomeSort by relevance Sort by last modified time
    Searched refs:day (Results 26 - 50 of 583) sorted by null

12 3 4 5 6 7 8 91011>>

  /developers/samples/android/wearable/wear/SpeedTracker/Shared/src/main/java/com/example/android/wearable/speedtracker/common/
LocationEntry.java 30 public String day; field in class:LocationEntry
36 this.day = Utils.getHashedDay(calendar);
  /development/samples/browseable/SpeedTracker/Shared/src/com.example.android.wearable.speedtracker.common/
LocationEntry.java 30 public String day; field in class:LocationEntry
36 this.day = Utils.getHashedDay(calendar);
  /external/chromium_org/v8/test/cctest/
test-date.cc 49 int year, month, day; local
50 YearMonthDayFromDays(days, &year, &month, &day);
51 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec);
61 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) {
64 if (Match(&rules_[i], year, month, day, time_in_day_sec)) {
71 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec) {
76 if (rule->start_month == month && start_day > day) return false;
77 if (rule->start_month == month && start_day == day &&
81 if (rule->end_month == month && end_day < day) return false;
82 if (rule->end_month == month && end_day == day &
    [all...]
  /libcore/luni/src/main/java/java/util/
Grego.java 86 * Convert a year, month, and day-of-month, given in the proleptic
90 * @param dom 1-based day of month
91 * @return the day number, with day 0 == Jan 1 1970
99 return julian - JULIAN_1970_CE; // JD => epoch day
103 * Return the day of week on the 1970-epoch day
104 * @param day the 1970-epoch day (integral value)
105 * @return the day of week
175 long day = floorDivide(time, 24*60*60*1000 \/* milliseconds per day *\/, remainder); local
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/
DateTime.java 36 private final int day; field in class:DateTime
42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) {
44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
46 this.day = day;
69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) {
71 c.set(year, month - 1, day, hour, minute, second);
95 return day;
  /external/chromium_org/third_party/icu/source/test/compat/
tzdate.c 32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime);
39 int year, month, day, hour, minute; local
44 sysyear = year = month = day = 0;
53 day = atoi(argv[3]);
61 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime);
109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) {
121 ts.tm_mday = day;
  /external/icu/icu4c/source/test/compat/
tzdate.c 32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime);
39 int year, month, day, hour, minute; local
44 sysyear = year = month = day = 0;
53 day = atoi(argv[3]);
61 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime);
109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) {
121 ts.tm_mday = day;
  /frameworks/base/core/java/android/widget/
DayPickerView.java 144 * Sets the listener to call when the user selects a day.
199 * @param day The day to move to
207 private boolean goTo(long day, boolean animate, boolean setSelected, boolean forceScroll) {
209 // Set the selected day
211 mSelectedDay.setTimeInMillis(day);
214 mTempDay.setTimeInMillis(day);
215 final int position = getPositionFromDay(day);
241 // Check if the selected day is now outside of our visible range
423 * {@code day} is {@code null}
501 final Calendar day = Calendar.getInstance(); local
    [all...]
SimpleMonthAdapter.java 68 * Updates the selected day and related parameters.
70 * @param day The day to highlight
72 public void setSelectedDay(Calendar day) {
73 mSelectedDay = day;
79 * Sets the listener to call when the user selects a day.
199 public void onDayClick(SimpleMonthView view, Calendar day) {
200 if (day != null && isCalendarInRange(day)) {
201 setSelectedDay(day);
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
coptccal.cpp 78 int32_t eyear, month, day, era, year; local
79 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day);
93 internalSet(UCAL_DATE, day);
94 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day);
153 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day)
155 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET);
hebrwcal.cpp 32 * time of day in sync with that of the Gregorian calendar, we use
33 * midnight, rather than sunset the day before.
363 // counting from noon on the day before. BAHARAD is an abbreviation of
368 * Finds the day # of the first day in the given Hebrew year.
390 int32_t day = CalendarCache::get(&gCache, year, status); local
392 if (day == 0) {
395 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day #
396 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation
397 frac = frac % DAY_PARTS; // Time of day
641 int32_t day = startOfYear(eyear, status); local
    [all...]
  /external/icu/icu4c/source/i18n/
coptccal.cpp 78 int32_t eyear, month, day, era, year; local
79 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day);
93 internalSet(UCAL_DATE, day);
94 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day);
153 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day)
155 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET);
hebrwcal.cpp 32 * time of day in sync with that of the Gregorian calendar, we use
33 * midnight, rather than sunset the day before.
363 // counting from noon on the day before. BAHARAD is an abbreviation of
368 * Finds the day # of the first day in the given Hebrew year.
390 int32_t day = CalendarCache::get(&gCache, year, status); local
392 if (day == 0) {
395 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day #
396 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation
397 frac = frac % DAY_PARTS; // Time of day
648 int32_t day = startOfYear(eyear, status); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeDowntimeDaysSelection.java 60 final int day = DAYS[i]; local
63 c.set(Calendar.DAY_OF_WEEK, day);
65 checkBox.setChecked(mDays.get(day));
69 mDays.put(day, isChecked);
81 final int day = mDays.keyAt(i); local
88 sb.append(day);
  /external/chromium_org/third_party/icu/source/test/cintltst/
ccaltst.h 85 static void verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day);
87 static void verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day,
  /external/chromium_org/v8/src/
dateparser.cc 14 // Day and month defaults to 1.
21 int day = kNone; local
28 day = comp_[2];
32 day = comp_[1];
39 day = comp_[0];
43 day = comp_[1];
46 day = comp_[0];
56 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false;
60 output->set(DAY, Smi::FromInt(day));
    [all...]
  /external/icu/icu4c/source/test/cintltst/
ccaltst.h 85 static void verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day);
87 static void verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day,
  /developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/
WeatherWidgetService.java 68 String day = "Unknown Day"; local
71 final int dayColIndex = mCursor.getColumnIndex(WeatherDataProvider.Columns.DAY);
74 day = mCursor.getString(dayColIndex);
78 // Return a proper item with the proper day and temperature
82 rv.setTextViewText(R.id.widget_item, String.format(formatStr, temp, day));
87 extras.putString(WeatherWidgetProvider.EXTRA_DAY_ID, day);
  /external/lzma/CPP/Windows/
Time.h 15 bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
Time.cpp 58 unsigned year, mon, day, hour, min, sec;
104 day = (unsigned)v + 1;
113 dosTime = (year << 25) | (mon << 21) | (day << 16) | (hour << 11) | (min << 5) | (sec >> 1);
143 bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
148 day < 1 || day > 31 || hour > 23 || min > 59 || sec > 59)
158 numDays += day - 1;
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
XMPDateTime.java 23 * <li> day - The day of the month in the range 1..31.
33 * fields (year, month, and day).
49 /** @return Returns the day of the month in the range 1..31. */
52 /** @param day Sets the day 1..31 */
53 void setDay(int day);
  /external/chromium_org/third_party/WebKit/Source/wtf/
DateMath.h 57 // dayOfWeek: [0, 6] 0 being Monday, day: [1, 31], month: [0, 11], year: ex: 2011, hours: [0, 23], minutes: [0, 59], seconds: [0, 59], utcOffset: [-720,720].
58 WTF_EXPORT String makeRFC2822DateString(unsigned dayOfWeek, unsigned day, unsigned month, unsigned year, unsigned hours, unsigned minutes, unsigned seconds, int utcOffset);
74 WTF_EXPORT double dateToDaysFrom1970(int year, int month, int day);
76 WTF_EXPORT int dayInYear(int year, int month, int day);
  /frameworks/av/media/mtp/
MtpUtils.cpp 32 DD replaced by the day (01-31), T is a constant character 'T' delimiting time from date,
38 int year, month, day, hour, minute, second; local
42 &year, &month, &day, &hour, &minute, &second) != 6)
58 tm.tm_mday = day;
  /frameworks/base/core/java/android/app/
DatePickerDialog.java 47 private static final String DAY = "day";
65 * @param dayOfMonth The day of the month that was set.
75 * @param dayOfMonth The initial day of the dialog.
101 * @param dayOfMonth The initial day of the dialog.
124 public void onDateChanged(DatePicker view, int year, int month, int day) {
125 mDatePicker.init(year, month, day, this);
126 updateTitle(year, month, day);
158 * @param dayOfMonth The date day of month.
164 private void updateTitle(int year, int month, int day) {
200 final int day = savedInstanceState.getInt(DAY); 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...]

Completed in 1044 milliseconds

12 3 4 5 6 7 8 91011>>