Home
last modified time | relevance | path

Searched refs:date (Results 176 - 200 of 743) sorted by relevance

12345678910>>...30

/third_party/python/Lib/tomllib/
H A D_re.py7 from datetime import date, datetime, time, timedelta, timezone, tzinfo namespace
41 ([0-9]{{4}})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]) # date, e.g. 1988-10-27
52 def match_to_datetime(match: re.Match) -> datetime | date:
53 """Convert a `RE_DATETIME` match to `datetime.datetime` or `datetime.date`.
55 Raises ValueError if the match does not correspond to a valid date
73 return date(year, month, day)
82 else: # local date-time
/third_party/python/Lib/test/test_tomllib/
H A Dburntsushi.py17 "local date": "date-local",
41 elif isinstance(obj, datetime.date):
43 "type": "date-local",
89 date = dt_str[:10]
106 return date + "T" + time + sign + offset
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DGPBUtil.php409 // DateTime::createFromFormat parses without failing but as a nonsensical date
441 $date = substr($timestamp, 0, $periodIndex); variable
443 $timestamp = $date.$timezone;
447 $date = \DateTime::createFromFormat(\DateTime::RFC3339, $timestamp, new \DateTimeZone("UTC")); variable
448 if ($date === false) {
453 $seconds = $date->format("U");
471 $date = new \DateTime('@'.$value->getSeconds(), new \DateTimeZone("UTC")); variable
472 return $date->format("Y-m-d\TH:i:s".$nanoseconds."\Z");
/third_party/icu/tools/unicodetools/com/ibm/rbm/
H A DBundleItem.java28 private Date created; // The date of creation of the item
29 private Date modified; // The last modification date of the item
48 created = new Date(); // Defaults to the system's current date in BundleItem()
49 modified = new Date(); // Defaults to the system's current date in BundleItem()
64 * Returns the date this item was last modified.
72 * Returns the date the item was first created.
213 * Sets the created date of the item given a date formatted string.
223 * Sets the created date of the item.
226 public void setCreatedDate(Date date) { in setCreatedDate() argument
245 setModifiedDate(Date date) setModifiedDate() argument
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dolsontz.h184 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset,
191 UDate date, UTimeZoneLocalOption nonExistingTimeOpt,
221 virtual UBool inDaylightTime(UDate date, UErrorCode& ec) const override;
298 void getHistoricalOffset(UDate date, UBool local,
368 * A SimpleTimeZone that governs the behavior for date >= finalMillis.
373 * For date >= finalMillis, the finalZone will be used.
H A Ducal.cpp295 ucal_setGregorianChange(UCalendar *cal, UDate date, UErrorCode *pErrorCode) { in ucal_setGregorianChange() argument
314 gregocal->setGregorianChange(date, *pErrorCode); in ucal_setGregorianChange()
434 int32_t date, in ucal_setDate()
440 ((Calendar*)cal)->set(year, month, date); in ucal_setDate()
448 int32_t date, in ucal_setDateTime()
456 ((Calendar*)cal)->set(year, month, date, hour, minute, second); in ucal_setDateTime()
644 ucal_isWeekend(const UCalendar *cal, UDate date, UErrorCode *status) in ucal_isWeekend() argument
649 return ((Calendar*)cal)->isWeekend(date, *status); in ucal_isWeekend()
840 UDate date = ((Calendar*)cal)->getTime(*status); in ucal_getTimeZoneOffsetFromLocal() local
851 date, nonExistingTimeOp in ucal_getTimeZoneOffsetFromLocal()
431 ucal_setDate( UCalendar* cal, int32_t year, int32_t month, int32_t date, UErrorCode *status) ucal_setDate() argument
445 ucal_setDateTime( UCalendar* cal, int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second, UErrorCode *status) ucal_setDateTime() argument
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dolsontz.h184 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset,
191 UDate date, UTimeZoneLocalOption nonExistingTimeOpt,
221 virtual UBool inDaylightTime(UDate date, UErrorCode& ec) const override;
298 void getHistoricalOffset(UDate date, UBool local,
368 * A SimpleTimeZone that governs the behavior for date >= finalMillis.
373 * For date >= finalMillis, the finalZone will be used.
H A Ducal.cpp296 ucal_setGregorianChange(UCalendar *cal, UDate date, UErrorCode *pErrorCode) { in ucal_setGregorianChange() argument
316 gregocal->setGregorianChange(date, *pErrorCode); in ucal_setGregorianChange()
435 int32_t date, in ucal_setDate()
441 ((Calendar*)cal)->set(year, month, date); in ucal_setDate()
449 int32_t date, in ucal_setDateTime()
457 ((Calendar*)cal)->set(year, month, date, hour, minute, second); in ucal_setDateTime()
669 ucal_isWeekend(const UCalendar *cal, UDate date, UErrorCode *status) in ucal_isWeekend() argument
674 return ((Calendar*)cal)->isWeekend(date, *status); in ucal_isWeekend()
865 UDate date = ((Calendar*)cal)->getTime(*status); in ucal_getTimeZoneOffsetFromLocal() local
876 date, nonExistingTimeOp in ucal_getTimeZoneOffsetFromLocal()
432 ucal_setDate( UCalendar* cal, int32_t year, int32_t month, int32_t date, UErrorCode *status) ucal_setDate() argument
446 ucal_setDateTime( UCalendar* cal, int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second, UErrorCode *status) ucal_setDateTime() argument
[all...]
/third_party/python/Tools/scripts/
H A Dmailerdaemon.py206 mm, dd = m.getdate('date')[1:1+2]
207 date = '%s %02d' % (calendar.month_abbr[mm], dd)
209 date = '??????'
212 errorfirst[e] = '%s (%s)' % (fn, date)
215 errorlast[e] = '%s (%s)' % (fn, date)
/third_party/mesa3d/src/drm-shim/
H A Ddevice.c183 const char *date = "20190320"; in drm_shim_ioctl_version() local
192 if (args->date) in drm_shim_ioctl_version()
193 strncpy(args->date, date, args->date_len); in drm_shim_ioctl_version()
197 args->date_len = strlen(date); in drm_shim_ioctl_version()
/third_party/python/Lib/
H A Ddatetime.py1 """Concrete date/time and related types.
7 __all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo",
21 _MAXORDINAL = 3652059 # date.max.toordinal()
116 # the desired date. Now compute how many 100-year cycles precede n.
458 # tuple[int, int, int] -> tuple[int, int, int] version of date.fromisocalendar
893 class date: class
894 """Concrete date type.
941 "a date object. "
959 "Construct a date from a POSIX timestamp (like time.time())."
965 "Construct a date fro
1922 def date(self): global() member in datetime
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dcaltztst.h40 // Utility methods to create a date. This is useful for converting Java constructs
42 UDate date(int32_t y, int32_t m, int32_t d, int32_t hr=0, int32_t min=0, int32_t sec=0);
44 // Utility methods to create a date. Returns a Date in UTC. This will differ
45 // from local dates returned by date() by the current default zone offset.
48 // Utility method to get the fields of a date; similar to Date.getYear() etc.
49 void dateToFields(UDate date, int32_t& y, int32_t& m, int32_t& d, int32_t& hr, int32_t& min, int32_t& sec);
H A Dcaltztst.cpp180 // Utility methods to create a date. This is useful for converting Java constructs
183 CalendarTimeZoneTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) in date() function in CalendarTimeZoneTest
200 // Utility methods to create a date. The returned Date is UTC rather than local.
207 Date dt = date(y, m, d, hr, min, sec) +
221 CalendarTimeZoneTest::dateToFields(UDate date, int32_t& y, int32_t& m, int32_t& d, int32_t& hr, int32_t& min, int32_t& sec) in dateToFields() argument
226 cal->setTime(date, status); in dateToFields()
/third_party/typescript/tests/baselines/reference/
H A DuseRegexpGroups.js5 let date = result[0];
21 var date = result[0]; variable
/third_party/curl/lib/
H A Dhttp_aws_sigv4.c129 /* string been x-PROVIDER-date:TIMESTAMP, I need +1 for ':' */
159 "x-%s-date:%s", provider1, timestamp); in make_headers()
542 char date[9]; in Curl_output_aws_sigv4() local
698 memcpy(date, timestamp, sizeof(date)); in Curl_output_aws_sigv4()
699 date[sizeof(date) - 1] = 0; in Curl_output_aws_sigv4()
732 date, region, service, request_type); in Curl_output_aws_sigv4()
768 HMAC_SHA256(secret, strlen(secret), date, strlen(date), sign in Curl_output_aws_sigv4()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Ducal.cpp295 ucal_setGregorianChange(UCalendar *cal, UDate date, UErrorCode *pErrorCode) { in ucal_setGregorianChange() argument
314 gregocal->setGregorianChange(date, *pErrorCode); in ucal_setGregorianChange()
434 int32_t date, in ucal_setDate()
440 ((Calendar*)cal)->set(year, month, date); in ucal_setDate()
448 int32_t date, in ucal_setDateTime()
456 ((Calendar*)cal)->set(year, month, date, hour, minute, second); in ucal_setDateTime()
644 ucal_isWeekend(const UCalendar *cal, UDate date, UErrorCode *status) in ucal_isWeekend() argument
649 return ((Calendar*)cal)->isWeekend(date, *status); in ucal_isWeekend()
840 UDate date = ((Calendar*)cal)->getTime(*status); in ucal_getTimeZoneOffsetFromLocal() local
851 date, nonExistingTimeOp in ucal_getTimeZoneOffsetFromLocal()
431 ucal_setDate( UCalendar* cal, int32_t year, int32_t month, int32_t date, UErrorCode *status) ucal_setDate() argument
445 ucal_setDateTime( UCalendar* cal, int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second, UErrorCode *status) ucal_setDateTime() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps_upnp.c219 /* Write the current date/time per RFC */
225 struct tm *date; in format_date() local
229 date = gmtime(&t); in format_date()
230 if (date == NULL) in format_date()
233 &weekday_str[date->tm_wday * 4], date->tm_mday, in format_date()
234 &month_str[date->tm_mon * 4], date->tm_year + 1900, in format_date()
235 date->tm_hour, date in format_date()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps_upnp.c219 /* Write the current date/time per RFC */
225 struct tm *date; in format_date() local
229 date = gmtime(&t); in format_date()
230 if (date == NULL) in format_date()
233 &weekday_str[date->tm_wday * 4], date->tm_mday, in format_date()
234 &month_str[date->tm_mon * 4], date->tm_year + 1900, in format_date()
235 date->tm_hour, date in format_date()
[all...]
/third_party/ffmpeg/tests/fate/
H A Doma.mak4 # Also tests splitting and joining the date into TYER and TDAT id3v2.3 tags.
6 fate-oma-atrac3p-remux: CMD = transcode oma $(TARGET_SAMPLES)/atrac3p/at3p_sample1.oma oma "-c copy -metadata date=2021-09-23 -metadata time=16:00 -metadata title=noise -metadata id3v2_priv.foo=hex\xB3 -metadata_header_padding 500" "-c copy -t 0.2" "-show_entries format_tags"
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DDangiCalendar.java46 * the lunar date calculation. Therefore, the following simpler rule works:
95 * Construct a <code>DangiCalendar</code> with the give date set in the default time zone
97 * @param date The date to which the new calendar is set.
103 public DangiCalendar(Date date) { in DangiCalendar() argument
105 setTime(date); in DangiCalendar()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DDangiCalendar.java48 * the lunar date calculation. Therefore, the following simpler rule works:
97 * Construct a <code>DangiCalendar</code> with the give date set in the default time zone
99 * @param date The date to which the new calendar is set.
105 public DangiCalendar(Date date) { in DangiCalendar() argument
107 setTime(date); in DangiCalendar()
/third_party/skia/experimental/tools/
H A Dandroid_skp_capture.sh26 filename="$(date '+%H%M%S').skp"
28 local_path="$(date '+%Y-%m-%d_%H%M%S')_${package}.skp"
51 timeout=$(( $(date +%s) + $phase1_timeout_seconds))
54 if [ $(date +%s) -gt $timeout ] ; then
71 timeout=$(( $(date +%s) + $phase2_timeout_seconds))
74 if [ $(date +%s) -gt $timeout ] ; then
/third_party/ffmpeg/tests/
H A Dfate.sh86 date=$(date -u +%Y%m%d%H%M%S)
87 echo "fate:1:${date}:${slot}:${version}:$1:$2:${branch}:${comment}" >report
/third_party/typescript/tests/baselines/reference/tsbuild/outFile/
H A Dtsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js139 [12:00:08 AM] Project 'src/first/tsconfig.json' is out of date because output file 'src/first/bin/first-output.tsbuildinfo' does not exist
143 [12:00:19 AM] Project 'src/second/tsconfig.json' is out of date because output file 'src/2/second-output.tsbuildinfo' does not exist
147 [12:00:30 AM] Project 'src/third/tsconfig.json' is out of date because output file 'src/third/thirdjs/output/third-output.js' does not exist
/third_party/typescript/tests/baselines/reference/tsbuild/sample1/
H A Drebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js395 [12:00:27 AM] Project 'src/core/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion'
399 [12:00:38 AM] Project 'src/logic/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion'
403 [12:00:46 AM] Project 'src/tests/tsconfig.json' is out of date because output for it was generated with version 'FakeTSVersion' that differs with current version 'FakeTSCurrentVersion'

Completed in 17 milliseconds

12345678910>>...30