/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
H A D | ChineseTest.java | 155 * Make sure no Gregorian dates map to Chinese 1-based day of 445 // year mon day field amount year mon day in TestAdd() 471 // year mon day field amount year mon day in TestRoll() 530 * Convert year,month,day values to the form "year/month/day". 533 static public String ymdToString(int year, int month, int isLeapMonth, int day) { in ymdToString() argument 536 "/" + day; in ymdToString()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | RuleBasedTimeZone.java | 92 public int getOffset(int era, int year, int month, int day, int dayOfWeek, in getOffset() argument 98 long time = Grego.fieldsToDay(year, month, day) * Grego.MILLIS_PER_DAY + milliseconds; in getOffset()
|
/third_party/python/Lib/zoneinfo/ |
H A D | _zoneinfo.py | 580 def _ymd2ord(cls, year, month, day): 585 + day 591 # We know year and month, we need to convert w, d into day of month 593 # Week 1 is the first week in which day `d` (where 0 = Sunday) appears. 594 # Week 5 represents the last occurrence of day `d`, so we need to know 602 # 2. Get first day - desired day mod 7: -1 % 7 = 6, so we don't need
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tztest.cpp | 1659 // test the day-of-month API in TestAlternateRules() 1691 // test the day-of-week-after-day-in-month API in TestAlternateRules() 1949 int32_t year, month, day, hour, minute, second; in TestFebruary() member 1982 gc.set(data[i].year, data[i].month, data[i].day, in TestFebruary() 1988 data[i].year, data[i].month + 1, data[i].day, in TestFebruary() 1997 data[i].year, data[i].month + 1, data[i].day, in TestFebruary() 2004 data[i].year, data[i].month + 1, data[i].day, in TestFebruary()
|
/kernel/linux/linux-5.10/include/xen/interface/ |
H A D | platform.h | 148 uint8_t day; member
|
/kernel/linux/linux-6.6/include/xen/interface/ |
H A D | platform.h | 131 uint8_t day; member
|
/third_party/node/deps/v8/src/date/ |
H A D | dateparser.h | 33 // [2]: day 361 DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time,
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | x509_vfy.c | 1074 int day, sec; in get_crl_sk() local 1076 if (ASN1_TIME_diff(&day, &sec, X509_CRL_get0_lastUpdate(best_crl), in get_crl_sk() 1080 * ASN1_TIME_diff never returns inconsistent signs for |day| in get_crl_sk() 1083 if (day <= 0 && sec <= 0) in get_crl_sk() 1861 int i, day, sec, ret = 0; in X509_cmp_time() local 1912 if (ASN1_TIME_diff(&day, &sec, ctm, asn1_cmp_time) == 0) in X509_cmp_time() 1919 ret = (day >= 0 && sec >= 0) ? -1 : 1; in X509_cmp_time()
|
/third_party/openssl/crypto/x509/ |
H A D | x509_vfy.c | 1074 int day, sec; in get_crl_sk() local 1076 if (ASN1_TIME_diff(&day, &sec, X509_CRL_get0_lastUpdate(best_crl), in get_crl_sk() 1080 * ASN1_TIME_diff never returns inconsistent signs for |day| in get_crl_sk() 1083 if (day <= 0 && sec <= 0) in get_crl_sk() 1863 int i, day, sec, ret = 0; in X509_cmp_time() local 1914 if (ASN1_TIME_diff(&day, &sec, ctm, asn1_cmp_time) == 0) in X509_cmp_time() 1921 ret = (day >= 0 && sec >= 0) ? -1 : 1; in X509_cmp_time()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_model_ng.cpp | 788 lunarDate.day = dateSolar.GetDay(); 800 lunarDate.day = dateSolar.GetDay(); 817 lunarDate.day = pickerDate.GetDay();
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_mng_tlv.c | 420 if (p_time->day > 31) in qed_mfw_get_tlv_time_value() 421 p_time->day = 0; in qed_mfw_get_tlv_time_value() 433 p_time->month, p_time->day, in qed_mfw_get_tlv_time_value()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_mng_tlv.c | 420 if (p_time->day > 31) in qed_mfw_get_tlv_time_value() 421 p_time->day = 0; in qed_mfw_get_tlv_time_value() 433 p_time->month, p_time->day, in qed_mfw_get_tlv_time_value()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/ |
H A D | SerializableTestUtility.java | 574 int day = cal.get(Calendar.DAY_OF_MONTH); in hasSameBehavior() 577 a_offset = tza_a.getOffset(era, year, month, day, dow, mid); in hasSameBehavior() 578 b_offset = tza_b.getOffset(era, year, month, day, dow, mid); in hasSameBehavior()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
H A D | SerializableTestUtility.java | 573 int day = cal.get(Calendar.DAY_OF_MONTH); in hasSameBehavior() 576 a_offset = tza_a.getOffset(era, year, month, day, dow, mid); in hasSameBehavior() 577 b_offset = tza_b.getOffset(era, year, month, day, dow, mid); in hasSameBehavior()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
H A D | time_zone_info.cc | 67 // The day offsets of the beginning of each (1-based) month in non-leap and 142 days = pt.date.j.day; in TransOffset() 147 days = pt.date.n.day; in TransOffset() 198 return civil_second(cs.year() + shift, cs.month(), cs.day(), cs.hour(), in YearShift()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
H A D | fw.h | 183 u8 day; member 210 u8 day; member
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | OlsonTimeZone.java | 126 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { in getOffset() argument 130 return getOffset(era, year, month, day, dayOfWeek, milliseconds, Grego.monthLength(year, month)); in getOffset() 611 // beginning of year. We could apply safe margin (day or two), but when one of recurrent in construct() 670 // Maximum absolute offset in seconds = 1 day.
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | OlsonTimeZone.java | 128 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { in getOffset() argument 132 return getOffset(era, year, month, day, dayOfWeek, milliseconds, Grego.monthLength(year, month)); in getOffset() 613 // beginning of year. We could apply safe margin (day or two), but when one of recurrent in construct() 672 // Maximum absolute offset in seconds = 1 day.
|
/third_party/node/deps/v8/src/objects/ |
H A D | js-locale.cc | 727 // Let fd be the weekday value indicating which day of the week is considered 728 // the 'first' day, for calendar purposes, in the locale. 736 UCalendarDaysOfWeek day = 738 if (UCAL_WEEKDAY != calendar->getDayOfWeekType(day, status)) {
|
/third_party/python/Lib/ |
H A D | nntplib.py | 248 day = int(date_str[-2:]) 255 return datetime.datetime(year, month, day, hours, minutes, seconds) 277 date_str = "{0:02d}{1.month:02d}{1.day:02d}".format(y, dt) 279 date_str = "{0:04d}{1.month:02d}{1.day:02d}".format(y, dt)
|
/third_party/python/Lib/http/ |
H A D | server.py | 614 year, month, day, hh, mm, ss, x, y, z = time.localtime(now) 616 day, self.monthname[month], year, hh, mm, ss)
|
/test/testfwk/xdevice/src/xdevice/_core/report/ |
H A D | reporter_helper.py | 536 hour, day = 0, 0 541 hour, day = hour % 24, hour // 24 547 if day > 0: 548 execute_time = "{}day {}".format(str(int(day)), execute_time)
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | x509v3.c | 578 int year, month, day, hour, min, sec; in x509_parse_time() local 640 day = parse_uint2(pos, end - pos); in x509_parse_time() 641 if (day < 0) { in x509_parse_time() 643 "(day)", buf, len); in x509_parse_time() 671 if (os_mktime(year, month, day, hour, min, sec, val) < 0) { in x509_parse_time()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | x509v3.c | 572 int year, month, day, hour, min, sec; in x509_parse_time() local 634 day = parse_uint2(pos, end - pos); in x509_parse_time() 635 if (day < 0) { in x509_parse_time() 637 "(day)", buf, len); in x509_parse_time() 665 if (os_mktime(year, month, day, hour, min, sec, val) < 0) { in x509_parse_time()
|
/third_party/python/Modules/ |
H A D | _testcapimodule.c | 2746 int year, month, day; in get_date_fromdate() local 2748 if (!PyArg_ParseTuple(args, "piii", ¯o, &year, &month, &day)) { in get_date_fromdate() 2753 rv = PyDate_FromDate(year, month, day); in get_date_fromdate() 2757 year, month, day, in get_date_fromdate() 2769 int year, month, day; in get_datetime_fromdateandtime() local 2774 &year, &month, &day, in get_datetime_fromdateandtime() 2781 year, month, day, in get_datetime_fromdateandtime() 2786 year, month, day, in get_datetime_fromdateandtime() 2799 int year, month, day; in get_datetime_fromdateandtimeandfold() local 2804 &year, &month, &day, in get_datetime_fromdateandtimeandfold() 2972 int year, month, day; test_PyDateTime_GET() local [all...] |