/packages/apps/Calendar/src/com/android/calendar/ |
MonthView.java | 143 // drawables for day backgrounds. 163 * The first Julian day of the current month. 306 // Launch the Day/Agenda view when the finger lifts up, 324 // Highlight the selected day. 330 // Highlight the selected day. 355 // launch the Day view when he lifts his finger. Also, turn 563 // Get the Julian day for the date at row 0, column 0. 564 int day = mFirstJulianDay - columnDay1; local 578 drawBox(day, weekNum, row, column, canvas, p, r, isLandscape); 579 day += 1 [all...] |
Event.java | 92 public int startDay; // start Julian day 93 public int endDay; // end Julian day 114 // hour in the Day and Week view. 193 // The earlier start day and time comes first 206 // Sort all-day events before normal events. 283 // Widen the time range that we query by one day on each end 284 // so that we can catch all-day events. All-day events are 399 * are displayed in separate columns in the week view and day view. For 400 * all-day events, these rectangles are displayed in separate rows alon [all...] |
Utils.java | 81 // Record the (new) detail start view only for Agenda and Day 228 * Sets the time to the beginning of the day (midnight) by clearing the 238 * Get first day of week as android.text.format.Time constant. 239 * @return the first day of week in android.text.format.Time 255 * @param firstDayOfWeek the first day of week in android.text.format.Time 267 * @param firstDayOfWeek the first day of week in android.text.format.Time
|
/external/icu4c/i18n/unicode/ |
rbtz.h | 141 * @param day The reference date's day-in-month (1-based) 142 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday) 143 * @param millis The reference date's milliseconds in day, local standard time 148 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 162 * @param day The reference date's day-in-month (1-based) 163 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday) 164 * @param millis The reference date's milliseconds in day, local standard time 170 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, [all...] |
gregocal.h | 50 * Prior to the institution of the Gregorian Calendar, New Year's Day was March 25. To 59 * <code>getFirstDayOfWeek()</code>, and the day of the week of January 1. 496 * Return the Julian day number of day before the first day of the 501 * @param useMonth if false, compute the day before the first day of 502 * the given year, otherwise, compute the day before the first day of 504 * @return the Julian day number of the day before the firs [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.25-1.js | 29 4. Compute MakeDate(Day(t), Result(3)). 128 // testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() ); 137 // testcases[item++] = new TestCase( SECTION, DateString+".getDay()", LocalDate.day, DateCase.getDay() ); 178 d.day = WeekDay( d.value ); 189 return( MakeDate( Day(T), TIME ));
|
15.9.5.26-1.js | 35 5. Compute UTC(MakeDate(Day(t), Result(4))). 138 // testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() ); 147 // testcases[item++] = new TestCase( SECTION, DateString+".getDay()", LocalDate.day, DateCase.getDay() ); 189 d.day = WeekDay( d.value ); 201 var UTC_TIME = UTC(MakeDate(Day(TIME), RESULT4));
|
15.9.5.27-1.js | 35 5. Compute MakeDate(Day(t), Result(4)). 136 // testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() ); 145 // testcases[item++] = new TestCase( SECTION, DateString+".getDay()", LocalDate.day, DateCase.getDay() ); 187 d.day = WeekDay( d.value ); 200 return ( TimeClip(MakeDate(Day(TIME), RESULT4)) );
|
15.9.5.29-1.js | 39 6. Compute MakeDate(Day(t), Result(5)). 146 // testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() ); 155 // testcases[item++] = new TestCase( SECTION, DateString+".getDay()", LocalDate.day, DateCase.getDay() ); 196 d.day = WeekDay( d.value ); 209 return ( TimeClip(MakeDate(Day(TIME),RESULT5)) );
|
15.9.5.34-1.js | 160 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() ); 169 testcases[item++] = new TestCase( SECTION, DateString+".getDay()", LocalDate.day, DateCase.getDay() ); 210 d.day = WeekDay( d.value ); 218 var DAY = MakeDay( YearFromTime(TIME), MONTH, DATE ); 219 return ( TimeClip (UTC(MakeDate( DAY, TimeWithinDay(TIME) ))) );
|
15.9.5.36-4.js | 140 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() ); 149 testcases[item++] = new TestCase( SECTION, DateString+".getDay()", LocalDate.day, DateCase.getDay() ); 191 d.day = WeekDay( d.value ); 201 var DAY = MakeDay( YEAR, MONTH, DATE ); 202 var UTC_DATE = UTC(MakeDate( DAY, TimeWithinDay(T)));
|
15.9.5.36-5.js | 127 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() ); 136 testcases[item++] = new TestCase( SECTION, DateString+".getDay()", LocalDate.day, DateCase.getDay() ); 178 d.day = WeekDay( d.value ); 188 var DAY = MakeDay( YEAR, MONTH, DATE ); 189 var UTC_DATE = UTC(MakeDate( DAY, TimeWithinDay(T)));
|
15.9.5.36-6.js | 114 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() ); 123 testcases[item++] = new TestCase( SECTION, DateString+".getDay()", LocalDate.day, DateCase.getDay() ); 165 d.day = WeekDay( d.value ); 175 var DAY = MakeDay( YEAR, MONTH, DATE ); 176 var UTC_DATE = UTC(MakeDate( DAY, TimeWithinDay(T)));
|
15.9.5.36-7.js | 99 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() ); 108 testcases[item++] = new TestCase( SECTION, DateString+".getDay()", LocalDate.day, DateCase.getDay() ); 150 d.day = WeekDay( d.value ); 160 var DAY = MakeDay( YEAR, MONTH, DATE ); 161 var UTC_DATE = UTC(MakeDate( DAY, TimeWithinDay(T)));
|
15.9.5.37-2.js | 146 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() ); 155 testcases[item++] = new TestCase( SECTION, DateString+".getDay()", LocalDate.day, DateCase.getDay() ); 197 d.day = WeekDay( d.value ); 206 var DAY = MakeDay( YEAR, MONTH, DATE ); 208 return ( TimeClip(MakeDate(DAY, TimeWithinDay(T))) );
|
15.9.5.37-3.js | 132 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() ); 141 testcases[item++] = new TestCase( SECTION, DateString+".getDay()", LocalDate.day, DateCase.getDay() ); 183 d.day = WeekDay( d.value ); 192 var DAY = MakeDay( YEAR, MONTH, DATE ); 194 return ( TimeClip(MakeDate(DAY, TimeWithinDay(T))) );
|
15.9.5.37-4.js | 114 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() ); 123 testcases[item++] = new TestCase( SECTION, DateString+".getDay()", LocalDate.day, DateCase.getDay() ); 165 d.day = WeekDay( d.value ); 174 var DAY = MakeDay( YEAR, MONTH, DATE ); 176 return ( TimeClip(MakeDate(DAY, TimeWithinDay(T))) );
|
15.9.5.37-5.js | 97 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() ); 106 testcases[item++] = new TestCase( SECTION, DateString+".getDay()", LocalDate.day, DateCase.getDay() ); 148 d.day = WeekDay( d.value ); 157 var DAY = MakeDay( YEAR, MONTH, DATE ); 159 return ( TimeClip(MakeDate(DAY, TimeWithinDay(T))) );
|
/external/icu4c/test/intltest/ |
calcasts.cpp | 8 * conversion between julian-day to fields and vice versa. 64 checkField(cal, UCAL_DATE, cases[i].day,status); 76 cal->set(UCAL_DATE, cases[i].day); 128 // Julian Day Era Year Month Day WkDay Hour Min Sec 217 // Julian Day Era Year Month Day WkDay Hour Min Sec 287 // Julian Day Era Year Month Day WkDay Hour Min Sec 303 // G.YY/MM/DD Era Year Month Day WkDay Hour Min Se [all...] |
/dalvik/libcore/xml/src/main/java/javax/xml/datatype/ |
Duration.java | 115 * <td>day</td> 202 + " day set = " + daySet 443 * "1 day" + "-3 days" = "-2 days" 444 * "1 year" + "1 day" = "1 year and 1 day" 447 * "1 year" + "-1 day" = IllegalStateException 450 * <p>Since there's no way to meaningfully subtract 1 day from 1 month, 482 * example, adding negative one day to one month causes 574 * "1 day" - "-3 days" = "4 days" 575 * "1 year" - "1 day" = IllegalStateExceptio [all...] |
/external/icu4c/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...] |
coptccal.h | 256 * Convert an Coptic year, month, and day to a Julian day. 260 * @param day the day 261 * @return Julian day 264 static int32_t copticToJD(int32_t year, int32_t month, int32_t day);
|
vtzone.cpp | 228 int32_t year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0; local 252 day = parseAsciiDigits(str, 6, 2, status); 263 if (year < 0 || month < 0 || month > 11 || day < 1 || day > maxDayOfMonth || 276 UDate time = Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY; 372 * dow day of week in BYDAY, or 0 when not found 373 * wim day of week ordinal number in BYDAY, or 0 when not found 374 * dom an array of day of month 439 // Note: BYDAY may contain multiple day of week separated by comma. It is unlikely used for 442 // 2-letter format is used just for representing a day of week, for example, "SU" for Sunda [all...] |
calendar.cpp | [all...] |
/frameworks/base/media/libdrm/mobile1/src/parser/ |
parser_rel.c | 51 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, 55 day >= 1 && day <= drm_monthDays(year, month) && 66 int32_t year, mon, day, hour, min, sec; local 95 /** get day */ 101 day = atoi((char *)pHead); 128 if (0 != drm_checkDate(year, mon, day, hour, min, sec)) 131 YMD_HMS_2_INT(year, mon, day, dateTime->date, hour, min, sec, 238 int32_t year, mon, day, hour, min, sec; local 364 /** get day */ [all...] |