| /test/testfwk/developer_test/local_coverage/interface_coverage/ |
| H A D | make_report.py | 106 currdatetime = datetime.date.today().strftime("%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/cintltst/ |
| 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...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/ |
| H A D | calendar_paint_method.cpp | 471 // If it is today and it is focused, workState color is same as focused day color. in SetOffWorkTextStyle() 697 auto today = calendarDay_; in IsToday() local 698 return today.month == day.month && today.day == day.day; in IsToday()
|
| /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...] |
| H A D | dtfmttst.cpp | 288 UDate today = Calendar::getNow(); in TestWallyWedel() local 296 cal->setTime(today, status); in TestWallyWedel() 321 sdf->format(today,fmtOffset, pos); in TestWallyWedel() 910 UDate today = Calendar::getNow(); in TestDayOfYearPattern195() local 911 int32_t year,month,day,hour,min,sec; dateToFields(today,year,month,day,hour,min,sec); in TestDayOfYearPattern195() 913 logln((UnicodeString)"Test Date: " + dateToString(today)); in TestDayOfYearPattern195() 919 tryPattern(*sdf, today, 0, expected); in TestDayOfYearPattern195() 920 tryPattern(*sdf, today, "G yyyy DDD", expected); in TestDayOfYearPattern195() 2498 TestRelative( 0, en, "today"); in TestRelative()
|
| /third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
| 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...] |
| H A D | DateFormatTest.java | 228 Date today = new Date(); in TestWallyWedel() 235 cal.setTime(today); in TestWallyWedel() 262 fmtOffset = sdf.format(today, fmtOffset, pos); in TestWallyWedel() 1833 Date today = cal.getTime(); in TestDayOfYearPattern195() 1841 logln("Test Date: " + today); in TestDayOfYearPattern195() 1843 tryPattern(sdf, today, null, expected); in TestDayOfYearPattern195() 1844 tryPattern(sdf, today, "G yyyy DDD", expected); in TestDayOfYearPattern195() 3886 Date today = cal.getTime(); in TestRelativeDateFormat() 3901 cal.setTime(today); in TestRelativeDateFormat() 4617 new TestRelativeContextItem( "en", DisplayContext.CAPITALIZATION_NONE, "today", "yesterda in TestContext() [all...] |
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
| 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/mesa3d/bin/ |
| 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/python/Lib/ |
| H A D | calendar.py | 739 write(cal.formatyearpage(datetime.date.today().year, **optdict)) 755 result = cal.formatyear(datetime.date.today().year, **optdict)
|
| H A D | datetime.py | 900 today() 964 def today(cls): member in date 1190 today = _ymd2ord(self._year, self._month, self._day) 1192 week, day = divmod(today - week1monday, 7) 1196 week, day = divmod(today - week1monday, 7) 1198 if today >= _isoweek1monday(year+1):
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/ |
| H A D | calendar_dialog_view.cpp | 381 PickerDate today = PickerDate::Current(); in CreateCalendarNode() local 382 calendarDay.month.year = static_cast<int32_t>(today.GetYear()); in CreateCalendarNode() 383 calendarDay.month.month = static_cast<int32_t>(today.GetMonth()); in CreateCalendarNode() 384 calendarDay.day = static_cast<int32_t>(today.GetDay()); in CreateCalendarNode()
|
| /third_party/mbedtls/tests/scripts/ |
| H A D | audit-validity-dates.py | 398 'Default: today'), 437 start_date = datetime.datetime.today()
|
| /third_party/python/Tools/scripts/ |
| H A D | summarize_stats.py | 352 print("Stats gathered on:", date.today())
|
| /foundation/arkui/ace_engine/test/unittest/core/pattern/calendar/ |
| H A D | calendar_paint_method_test.cpp | 874 calendarDay.today = false; in HWTEST_F() 922 calendarDay.today = false; in HWTEST_F()
|
| /third_party/python/Lib/test/ |
| H A D | datetimetester.py | 1114 self.theclass.today()): 1332 # We claim that today() is like fromtimestamp(time.time()), so 1335 today = self.theclass.today() 1338 if today == todayagain: 1341 # 1. It recently became midnight, between the today() and the 1346 # happened to call today() right before a resolution quantum 1354 if today != todayagain: 1355 self.assertAlmostEqual(todayagain, today, 5306 self.assertRaises(TypeError, Eastern.fromutc, date.today()) # wron [all...] |
| H A D | test_logging.py | 5546 today = currentTime - currentTime % 86400 5550 wday = time.gmtime(today).tm_wday 5566 # Add in adjustment for today 5567 expected += today 5568 actual = rh.computeRollover(today) 5576 actual = rh.computeRollover(today + 13 * 60 * 60)
|
| H A D | test_nntplib.py | 73 dt = datetime.date.today() - datetime.timedelta(days=7)
|
| /third_party/ffmpeg/fftools/ |
| H A D | ffmpeg_opt.c | 3209 struct tm *today = localtime(&today2); in opt_vstats() local 3211 if (!today) { // maybe tomorrow in opt_vstats() 3216 snprintf(filename, sizeof(filename), "vstats_%02d%02d%02d.log", today->tm_hour, today->tm_min, in opt_vstats() 3217 today->tm_sec); in opt_vstats()
|
| /base/notification/distributed_notification_service/frameworks/ans/src/ |
| H A D | reminder_request.cpp | 1799 int32_t today = GetActualTime(TimeTransferType::WEEK, nowTime.tm_wday); in GetNextDaysOfWeek() local 1802 int32_t day = (today + dayCount) % DAYS_PER_WEEK; in GetNextDaysOfWeek()
|
| /third_party/vk-gl-cts/external/vulkancts/scripts/ |
| H A D | gen_framework.py | 3708 today = datetime.date.today() 3717 if today > datetime.date(int(match[1]), int(match[2]), int(match[3])):
|
| /third_party/python/Modules/ |
| H A D | _datetimemodule.c | 665 * using) just happens today to effectively ignore the nitems argument 2983 /* Note well: today() is a class method, so this may not call in date_today() 2987 * date.today() could get away with plain C time(). in date_today() 3436 int today = ymd_to_ord(year, GET_MONTH(self), GET_DAY(self)); in date_isocalendar() local 3440 week = divmod(today - week1_monday, 7, &day); in date_isocalendar() 3444 week = divmod(today - week1_monday, 7, &day); in date_isocalendar() 3446 else if (week >= 52 && today >= iso_week1_monday(year + 1)) { in date_isocalendar() 3576 {"today", (PyCFunction)date_today, METH_NOARGS | METH_CLASS,
|