HomeSort by relevance Sort by last modified time
    Searched refs:DAY (Results 1 - 25 of 54) sorted by null

1 2 3

  /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 65 #define DAY (24L * 60 * 60) /* 1 day in seconds */
66 #define TWO_WEEKS (2L * 7 * DAY) /* 2 weeks in seconds */
151 daysleft = pwtimeleft / DAY + 1;
153 "Your password will expire in %lld day%s.\n",
158 daysleft = actimeleft / DAY + 1;
160 "Your account will expire in %lld day%s.\n",
  /libcore/luni/src/test/java/libcore/icu/
DateIntervalFormatTest.java 31 private static final long DAY = 24 * HOUR;
32 private static final long MONTH = 31 * DAY;
76 assertEquals("1/19/2009 ? 1/22/2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE));
81 assertEquals("19.01.2009 - 22.01.2009", formatDateRange(de_DE, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE));
86 assertEquals("19/1/2009 ? 22/1/2009", formatDateRange(es_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE));
91 assertEquals("19/1/2009 ? 22/1/2009", formatDateRange(es_ES, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_YEAR | FORMAT_NUMERIC_DATE));
97 assertEquals("January 19?22, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, 0));
98 assertEquals("Jan 19?22, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_DATE | FORMAT_ABBREV_ALL));
99 assertEquals("Mon, Jan 19 ? Thu, Jan 22, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_WEEKDAY | FORMAT_ABBREV_ALL));
100 assertEquals("Monday, January 19 ? Thursday, January 22, 2009", formatDateRange(en_US, tz, fixedTime, fixedTime + 3 * DAY, FORMAT_SHOW_WEEKDAY))
    [all...]
  /frameworks/base/services/java/com/android/server/
TwilightCalculator.java 25 /** Value of {@link #mState} if it is currently day */
26 public static final int DAY = 0;
50 * Time of sunset (civil twilight) in milliseconds or -1 in the case the day
57 * day or night never ends.
97 // The day or night never ends for the given date and location, if this value is out of
105 mState = DAY;
117 mState = DAY;
  /frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/common/helpers/
DatePickerHelper.java 31 public static final int DAY = 1;
39 return getNumberPickerField(DAY).getText();
70 getNumberPickerIncrementButton(DAY).click();
79 getNumberPickerDecrementButton(DAY).click();
132 // Adjust day - increment or decrement using the shortest path
  /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);
  /frameworks/base/core/java/android/app/
DatePickerDialog.java 44 private static final String DAY = "day";
62 * @param dayOfMonth The day of the month that was set.
72 * @param dayOfMonth The initial day of the dialog.
88 * @param dayOfMonth The initial day of the dialog.
120 int month, int day) {
121 mDatePicker.init(year, month, day, this);
122 updateTitle(year, month, day);
139 * @param dayOfMonth The date day of month.
159 private void updateTitle(int year, int month, int day) {
195 int day = savedInstanceState.getInt(DAY); local
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
ClockContract.java 221 * Alarm day in month.
225 public static final String DAY = "day";
AlarmInstance.java 67 DAY,
104 values.put(DAY, instance.mDay);
ClockDatabaseHelper.java 90 ClockContract.InstancesColumns.DAY + " INTEGER NOT NULL, " +
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 43 private static final int DAY = 18;
128 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE);
157 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY);
160 Date formatDate = new Date(YEAR_FROM_1900, MONTH, DAY);
202 // for compatibility. Maybe one day we'll be able to fix this...
  /packages/apps/Contacts/src/com/android/contacts/datepicker/
DatePickerDialog.java 54 private static final String DAY = "day";
76 * @param dayOfMonth The day of the month that was set.
86 * @param dayOfMonth The initial day of the dialog.
102 * @param dayOfMonth The initial day of the dialog.
124 * @param dayOfMonth The initial day of the dialog.
142 * @param dayOfMonth The initial day of the dialog.
199 public void onDateChanged(DatePicker view, int year, int month, int day) {
200 updateTitle(year, month, day);
210 private void updateTitle(int year, int month, int day) {
235 int day = savedInstanceState.getInt(DAY); local
    [all...]
  /external/libmtp/
hotplug.sh.in 162 DAY=`echo ${DATE} | awk 'BEGIN { FS="/"} {print $3; }'`
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DateTimePickerDialog.java 27 private static final String DAY = "day";
50 * @param dayOfMonth The day of the month that was set.
63 * @param dayOfMonth The initial day of the dialog.
131 int month, int day) {
160 * @param dayOfMonth The date day of month.
  /external/chromium_org/v8/src/
dateparser.cc 37 // Day and month defaults to 1.
44 int day = kNone; local
51 day = comp_[2];
55 day = comp_[1];
62 day = comp_[0];
66 day = comp_[1];
69 day = comp_[0];
79 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false;
83 output->set(DAY, Smi::FromInt(day));
    [all...]
dateparser.h 43 // [2]: day
54 YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, MILLISECOND, UTC_OFFSET, OUTPUT_SIZE
401 DayComposer* day,
  /external/v8/src/
dateparser.cc 37 // Day and month defaults to 1.
44 int day = kNone; local
51 day = comp_[2];
55 day = comp_[1];
62 day = comp_[0];
66 day = comp_[1];
69 day = comp_[0];
79 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false;
83 output->set(DAY, Smi::FromInt(day));
    [all...]
dateparser.h 43 // [2]: day
54 YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, MILLISECOND, UTC_OFFSET, OUTPUT_SIZE
401 DayComposer* day,
  /external/chromium_org/chrome/browser/resources/quota_internals/
event_handler.js 136 var DAY = 23 * HOUR;
137 var WEEK = 7 * DAY;
141 var SHOW_HOUR = 3 * DAY;
143 var SHOW_WEEK = 3 * 30 * DAY;
154 result = Math.ceil(delta / DAY) + ' day ago ';
  /packages/apps/Calendar/src/com/android/calendar/
AllInOneActivity.java 481 case ViewType.DAY:
743 // custom drawable that shows the day of the month of today
    [all...]
CalendarViewAdapter.java 49 // Day view: show day of the week + full date underneath
52 // Agenda view: show day of the week + full date underneath
66 // The current selected event's time, used to calculate the date and day of the week
78 // Updates time specific variables (time-zone, today's Julian day).
107 // Sets the time zone and today's Julian day to be used by the adapter.
183 case ViewType.DAY:
223 case ViewType.DAY:
304 // Used when the user selects a new day/week/month to watch
310 // Builds a string with the day of the week and the word yesterday/today/tomorro
    [all...]
GeneralPreferences.java 114 public static final int DEFAULT_DETAILED_VIEW = CalendarController.ViewType.DAY;
  /external/chromium_org/third_party/icu/source/tools/gendraft/
genheaders.pl 127 ($DAY, $MONTH, $YEAR) = (localtime)[3,4,5];
  /external/icu4c/tools/gendraft/
genheaders.pl 127 ($DAY, $MONTH, $YEAR) = (localtime)[3,4,5];

Completed in 549 milliseconds

1 2 3