/packages/apps/Calendar/src/com/android/calendar/event/ |
CreateEventDialogFragment.java | 52 * Allows the user to quickly create a new all-day event from the calendar's month view. 108 public CreateEventDialogFragment(Time day) { 109 setDay(day); 112 public void setDay(Time day) { 113 mDateString = day.format(EVENT_DATE_FORMAT); 114 mDateInMillis = day.toMillis(true);
|
/external/icu/icu4c/source/i18n/ |
simpletz.cpp | 43 // and day-of-week-on-or-before-that-date mode (DOW_LE_DOM_MODE). 276 * day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday 279 * the day of week in the month counting backward from the end of the month. 282 * specifies the day of the month, regardless of what day of the week it is. 283 * (e.g., (10, 0) is the tenth day of the month) 285 * specifies the day of the month counting backward from the end of the 286 * month, regardless of what day of the week it is (e.g., (-2, 0) is the 287 * next-to-last day of the month). 289 * first specified day of the week on or after the specfied day of the month 517 double day = uprv_floor(date \/ U_MILLIS_PER_DAY); local [all...] |
olsontz.h | 168 int32_t day, uint8_t dayOfWeek, 175 int32_t day, uint8_t dayOfWeek,
|
vzone.h | 151 * BYDAY rule with day of week (such as BYDAY=1SUN). This method produce 181 * @param day The reference date's day-in-month (1-based) 182 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday) 183 * @param millis The reference date's milliseconds in day, local standard time 188 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, 203 * @param day The reference date's day-in-month (1-based) 204 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday) 205 * @param millis The reference date's milliseconds in day, local standard tim [all...] |
hebrwcal.h | 37 * on the day of (an arithmetic approximation of) each new moon. Since the 349 * Return the Julian day number of day before the first day of the 354 * @param useMonth if false, compute the day before the first day of 355 * the given year, otherwise, compute the day before the first day of 357 * @param return the Julian day number of the day before the firs [all...] |
reldtfmt.h | 258 int32_t fDayMin; // day id of lowest # 259 int32_t fDayMax; // day id of highest # 271 * @param day day offset ( -1, 0, 1, etc.. ) 275 const UChar *getStringForDay(int32_t day, int32_t &len, UErrorCode &status) const;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
AstroTest.java | 40 // year, month, day, hour, minute, longitude (radians), ascension(radians), declination(radians) 93 // year, month, day, hour, minute, ascension(radians), declination(radians) 253 DateFormat day = DateFormat.getDateInstance(cal, DateFormat.MEDIUM, Locale.US); local 282 errln("FAIL: " + day.format(cal.getTime()) + 287 logln(day.format(cal.getTime()) + 292 errln("FAIL: " + day.format(cal.getTime()) + 297 logln(day.format(cal.getTime()) + 302 logln(day.format(cal.getTime()) + 373 String testString = "CASE["+i+"]: Year "+(int)testcase[i][0]+" Month "+(int)testcase[i][1]+" Day "+
|
CompatibilityTest.java | 114 * (first day of week, minimal days in first week). 209 " (" + ((float)delta/ONE_DAY) + " day delta) => " + 230 " (" + ((float)delta/ONE_DAY) + " day delta) => " + 481 if (dow < min || dow > max) errln("FAIL: Day of week " + dow + " out of range"); 483 errln("FAIL2: Day of week should be SUNDAY; is " + dow + ": " + cal.getTime()); 529 verify765("1997 third day of June = ", c, 1997, Calendar.JUNE, 3); 611 void verify765(String msg, Calendar c, int year, int month, int day) { 617 cd == day) { 624 year + "/" + (month+1) + "/" + day); 767 private int day; field in class:CompatibilityTest.TransitionItem [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
AstroTest.java | 36 // year, month, day, hour, minute, longitude (radians), ascension(radians), declination(radians) 89 // year, month, day, hour, minute, ascension(radians), declination(radians) 249 DateFormat day = DateFormat.getDateInstance(cal, DateFormat.MEDIUM, Locale.US); local 278 errln("FAIL: " + day.format(cal.getTime()) + 283 logln(day.format(cal.getTime()) + 288 errln("FAIL: " + day.format(cal.getTime()) + 293 logln(day.format(cal.getTime()) + 298 logln(day.format(cal.getTime()) + 369 String testString = "CASE["+i+"]: Year "+(int)testcase[i][0]+" Month "+(int)testcase[i][1]+" Day "+
|
CompatibilityTest.java | 110 * (first day of week, minimal days in first week). 205 " (" + ((float)delta/ONE_DAY) + " day delta) => " + 226 " (" + ((float)delta/ONE_DAY) + " day delta) => " + 477 if (dow < min || dow > max) errln("FAIL: Day of week " + dow + " out of range"); 479 errln("FAIL2: Day of week should be SUNDAY; is " + dow + ": " + cal.getTime()); 525 verify765("1997 third day of June = ", c, 1997, Calendar.JUNE, 3); 607 void verify765(String msg, Calendar c, int year, int month, int day) { 613 cd == day) { 620 year + "/" + (month+1) + "/" + day); 763 private int day; field in class:CompatibilityTest.TransitionItem [all...] |
/external/v8/test/intl/overrides/ |
date.js | 38 [], {year: 'numeric', month: 'numeric', day: 'numeric', 51 locale, {year: 'numeric', month: 'numeric', day: 'numeric', 60 var options = {year: 'numeric', month: 'long', day: 'numeric',
|
/external/libxml2/ |
xmlschemastypes.c | 64 unsigned int day :5; /* 1 <= day <= 31 */ member in struct:_xmlSchemaValDate 78 long day; member in struct:_xmlSchemaValDuration 3560 long carry, mon, day; local 5852 unsigned long mon, day, hour = 0, min = 0; local [all...] |
/external/v8/src/ |
builtins.cc | 2133 double const day = MakeDay(tmp->get(0)->Number(), tmp->get(1)->Number(), local 2161 int year, month, day, weekday, hour, min, sec, ms; local 2282 double const day = MakeDay(year, month, date); local 2371 double const day = MakeDay(year, month, date); local 2389 int year, month, day; local 2411 int year, month, day; local 2443 int day = isolate->date_cache()->DaysFromTime(local_time_ms); local 2479 int day = isolate->date_cache()->DaysFromTime(local_time_ms); local 2501 int day = isolate->date_cache()->DaysFromTime(local_time_ms); local 2536 int year, unused, day; local 2562 int day = isolate->date_cache()->DaysFromTime(local_time_ms); local 2599 int year, month, day; local 2620 int year, month, day; local 2651 int day = isolate->date_cache()->DaysFromTime(time_ms); local 2686 int day = isolate->date_cache()->DaysFromTime(time_ms); local 2707 int day = isolate->date_cache()->DaysFromTime(time_ms); local 2741 int year, unused, day; local 2766 int day = isolate->date_cache()->DaysFromTime(time_ms); local 2804 int year, month, day, weekday, hour, min, sec, ms; local 2856 int year, month, day, weekday, hour, min, sec, ms; local 2895 int year, month, day; local 2917 int year, month, day; local [all...] |
/external/autotest/site_utils/ |
collect_host_stats.py | 112 end_time = datetime(year=now.year, month=now.month, day=now.day,
|
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/ |
jquery.timeago.js | 6 * updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago"). 38 day: "a day", 76 hours < 48 && substitute($l.day, 1) ||
|
/external/icu/icu4c/source/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...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
TimeZone.java | 222 // * @param day the day-in-month of the given date. 223 // * @param dayOfWeek the day-of-week of the given date. 224 // * @param milliseconds the millis in day in <em>standard</em> local time. 259 public int getOffset(int era, int year, int month, int day, 261 return timeZone.getOffset(era, year, month, day, dayOfWeek, milliseconds); [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
ScheduleCalendar.java | 98 final int day = ((getDayOfWeek(time) - 1) + (daysOffset % n) + n) % n + 1; local 101 return mDays.contains(day) && time >= start && time < end;
|
/tools/test/connectivity/acts/framework/acts/ |
logger.py | 43 An iterable of date and time elements in the order of month, day, hour, 47 month, day = date.split('-') 50 return (month, day, h, m, s, ms)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_datetime.py | 373 eq(str(td(1)), "1 day, 0:00:00") 374 eq(str(td(-1)), "-1 day, 0:00:00") 544 self.assertEqual(dt.day, 1) 557 dt2 = self.theclass(dt.year, dt.month, dt.day) 587 # Verify that moving back a day gets to the end of year-1. 594 # Test every day in a leap-year and a non-leap year. 601 for day in range(1, maxday+1): 602 d = self.theclass(year, month, day) 609 a = self.theclass(a.year, a.month, a.day) # get rid of time parts 621 a = self.theclass(a.year, a.month, a.day) # get rid of time part [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_datetime.py | 373 eq(str(td(1)), "1 day, 0:00:00") 374 eq(str(td(-1)), "-1 day, 0:00:00") 544 self.assertEqual(dt.day, 1) 557 dt2 = self.theclass(dt.year, dt.month, dt.day) 587 # Verify that moving back a day gets to the end of year-1. 594 # Test every day in a leap-year and a non-leap year. 601 for day in range(1, maxday+1): 602 d = self.theclass(year, month, day) 609 a = self.theclass(a.year, a.month, a.day) # get rid of time parts 621 a = self.theclass(a.year, a.month, a.day) # get rid of time part [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_datetime.py | 373 eq(str(td(1)), "1 day, 0:00:00") 374 eq(str(td(-1)), "-1 day, 0:00:00") 544 self.assertEqual(dt.day, 1) 557 dt2 = self.theclass(dt.year, dt.month, dt.day) 587 # Verify that moving back a day gets to the end of year-1. 594 # Test every day in a leap-year and a non-leap year. 601 for day in range(1, maxday+1): 602 d = self.theclass(year, month, day) 609 a = self.theclass(a.year, a.month, a.day) # get rid of time parts 621 a = self.theclass(a.year, a.month, a.day) # get rid of time part [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_datetime.py | 373 eq(str(td(1)), "1 day, 0:00:00") 374 eq(str(td(-1)), "-1 day, 0:00:00") 544 self.assertEqual(dt.day, 1) 557 dt2 = self.theclass(dt.year, dt.month, dt.day) 587 # Verify that moving back a day gets to the end of year-1. 594 # Test every day in a leap-year and a non-leap year. 601 for day in range(1, maxday+1): 602 d = self.theclass(year, month, day) 609 a = self.theclass(a.year, a.month, a.day) # get rid of time parts 621 a = self.theclass(a.year, a.month, a.day) # get rid of time part [all...] |
/external/libxml2/include/libxml/ |
nanoftp.h | 53 * @day: the day 58 * Note that only one of year and day:minute are specified. 64 const char *month, int day, int hour,
|
/external/pdfium/xfa/src/fwl/src/basewidget/include/ |
fwl_monthcalendarimp.h | 118 _DATE(int32_t year, int32_t month, int32_t day)
119 : iYear(year), iMonth(month), iDay(day) {}
216 _DATEINFO(int32_t day,
221 : iDay(day),
|