/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
TimeUnitConstants.java | 23 /** Represents a day. */ 24 public static final TimeUnit DAY = TimeUnit.DAY;
|
TimeUnit.java | 40 /** Represents a day. */ 41 public static final TimeUnit DAY = new TimeUnit("day", 3); 67 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
|
BasicDurationFormat.java | 102 TimeUnit.DAY,
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
TimeUnit.java | 38 return new TimeUnit[] { SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR }; 56 return DAY;
|
/external/openssh/ |
auth-shadow.c | 39 #ifdef DAY 40 # undef DAY 42 #define DAY (24L * 60 * 60) /* 1 day in seconds */ 48 * occurs the day after the day specified. 62 today = time(NULL) / DAY; 75 "Your account will expire in %d day%s.\n", daysleft, 101 today = time(NULL) / DAY; 135 "Your password will expire in %d day%s.\n", daysleft [all...] |
auth-passwd.c | 66 #define DAY (24L * 60 * 60) /* 1 day in seconds */ 67 #define TWO_WEEKS (2L * 7 * DAY) /* 2 weeks in seconds */ 152 daysleft = pwtimeleft / DAY + 1; 154 "Your password will expire in %lld day%s.\n", 159 daysleft = actimeleft / DAY + 1; 161 "Your account will expire in %lld day%s.\n",
|
/frameworks/base/services/core/java/com/android/server/ |
TwilightCalculator.java | 24 /** Value of {@link #mState} if it is currently day */ 25 public static final int DAY = 0; 49 * Time of sunset (civil twilight) in milliseconds or -1 in the case the day 56 * day or night never ends. 96 // The day or night never ends for the given date and location, if this value is out of 104 mState = DAY; 116 mState = DAY;
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
TwilightCalculator.java | 37 /** Value of {@link #state} if it is currently day */ 38 public static final int DAY = 0; 62 * Time of sunset (civil twilight) in milliseconds or -1 in the case the day 69 * day or night never ends. 111 // The day or night never ends for the given date and location, if this value is out of 119 state = DAY; 131 state = DAY;
|
/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 });
|
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);
|
/libcore/luni/src/test/java/libcore/icu/ |
DateIntervalFormatTest.java | 29 private static final long DAY = 24 * HOUR; 30 private static final long MONTH = 31 * DAY; 81 assertEquals("1/19/2009 ? 1/22/2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 86 assertEquals("19.01.2009 ? 22.01.2009", formatDateRange(de_DE, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 91 assertEquals("19/1/2009?22/1/2009", formatDateRange(es_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 96 assertEquals("19/1/2009?22/1/2009", formatDateRange(es_ES, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE)); 102 assertEquals("January 19 ? 22, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, 0)); 103 assertEquals("Jan 19 ? 22, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_DATE | FORMAT_ABBREV_ALL)); 104 assertEquals("Mon, Jan 19 ? Thu, Jan 22, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_WEEKDAY | FORMAT_ABBREV_ALL)); 105 assertEquals("Monday, January 19 ? Thursday, January 22, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_WEEKDAY)) [all...] |
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
UsageStatsTest.java | 63 private static final long DAY = MINUTE * 60 * 24; 64 private static final long WEEK = 7 * DAY; 65 private static final long MONTH = 30 * DAY; 66 private static final long YEAR = 365 * DAY; 206 SystemClock.setCurrentTimeMillis(System.currentTimeMillis() - (DAY / 2)); 217 assertLessThan(Math.abs(diff - (DAY / 2)), TIME_DIFF_THRESHOLD); 225 SystemClock.setCurrentTimeMillis(System.currentTimeMillis() + (DAY / 2)); 277 intervalLengths.put(UsageStatsManager.INTERVAL_DAILY, DAY); 292 // Verify that each period is a day long.
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
RelativeDateTimeFormatterTest.java | 42 {1.0, Direction.NEXT, RelativeUnit.DAYS, "in 1 day"}, 71 {1.0, Direction.LAST, RelativeUnit.DAYS, "1 day ago"}, 111 {1.0, Direction.NEXT, RelativeUnit.DAYS, "In 1 day"}, 140 {1.0, Direction.LAST, RelativeUnit.DAYS, "1 day ago"}, 185 {1.0, Direction.NEXT, RelativeUnit.DAYS, "in 1 day"}, 214 {1.0, Direction.LAST, RelativeUnit.DAYS, "1 day ago"}, 259 {1.0, Direction.NEXT, RelativeUnit.DAYS, "in 1 day"}, 288 {1.0, Direction.LAST, RelativeUnit.DAYS, "1 day ago"}, 352 {Direction.NEXT_2, AbsoluteUnit.DAY, null}, 354 {Direction.NEXT, AbsoluteUnit.DAY, "tomorrow"} [all...] |
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherDataProvider.java | 39 String day; field in class:WeatherDataPoint 43 day = d; 56 public static final String DAY = "day"; 95 new String[]{ Columns.ID, Columns.DAY, Columns.TEMPERATURE }); 98 c.addRow(new Object[]{ new Integer(i), data.day, new Integer(data.degrees) }); 129 new String[]{ Columns.ID, Columns.DAY, Columns.TEMPERATURE });
|
WeatherWidgetService.java | 73 String day = "Unknown Day"; local 76 final int dayColIndex = mCursor.getColumnIndex(WeatherDataProvider.Columns.DAY); 79 day = mCursor.getString(dayColIndex); 83 // Return a proper item with the proper day and temperature 87 rv.setTextViewText(R.id.widget_item, String.format(formatStr, temp, day)); 92 extras.putString(WeatherWidgetProvider.EXTRA_DAY_ID, day);
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
ClockContract.java | 226 * Alarm day in month. 230 public static final String DAY = "day";
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
PeriodBuilderFactoryTest.java | 85 pbf.setUnitIsAvailable(DAY, true); 94 pbf.setAvailableUnitRange(SECOND, DAY);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 47 private static final int DAY = 18; 158 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); 181 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY); 184 Date formatDate = new Date(YEAR_FROM_1900, MONTH, DAY); 226 // for compatibility. Maybe one day we'll be able to fix this...
|
/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); 161 * @param dayOfMonth The date day of month. 167 private void updateTitle(int year, int month, int day) { 203 final int day = savedInstanceState.getInt(DAY); local [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. 120 * @param dayOfMonth The initial day of the dialog. 138 * @param dayOfMonth The initial day of the dialog. 182 public void onDateChanged(DatePicker view, int year, int month, int day) { 183 updateTitle(year, month, day); 193 private void updateTitle(int year, int month, int day) { 218 int day = savedInstanceState.getInt(DAY); local [all...] |
/external/libmtp/ |
hotplug.sh.in | 162 DAY=`echo ${DATE} | awk 'BEGIN { FS="/"} {print $3; }'`
|
/libcore/luni/src/main/java/libcore/icu/ |
RelativeDateTimeFormatter.java | 82 * onto a different calendar day. 150 // "Yesterday" in this case. Unless the duration is longer than a day, 171 com.ibm.icu.text.RelativeDateTimeFormatter.AbsoluteUnit.DAY); 178 com.ibm.icu.text.RelativeDateTimeFormatter.AbsoluteUnit.DAY); 186 // Show "Yesterday / Tomorrow" instead of "1 day ago / In 1 day". 187 aunit = com.ibm.icu.text.RelativeDateTimeFormatter.AbsoluteUnit.DAY; 190 // Show "Today" if time and now are on the same day. 191 aunit = com.ibm.icu.text.RelativeDateTimeFormatter.AbsoluteUnit.DAY;
|
/external/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...] |
/packages/apps/Calendar/src/com/android/calendar/ |
AllInOneActivity.java | 481 case ViewType.DAY: 746 // custom drawable that shows the day of the month of today [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
TimeUnitFormat.java | 38 * // only SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, and YEAR are supported 379 } else if (timeUnitName.equals("day")) { 380 timeUnit = TimeUnit.DAY; 511 } else if (timeUnit == TimeUnit.DAY) {
|