/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/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);
|
/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;
|
crash_report_sender.h | 100 void ReportSent(int today); 102 // Returns today's date (UTC) formatted as YYYYMMDD.
|
/external/clang/docs/analyzer/ |
conf.py | 45 copyright = u'2013-%d, Analyzer Team' % date.today().year 60 # There are two options for replacing |today|: either, you set today to some 62 #today = ''
|
/external/swiftshader/third_party/subzero/docs/ |
conf.py | 44 copyright = u'2014-%d, Subzero Project' % date.today().year 59 # There are two options for replacing |today|: either, you set today to some 61 #today = ''
|
/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...] |
/external/vulkan-validation-layers/build-android/ |
test_APK.sh | 217 today=$(date +%Y-%m-%d.%H:%M:%S) 218 outFile="VulkanLayerValidationTests.$platform.$today.out.txt" 219 errFile="VulkanLayerValidationTests.$platform.$today.err.txt" 220 adb $serialFlag pull /sdcard/Android/data/com.example.VulkanLayerValidationTests/files/out.txt VulkanLayerValidationTests.$platform.$today.out.txt 221 adb $serialFlag pull /sdcard/Android/data/com.example.VulkanLayerValidationTests/files/err.txt VulkanLayerValidationTests.$platform.$today.err.txt
|
/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);
|
/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/toolchain-utils/ |
buildbot_test_llvm.py | 89 date_str = datetime.date.today() 146 today = datetime.date.today() 147 delta = today - START_DATE
|
/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));
|
/libcore/luni/src/test/java/libcore/libcore/icu/ |
LocaleDataTest.java | 27 // System.err.format("%20s %s %s %s\n", l, d.yesterday, d.today, d.tomorrow); 56 assertEquals("Today", l.today); 64 assertEquals("Heute", l.today); 85 assertEquals("??", l.today);
|
/development/tools/repo_diff/ |
repo_diff_trees.py | 413 today = datetime.datetime.today().strftime('%Y/%m/%d') 419 'Date': today, 450 today = datetime.datetime.today().strftime('%Y/%m/%d') 457 'Date': 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));
|
/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/clang/docs/ |
conf.py | 45 copyright = u'2007-%d, The Clang Team' % date.today().year 60 # There are two options for replacing |today|: either, you set today to some 62 #today = ''
|
/external/llvm/docs/ |
conf.py | 44 copyright = u'2003-%d, LLVM Project' % date.today().year 59 # There are two options for replacing |today|: either, you set today to some 61 #today = ''
|
/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
|
/external/skia/tools/copyright/ |
fileparser.py | 61 DEFAULT_YEAR = datetime.date.today().year
|
/external/skqp/tools/copyright/ |
fileparser.py | 61 DEFAULT_YEAR = datetime.date.today().year
|