/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/ |
LocationDbHelper.java | 42 public static final String COLUMN_NAME_DAY = "day"; 92 values.put(COLUMN_NAME_DAY, entry.day); 103 * objects from the database for a given day. The list can be empty (but not {@code null}) if 104 * there are no such items. This method looks at the day that the calendar argument points at. 113 String day = Utils.getHashedDay(calendar); local 123 new String[]{day}, // The values for the WHERE clause 147 * Deletes all the entries in the database for the given day. The argument {@code day} should 150 public final int delete(String day) { 154 String[] selectionArgs = {day}; [all...] |
/external/chromium_org/third_party/WebKit/Source/web/resources/ |
calendarPicker.css | 61 .day-cell { 79 .day-cell { 83 .day-cell.highlighted.today, 84 .day-cell.today { 90 .day-cell.highlighted { 95 .day-cell.highlighted.disabled { 101 .day-cell.selected { 106 .day-cell.disabled { 110 .day-cell.current-month { 120 .week-day-label [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
gregoimp.h | 100 #define kEarliestViableMillis -185331720384000000.0 // minimum representable by julian day -1e17 102 #define kLatestViableMillis 185753453990400000.0 // max representable by julian day +1e17 105 * The minimum supported Julian day. This value is equivalent to 117 * The maximum supported Julian day. This value is equivalent to 161 * Convert a year, month, and day-of-month, given in the proleptic 165 * @param dom 1-based day of month 166 * @return the day number, with day 0 == Jan 1 1970 171 * Convert a 1970-epoch day number to proleptic Gregorian year, 172 * month, day-of-month, and day-of-week [all...] |
japancal.cpp | 38 int8_t day; member in struct:__anon16717 40 // Year Month Day 344 int32_t day = 1; local 348 return kEraInfo[era].day; 352 return day; 412 diff,low, high, i, kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCAL_DATE),year); 424 diff = internalGet(UCAL_DATE) - kEraInfo[i].day; 516 int32_t nextEraDate = kEraInfo[era + 1].day;
|
cecal.h | 104 * Convert an Coptic/Ethiopic year, month, and day to a Julian day. 108 * @param day the day 110 * @return Julian day 117 * Convert a Julian day to an Coptic/Ethiopic year, month and day 119 * @param julianDay the Julian day 123 * @param date receives the day 127 int32_t& year, int32_t& month, int32_t& day); [all...] |
coptccal.h | 226 * Convert an Coptic year, month, and day to a Julian day. 230 * @param day the day 231 * @return Julian day 234 static int32_t copticToJD(int32_t year, int32_t month, int32_t day);
|
cecal.cpp | 124 + ClockMath::floorDivide(year, 4) // extra day of leap year 131 CECalendar::jdToCE(int32_t julianDay, int32_t jdEpochOffset, int32_t& year, int32_t& month, int32_t& day) 143 day = (doy % 30) + 1; // 1-based days in a month
|
gregoimp.cpp | 93 return julian - JULIAN_1970_CE; // JD => epoch day 96 void Grego::dayToFields(double day, int32_t& year, int32_t& month, 100 day += JULIAN_1970_CE - JULIAN_1_CE; 102 // Convert from the day number to the multiple radix 104 // For example, the 4-year cycle has 4 years + 1 leap day; giving 106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length 119 // Gregorian day zero is a Monday. 120 dow = (int32_t) uprv_fmod(day + 1, 7); 137 double day = ClockMath::floorDivide((double)time, (double)U_MILLIS_PER_DAY, millisInDay); local 139 dayToFields(day, year, month, dom, dow, doy) [all...] |
/external/icu/icu4c/source/i18n/ |
gregoimp.h | 100 #define kEarliestViableMillis -185331720384000000.0 // minimum representable by julian day -1e17 102 #define kLatestViableMillis 185753453990400000.0 // max representable by julian day +1e17 105 * The minimum supported Julian day. This value is equivalent to 117 * The maximum supported Julian day. This value is equivalent to 161 * Convert a year, month, and day-of-month, given in the proleptic 165 * @param dom 1-based day of month 166 * @return the day number, with day 0 == Jan 1 1970 171 * Convert a 1970-epoch day number to proleptic Gregorian year, 172 * month, day-of-month, and day-of-week [all...] |
japancal.cpp | 38 int8_t day; member in struct:__anon5603 40 // Year Month Day 344 int32_t day = 1; local 348 return kEraInfo[era].day; 352 return day; 412 diff,low, high, i, kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCAL_DATE),year); 424 diff = internalGet(UCAL_DATE) - kEraInfo[i].day; 516 int32_t nextEraDate = kEraInfo[era + 1].day;
|
cecal.h | 104 * Convert an Coptic/Ethiopic year, month, and day to a Julian day. 108 * @param day the day 110 * @return Julian day 117 * Convert a Julian day to an Coptic/Ethiopic year, month and day 119 * @param julianDay the Julian day 123 * @param date receives the day 127 int32_t& year, int32_t& month, int32_t& day); [all...] |
coptccal.h | 226 * Convert an Coptic year, month, and day to a Julian day. 230 * @param day the day 231 * @return Julian day 234 static int32_t copticToJD(int32_t year, int32_t month, int32_t day);
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 97 public static final char DAY = 'E'; 316 int day = value.indexOf('d'); local 319 if (month >= 0 && day >= 0 && year >= 0) { 321 if (year < month && year < day) { 322 if (month < day) { 327 } else if (month < day) { 328 if (day < year) { 333 } else { // day < month 372 * array containing the day ({@code 'd'}), month ({@code 'M'}), and year ({@code 'y'})) 376 * not just the day, month, and year, and not necessarily in the sam [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
EventRecurrence.java | 168 public static int calendarDay2Day(int day) 170 switch (day) 187 throw new RuntimeException("bad day of week: " + day); 191 public static int timeDay2Day(int day) 193 switch (day) 210 throw new RuntimeException("bad day of week: " + day); 213 public static int day2TimeDay(int day) 215 switch (day) 407 int day = byday[i]; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
EventRecurrenceFormatter.java | 89 // There is no "BYDAY" specifier, so use the day of the 97 int day = EventRecurrence.timeDay2Day(recurrence.startDate.weekDay); local 98 string = dayToString(day, DateUtils.LENGTH_LONG); 148 * Converts day of week to a String. 149 * @param day a EventRecurrence constant 150 * @return day of week as a string 152 private static String dayToString(int day, int dayOfWeekLength) { 153 return DateUtils.getDayOfWeekString(dayToUtilDay(day), dayOfWeekLength); 157 * Converts EventRecurrence's day of week to DateUtil's day of week [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePickerDialog.java | 51 private static final String DAY = "day"; 73 * @param dayOfMonth The day of the month that was set. 83 * @param dayOfMonth The initial day of the dialog. 99 * @param dayOfMonth The initial day of the dialog. 119 * @param dayOfMonth The initial day of the dialog. 137 * @param dayOfMonth The initial day of the dialog. 181 public void onDateChanged(DatePicker view, int year, int month, int day) { 182 updateTitle(year, month, day); 192 private void updateTitle(int year, int month, int day) { 217 int day = savedInstanceState.getInt(DAY); local [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeFactory.java | 148 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 150 * year, month, day, hour, minute, and second. 177 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively. 179 * year, month, day, hour, minute, and second. 312 * whose lexical representation contains only day, hour, minute, and second components. 352 * whose lexical representation contains only day, hour, minute, and second components. 374 * <p>Any remaining milliseconds after determining the day, hour, minute and second are discarded.</p> 413 int hours = (int) (val % 24L); // 24 hours per day 430 BigInteger hours = BigInteger.valueOf(val % 24L); // 24 hours per day 438 * <code>day</code>, <code>hour</code>, <code>minute</code> and <code>second</code> as defined i [all...] |
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/ |
WeatherDataProvider.java | 34 String day; field in class:WeatherDataPoint 38 day = d; 51 public static final String DAY = "day"; 90 new String[]{ Columns.ID, Columns.DAY, Columns.TEMPERATURE }); 93 c.addRow(new Object[]{ new Integer(i), data.day, new Integer(data.degrees) }); 124 new String[]{ Columns.ID, Columns.DAY, Columns.TEMPERATURE });
|
/external/bison/build-aux/ |
mdate-sh | 49 Pretty-print the modification day of FILE, in the format: 153 # $3 = day 160 # $1 = day 182 ???*) day=$1;; 183 *) day=$3; shift;; 187 # the time of day or the year. 214 echo $day $month $year
|
/external/chromium_org/net/ftp/ |
ftp_util.h | 36 // columns. The first one contains month, the second one contains day 40 const base::string16& day,
|
/external/chromium_org/third_party/lcov/bin/ |
updateversion.pl | 47 my ($sec, $min, $hour, $year, $month, $day); 51 ($sec, $min, $hour, $day, $month, $year) = localtime($stat[9]); 55 return (sprintf("%04d-%02d-%02d", $year, $month, $day), 56 sprintf("%04d%02d%02d%02d%02d.%02d", $year, $month, $day,
|
/external/chromium_org/v8/src/ |
date.h | 161 // and same starting day for the year. The ECMAscript specification says 167 int year, month, day; local 168 YearMonthDayFromDays(days, &year, &month, &day); 169 int new_days = DaysFromYearMonth(EquivalentYear(year), month) + day - 1; 175 // - week day of first day. 186 // the corresponding year, month, and day. 187 void YearMonthDayFromDays(int days, int* year, int* month, int* day); 190 // the first day of the given month in the given year. 269 // Year/Month/Day cache [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
HeaderParser.java | 85 int day = Integer.parseInt(s1); local 86 if (day <= 0 || day > 31) 87 throw createParseException("Bad day "); 88 retval.set(Calendar.DAY_OF_MONTH, day);
|
/frameworks/base/core/java/android/widget/ |
CalendarViewMaterialDelegate.java | 251 public void onDaySelected(DayPickerView view, Calendar day) { 253 final int year = day.get(Calendar.YEAR); 254 final int month = day.get(Calendar.MONTH); 255 final int dayOfMonth = day.get(Calendar.DAY_OF_MONTH);
|
/external/chromium_org/chrome/browser/history/ |
visit_filter.h | 18 // out visits by time of the day, day of the week, workdays, holidays, duration 51 // only applies to the filter time's time-of-day, restrictions on how long 62 // Sets the filter to use only visits that happened on the specified day of 64 // |day| - day of the week: 0 - sunday, 1 - monday, etc. 65 void SetDayOfTheWeekFilter(int day); 79 // time-of-day are scored higher. The dropoff in 83 // time-of-day are score higher. The dropoff in score 120 // |day| could be outside of the range: -4 (3 - 7) means Wednesday last week [all...] |