/third_party/python/Doc/includes/sqlite3/ |
H A D | 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]))
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | genspec.py | 27 today = date.today() 28 friday = today + timedelta((4 - today.weekday()) % 7)
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | DateFormatRegressionTestJ.java | 191 Date today = cal.getTime(); in Test4358730() 194 logln(sdf.format(today)); in Test4358730() 196 logln(sdf.format(today)); in Test4358730() 199 logln(sdf.format(today)); in Test4358730() 202 logln(sdf.format(today)); in Test4358730() 205 logln(sdf.format(today)); in Test4358730()
|
H A D | DateFormatRegressionTest.java | 56 Date today = cal.getTime(); in Test4029195() 57 logln("today: " + today); in Test4029195() 63 fmtd = sdf.format(today, fmtd, pos); in Test4029195() 64 logln("today: " + fmtd); in Test4029195() 68 todayS = sdf.format(today, todayS, pos); in Test4029195() 69 logln("today: " + todayS); in Test4029195() 71 today = sdf.parse(todayS.toString()); in Test4029195() 72 logln("today date: " + today); in Test4029195() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | DateFormatRegressionTestJ.java | 194 Date today = cal.getTime(); in Test4358730() 197 logln(sdf.format(today)); in Test4358730() 199 logln(sdf.format(today)); in Test4358730() 202 logln(sdf.format(today)); in Test4358730() 205 logln(sdf.format(today)); in Test4358730() 208 logln(sdf.format(today)); in Test4358730()
|
H A D | DateFormatRegressionTest.java | 59 Date today = cal.getTime(); in Test4029195() 60 logln("today: " + today); in Test4029195() 66 fmtd = sdf.format(today, fmtd, pos); in Test4029195() 67 logln("today: " + fmtd); in Test4029195() 71 todayS = sdf.format(today, todayS, pos); in Test4029195() 72 logln("today: " + todayS); in Test4029195() 74 today = sdf.parse(todayS.toString()); in Test4029195() 75 logln("today date: " + today); in Test4029195() [all...] |
H A D | DateFormatTest.java | 231 Date today = new Date(); in TestWallyWedel() 238 cal.setTime(today); in TestWallyWedel() 265 fmtOffset = sdf.format(today, fmtOffset, pos); in TestWallyWedel() 1749 Date today = cal.getTime(); in TestDayOfYearPattern195() 1757 logln("Test Date: " + today); in TestDayOfYearPattern195() 1759 tryPattern(sdf, today, null, expected); in TestDayOfYearPattern195() 1760 tryPattern(sdf, today, "G yyyy DDD", expected); in TestDayOfYearPattern195() 3789 Date today = cal.getTime(); in TestRelativeDateFormat() 3804 cal.setTime(today); in TestRelativeDateFormat() 4520 new TestRelativeContextItem( "en", DisplayContext.CAPITALIZATION_NONE, "today", "yesterda in TestContext() [all...] |
/third_party/vk-gl-cts/scripts/ |
H A D | make_release.py | 323 today = datetime.date.today() 324 return "dEQP-%s-%04d-%02d-%02d-%s" % (releaseName, today.year, today.month, today.day, configName)
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/docs/ |
H A D | 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 = ''
|
/third_party/ffmpeg/libavutil/ |
H A D | parseutils.c | 595 int today = 0, negative = 0, microseconds = 0, suffix = 1000000; in av_parse_time() local 633 today = 1; in av_parse_time() 710 if (!today && !is_utc && (*q == '+' || *q == '-')) { in av_parse_time() 725 if (today) { /* fill in today's date */ in av_parse_time()
|
/third_party/skia/tools/copyright/ |
H A D | fileparser.py | 61 DEFAULT_YEAR = datetime.date.today().year
|
/third_party/PyYAML/tests/lib/ |
H A D | test_constructor.py | 20 FixedOffset, today, execute, MyFullLoader 232 today = datetime.date.today()
|
/third_party/mesa3d/bin/ |
H A D | gen_release_notes.py | 307 today = datetime.date.today() 308 header = f'Mesa {this_version} Release Notes / {today}'
|
H A D | gen_calendar_entries_test.py | 86 mdate.today = mock.Mock(return_value=date) 273 mdate.today = mock.Mock(return_value=datetime.date(2021, 1, 6))
|
H A D | gen_calendar_entries.py | 128 date = datetime.date.today() 240 fr.add_argument('--zero-released', action='store_true', help='The .0 release was today, the next release is .1')
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cdtrgtst.c | 59 UDate today, d1; in Test4029195() local 65 today = ucal_getNow(); in Test4029195() 86 fmdt = myFormatit(df, today); in Test4029195() 88 log_verbose("today: %s\n", austrdup(fmdt)); in Test4029195() 98 todayS =myFormatit(df, today); in Test4029195() 99 log_verbose("After the pattern is applied\n today: %s\n", austrdup(todayS) ); in Test4029195() 108 log_verbose("today: %s\n", austrdup(rt) ); in Test4029195()
|
H A D | cdattst.c | 437 UDate today = 0.0; in TestRelativeDateFormat() local 448 ucal_setDateTime(ucal, year, month, day, 18, 49, 0, &status); /* set to today at 18:49:00 */ in TestRelativeDateFormat() 449 today = ucal_getMillis(ucal, &status); in TestRelativeDateFormat() 452 if ( U_FAILURE(status) || today == 0.0 ) { in TestRelativeDateFormat() 453 log_data_err("Generate UDate for a specified time today fails, error %s - (Are you missing data?)\n", myErrorName(status) ); in TestRelativeDateFormat() 525 UDate dateToUse = today + (float)dayOffset*dayInterval; in TestRelativeDateFormat() 1489 static const UChar today_enDefault[] = { 0x74,0x6F,0x64,0x61,0x79,0 }; /* "today" */ 1586 UDate yesterday, today = ucal_getNow(); in TestContext() local 1590 int32_t len = udat_format(udfmt, today, ubuf, kUbufMax, NULL, &status); in TestContext() 1593 log_err("FAIL: udat_format today fo in TestContext() [all...] |
/third_party/python/Doc/ |
H A D | conf.py | 54 # There are two options for replacing |today|: either, you set today to some 56 today = '' variable
|
/third_party/python/Lib/turtledemo/ |
H A D | clock.py | 97 t = datetime.today()
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/gerrit-stats/ |
H A D | main.go | 146 func today() time.Time {
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/snippets/ |
H A D | main.go | 106 func today() time.Time {
|
/third_party/skia/third_party/externals/abseil-cpp/ |
H A D | roll_abseil.py | 104 branch_name = datetime.today().strftime('rolling-absl-%Y%m%d')
|
/third_party/gn/src/gn/ |
H A D | rust_variables.cc | 74 of symbols it exposes, and most usages today are potentially wrong and will
|
/third_party/libsnd/programs/ |
H A D | test-sndfile-metadata-set.py | 126 target = datetime.date.today ().__str__ ()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | dtfmrgts.cpp | 80 UDate today = Calendar::getNow(); in Test4029195() local 81 logln((UnicodeString) "today: " + today); in Test4029195() 98 fmtd = sdf->format(today, fmtd, pos); in Test4029195() 99 logln("today: " + fmtd); in Test4029195() 103 todayS = sdf->format(today, todayS, pos); in Test4029195() 104 logln("today: " + todayS); in Test4029195() 106 today = sdf->parse(todayS, status); in Test4029195() 108 logln((UnicodeString)"today date: " + today); in Test4029195() [all...] |