HomeSort by relevance Sort by last modified time
    Searched defs:today (Results 1 - 25 of 69) sorted by null

1 2 3

  /external/python/cpython2/Doc/includes/sqlite3/
pysqlite_datetime.py 8 today = datetime.date.today() variable
11 cur.execute("insert into test(d, ts) values (?, ?)", (today, now))
14 print today, "=>", row[0], type(row[0])
  /external/python/cpython3/Doc/includes/sqlite3/
pysqlite_datetime.py 8 today = datetime.date.today() variable
11 cur.execute("insert into test(d, ts) values (?, ?)", (today, now))
14 print(today, "=>", row[0], type(row[0]))
  /external/google-breakpad/src/client/windows/sender/
crash_report_sender.cc 63 int today = GetCurrentDate(); local
64 if (today == last_sent_date_ &&
76 ReportSent(today);
102 void CrashReportSender::ReportSent(int today) {
104 if (today != last_sent_date_) {
105 last_sent_date_ = today;
  /external/mockito/src/test/java/org/mockitousage/bugs/
ShouldMocksCompareToBeConsistentWithEqualsTest.java 24 Date today = mock(Date.class); local
29 set.add(today);
39 Date today = mock(Date.class); local
43 set.add(today);
44 set.add(today);
  /development/samples/Wiktionary/src/com/example/android/wiktionary/
WordWidget.java 53 // Build the widget update for today
84 Time today = new Time(); local
85 today.setToNow();
87 // Build the page title for today, such as "March 21"
89 monthNames[today.month], today.monthDay);
93 // Try querying the Wiktionary API for today's word
  /development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
WordWidget.java 54 // Build the widget update for today
73 Time today = new Time(); local
74 today.setToNow();
76 // Build today's page title, like "Wiktionary:Word of the day/March 21"
78 monthNames[today.month], today.monthDay);
83 // Try querying the Wiktionary API for today's word
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowDateUtilsTest.java 60 long today = java.util.Calendar.getInstance().getTimeInMillis(); local
61 ShadowSystemClock.setCurrentTimeMillis(today);
63 assertThat(DateUtils.isToday(today)).isTrue();
64 assertThat(DateUtils.isToday(today + (86400 * 1000) /* 24 hours */)).isFalse();
65 assertThat(DateUtils.isToday(today + (86400 * 10000) /* 240 hours */)).isFalse();
  /packages/apps/Contacts/src/com/android/contacts/util/
DateUtils.java 231 final Calendar today = Calendar.getInstance(); local
232 today.setTime(new Date());
234 // Round the current time to the exact start of today so that when we compare
235 // today against the target date, both dates are set to exactly 0000H.
236 today.set(Calendar.HOUR_OF_DAY, 0);
237 today.set(Calendar.MINUTE, 0);
238 today.set(Calendar.SECOND, 0);
239 today.set(Calendar.MILLISECOND, 0);
247 // Convert from the UTC date to the local date. Set the year to today's year if the
249 anniversary.set(!isYearSet ? today.get(Calendar.YEAR) : targetYear
    [all...]
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Stitch/
IFWIStitch.bat 30 for /f "tokens=1" %%i in ("%date%") do set today=%%i variable
33 set IFWI_Suffix=%today%_%hour:~0,2%%time:~3,2%
  /packages/apps/TV/tests/common/src/com/android/tv/testing/utils/
Utils.java 94 * random is today's date.
103 String today = dateFormat.format(new Date()); local
104 Log.d(TAG, "Today's random seed is " + today);
105 return Long.valueOf(today);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
Dates.py 25 # The Dates module also supplies function today(), which returns the
172 def today(): function
  /external/python/cpython2/Demo/classes/
Dates.py 25 # The Dates module also supplies function today(), which returns the
172 def today(): function
  /external/python/cpython2/Doc/
conf.py 28 # There are two options for replacing |today|: either, you set today to some
30 today = '' variable
  /external/python/cpython3/Doc/
conf.py 27 # There are two options for replacing |today|: either, you set today to some
29 today = '' variable
  /packages/apps/Calendar/src/com/android/calendar/month/
SimpleWeekView.java 141 // If this view contains the today
145 // Which day is today [0-6] or -1 if no day is today
157 // The timezone to display times/dates in (used for determining when Today
276 // Figure out what day today is
277 Time today = new Time(tz); local
278 today.setToNow();
296 if (time.year == today.year && time.yearDay == today.yearDay) {
  /cts/tests/tests/text/src/android/text/format/cts/
DateUtilsTest.java 263 long today = now; local
270 assertEquals("Today", DateUtils.getRelativeTimeSpanString(today, now,
  /frameworks/base/core/tests/coretests/src/android/hardware/display/
AmbientBrightnessDayStatsTest.java 97 LocalDate today = LocalDate.now(); local
98 AmbientBrightnessDayStats stats = new AmbientBrightnessDayStats(today,
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/
BuildPreferencePage.java 318 Date today = new Date(); local
319 if (certificate.getNotAfter().compareTo(today) < 0) {
324 if (certificate.getNotBefore().compareTo(today) > 0) {
  /test/vti/dashboard/src/main/java/com/android/vts/servlet/
ShowPerformanceDigestServlet.java 181 // Add today to the list of time intervals to analyze
183 PerformanceSummary today = local
185 summaries.add(today);
  /test/vti/dashboard/src/test/java/com/android/vts/job/
VtsPerformanceJobServletTest.java 119 // Add today's data
120 PerformanceSummary today = new PerformanceSummary(0, 1); local
131 today.insertProfilingPointSummary("p1", summary);
143 today.insertProfilingPointSummary("p2", summary);
144 dailySummaries.add(today);
145 legendLabels.add("today");
232 PerformanceSummary today = dailySummaries.get(0); local
238 today.insertProfilingPointSummary("p3", summary);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DateFormatRegressionTestJ.java 194 Date today = cal.getTime(); local
197 logln(sdf.format(today));
199 logln(sdf.format(today));
202 logln(sdf.format(today));
205 logln(sdf.format(today));
208 logln(sdf.format(today));
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DateFormatRegressionTestJ.java 191 Date today = cal.getTime(); local
194 logln(sdf.format(today));
196 logln(sdf.format(today));
199 logln(sdf.format(today));
202 logln(sdf.format(today));
205 logln(sdf.format(today));
  /libcore/luni/src/main/java/libcore/icu/
LocaleData.java 68 public String today; // "Today". field in class:LocaleData
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/
KeyCheckPage.java 227 Calendar today = Calendar.getInstance(); local
229 if (expirationCalendar.before(today)) {
248 int thisYear = today.get(Calendar.YEAR);
  /test/vti/dashboard/src/main/java/com/android/vts/job/
VtsPerformanceJobServlet.java 236 // Add today to the list of time intervals to analyze
238 PerformanceSummary today = local
240 summaries.add(today);

Completed in 464 milliseconds

1 2 3