Home
last modified time | relevance | path

Searched refs:day (Results 51 - 75 of 333) sorted by relevance

12345678910>>...14

/third_party/lzma/CPP/Windows/
H A DTimeUtils.cpp64 unsigned year, mon, day, hour, min, sec; in FileTime_To_DosTime()
110 day = (unsigned)v + 1; in FileTime_To_DosTime()
119 dosTime = (year << 25) | (mon << 21) | (day << 16) | (hour << 11) | (min << 5) | (sec >> 1); in FileTime_To_DosTime()
222 bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day, in GetSecondsSince1601() argument
227 day < 1 || day > 31 || hour > 23 || min > 59 || sec > 59) in GetSecondsSince1601()
237 numDays += day - 1; in GetSecondsSince1601()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dsimpletz.cpp46 // and day-of-week-on-or-before-that-date mode (DOW_LE_DOM_MODE).
279 * day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday
282 * the day of week in the month counting backward from the end of the month.
285 * specifies the day of the month, regardless of what day of the week it is.
286 * (e.g., (10, 0) is the tenth day of the month)
288 * specifies the day of the month counting backward from the end of the
289 * month, regardless of what day of the week it is (e.g., (-2, 0) is the
290 * next-to-last day of the month).
292 * first specified day o
396 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const getOffset() argument
415 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t , UErrorCode& status) const getOffset() argument
442 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t monthLength, int32_t prevMonthLength, UErrorCode& status) const getOffset() argument
522 double day = uprv_floor(date / U_MILLIS_PER_DAY); getOffsetFromLocal() local
[all...]
H A Dethpccal.cpp106 int32_t eyear, month, day, era, year; in handleComputeFields() local
107 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); in handleComputeFields()
126 internalSet(UCAL_DATE, day); in handleComputeFields()
127 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); in handleComputeFields()
/third_party/icu/icu4c/source/i18n/
H A Dethpccal.cpp106 int32_t eyear, month, day, era, year; in handleComputeFields() local
107 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); in handleComputeFields()
126 internalSet(UCAL_DATE, day); in handleComputeFields()
127 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); in handleComputeFields()
H A Dsimpletz.cpp46 // and day-of-week-on-or-before-that-date mode (DOW_LE_DOM_MODE).
279 * day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday
282 * the day of week in the month counting backward from the end of the month.
285 * specifies the day of the month, regardless of what day of the week it is.
286 * (e.g., (10, 0) is the tenth day of the month)
288 * specifies the day of the month counting backward from the end of the
289 * month, regardless of what day of the week it is (e.g., (-2, 0) is the
290 * next-to-last day of the month).
292 * first specified day o
396 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const getOffset() argument
415 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t , UErrorCode& status) const getOffset() argument
442 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t monthLength, int32_t prevMonthLength, UErrorCode& status) const getOffset() argument
522 int32_t day = ClockMath::floorDivide(date, U_MILLIS_PER_DAY, &millis); getOffsetFromLocal() local
[all...]
/third_party/skia/third_party/externals/microhttpd/doc/
H A Dmdate-sh49 Pretty-print the modification day of FILE, in the format:
153 # $3 = day
160 # $1 = day
182 ???*) day=$1;;
183 *) day=$3; shift;;
187 # the time of day or the year.
214 echo $day $month $year
/third_party/typescript/tests/baselines/reference/
H A DdoYouNeedToChangeYourTargetLibraryES2016Plus.js17 const testRegExpMatchArrayGroups = "2019-04-30".match(/(?<year>[0-9]{4})-(?<month>[0-9]{2})-(?<day>[0-9]{2})/g).groups;
18 const testRegExpExecArrayGroups = /(?<year>[0-9]{4})-(?<month>[0-9]{2})-(?<day>[0-9]{2})/g.exec("2019-04-30").groups;
64 var testRegExpMatchArrayGroups = "2019-04-30".match(/(?<year>[0-9]{4})-(?<month>[0-9]{2})-(?<day>[0-9]{2})/g).groups;
65 var testRegExpExecArrayGroups = /(?<year>[0-9]{4})-(?<month>[0-9]{2})-(?<day>[0-9]{2})/g.exec("2019-04-30").groups;
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-date.c137 * Helper function to try to parse a day name in a date string
138 * Valid day names: Sun, Mon, Tue, Wed, Thu, Fri, Sat
142 * @return true if the string starts with a valid day name, false otherwise
321 ecma_number_t day = ECMA_NUMBER_ONE; in ecma_builtin_date_parse_ISO_string_format() local
330 /* 3. read day if any */ in ecma_builtin_date_parse_ISO_string_format()
333 day = ecma_date_parse_date_chars (&date_str_curr_p, date_str_end_p, 2, 1, 31); in ecma_builtin_date_parse_ISO_string_format()
415 ecma_number_t date = ecma_date_make_day (year, month - 1, day); in ecma_builtin_date_parse_ISO_string_format()
453 ecma_number_t day = 0; in ecma_builtin_date_parse_toString_formats() local
456 day = ecma_date_parse_date_chars (&date_str_curr_p, date_str_end_p, 2, 0, 31); in ecma_builtin_date_parse_toString_formats()
457 if (ecma_number_is_nan (day)) in ecma_builtin_date_parse_toString_formats()
[all...]
H A Decma-builtin-helpers-date.c47 * Helper function to get day number from time value.
52 * @return time value for day number
63 * Helper function to get time within day from time value.
68 * @return time value within the day
85 * Helper function to get the day number of the first day of a year.
90 * @return day number of the first day of a year
196 * End day for the first 11 months.
459 * Helper function to make day valu
530 ecma_date_make_date(ecma_number_t day, ecma_number_t time) ecma_date_make_date() argument
674 int32_t day = (int32_t) ecma_date_week_day (datetime_number); ecma_date_to_string_format() local
[all...]
H A Decma-builtin-date-prototype.c436 ecma_number_t day = ecma_date_date_from_time (date_num); in ecma_builtin_date_prototype_dispatch_set() local
450 day = converted_number[2]; in ecma_builtin_date_prototype_dispatch_set()
471 day = converted_number[1]; in ecma_builtin_date_prototype_dispatch_set()
480 day = converted_number[0]; in ecma_builtin_date_prototype_dispatch_set()
485 day_part = ecma_date_make_day (year, month, day); in ecma_builtin_date_prototype_dispatch_set()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dpacked-bitfield.rs115 pub fn day(&self) -> ::std::os::raw::c_uchar { in day() functions
155 day: ::std::os::raw::c_uchar, in new_bitfield_1()
162 let day: u8 = unsafe { ::std::mem::transmute(day) };
163 day as u64
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dos_win32.c62 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument
69 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || in os_mktime()
77 tm.tm_mday = day; in os_mktime()
113 tm->day = tm2->tm_mday; in os_gmtime()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dos_win32.c62 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument
69 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || in os_mktime()
77 tm.tm_mday = day; in os_mktime()
113 tm->day = tm2->tm_mday; in os_gmtime()
/third_party/mesa3d/bin/
H A Dgen_calendar_entries_test.py64 assert d.day == 15
70 assert d.day == 16
76 assert d.day == 13
107 assert date.day == expected
126 assert date.day == expected
145 assert date.day == expected
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A DTestCase.java82 * Initialize a TestCase object using a julian day number and
85 * @param era The ERA field of tested calendar on the given julian day
86 * @param year The YEAR field of tested calendar on the given julian day
87 * @param month The MONTH (1-based) field of tested calendar on the given julian day
88 * @param day The DAY_OF_MONTH field of tested calendar on the given julian day
89 * @param dayOfWeek The DAY_OF_WEEK field of tested calendar on the given julian day
90 * @param hour The HOUR field of tested calendar on the given julian day
91 * @param min The MINUTE field of tested calendar on the given julian day
92 * @param sec The SECOND field of tested calendar on the given julian day
94 TestCase(double julian, int era, int year, int month, int day, int dayOfWeek, int hour, int min, int sec) TestCase() argument
128 TestCase(int gregYear, int gregMonth, int gregDay, int era, int year, int month, int day, int dayOfWeek, int hour, int min, int sec) TestCase() argument
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DTestCase.java79 * Initialize a TestCase object using a julian day number and
82 * @param era The ERA field of tested calendar on the given julian day
83 * @param year The YEAR field of tested calendar on the given julian day
84 * @param month The MONTH (1-based) field of tested calendar on the given julian day
85 * @param day The DAY_OF_MONTH field of tested calendar on the given julian day
86 * @param dayOfWeek The DAY_OF_WEEK field of tested calendar on the given julian day
87 * @param hour The HOUR field of tested calendar on the given julian day
88 * @param min The MINUTE field of tested calendar on the given julian day
89 * @param sec The SECOND field of tested calendar on the given julian day
91 TestCase(double julian, int era, int year, int month, int day, int dayOfWeek, int hour, int min, int sec) TestCase() argument
125 TestCase(int gregYear, int gregMonth, int gregDay, int era, int year, int month, int day, int dayOfWeek, int hour, int min, int sec) TestCase() argument
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dsimpletz.cpp46 // and day-of-week-on-or-before-that-date mode (DOW_LE_DOM_MODE).
279 * day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday
282 * the day of week in the month counting backward from the end of the month.
285 * specifies the day of the month, regardless of what day of the week it is.
286 * (e.g., (10, 0) is the tenth day of the month)
288 * specifies the day of the month counting backward from the end of the
289 * month, regardless of what day of the week it is (e.g., (-2, 0) is the
290 * next-to-last day of the month).
292 * first specified day o
396 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const getOffset() argument
415 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t , UErrorCode& status) const getOffset() argument
442 getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, int32_t monthLength, int32_t prevMonthLength, UErrorCode& status) const getOffset() argument
522 int32_t day = ClockMath::floorDivide(date, U_MILLIS_PER_DAY, &millis); getOffsetFromLocal() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Da_time.c45 * Compute the day of the week and the day of the year from the year, month
46 * and day. The day of the year is straightforward, the day of the week uses
62 /* March and onwards can be one day further into the year */ in determine_days()
552 int day, sec; in ASN1_TIME_cmp_time_t() local
560 if (!OPENSSL_gmtime_diff(&day, &sec, &ttm, &stm)) in ASN1_TIME_cmp_time_t()
563 if (day > 0 || sec > 0) in ASN1_TIME_cmp_time_t()
565 if (day < in ASN1_TIME_cmp_time_t()
582 int day, sec; ASN1_TIME_compare() local
[all...]
/third_party/python/Lib/
H A D_strptime.py273 """Calculate the Julian day based on the year, week of the year, and day of
278 # easier to just shift the view to Sunday being the first day of the
283 # Need to watch out for a week 0 (when the first day of the year is not
294 """Calculate the Julian day based on the ISO 8601 year, week, and weekday.
356 month = day = 1
374 # worthless without day of the week
395 day = int(found_dict['d'])
508 if year is None and month == 2 and day == 29:
515 # If we know the week of the year and what day o
[all...]
/third_party/openssl/crypto/asn1/
H A Da_time.c45 * Compute the day of the week and the day of the year from the year, month
46 * and day. The day of the year is straightforward, the day of the week uses
62 /* March and onwards can be one day further into the year */ in determine_days()
552 int day, sec; in ASN1_TIME_cmp_time_t() local
560 if (!OPENSSL_gmtime_diff(&day, &sec, &ttm, &stm)) in ASN1_TIME_cmp_time_t()
563 if (day > 0 || sec > 0) in ASN1_TIME_cmp_time_t()
565 if (day < in ASN1_TIME_cmp_time_t()
582 int day, sec; ASN1_TIME_compare() local
[all...]
/third_party/python/Modules/
H A D_zoneinfo.c64 uint8_t day; member
73 unsigned int day; member
1173 // We want (year, month, day of month); we have year and month, but we in calendarrule_year_to_timestamp()
1174 // need to turn (week, day-of-week) into day-of-month in calendarrule_year_to_timestamp()
1176 // Week 1 is the first week in which day `day` (where 0 = Sunday) appears. in calendarrule_year_to_timestamp()
1177 // Week 5 represents the last occurrence of day `day`, so we need to know in calendarrule_year_to_timestamp()
1189 // 2. Get first day in calendarrule_year_to_timestamp()
1216 calendarrule_new(uint8_t month, uint8_t week, uint8_t day, int8_t hour, int8_t minute, int8_t second, CalendarRule *out) calendarrule_new() argument
1292 unsigned int day = self->day; dayrule_year_to_timestamp() local
1303 dayrule_new(uint8_t julian, unsigned int day, int8_t hour, int8_t minute, int8_t second, DayRule *out) dayrule_new() argument
1752 uint8_t month, week, day; parse_transition_rule() local
1806 unsigned int day = 0; parse_transition_rule() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
H A Dtime.cc73 bd.day = 31; in InfiniteFutureBreakdown()
90 bd.day = 1; in InfinitePastBreakdown()
218 bd.day = cs.day(); in In()
402 absl::TimeConversion ConvertDateTime(int64_t year, int mon, int day, int hour, in ConvertDateTime() argument
408 const CivilSecond cs(year, mon, day, hour, min, sec); in ConvertDateTime()
427 if (year != cs.year() || mon != cs.month() || day != cs.day() || in ConvertDateTime()
457 tm.tm_mday = cs.day(); in ToTM()
/third_party/python/Lib/tomllib/
H A D_re.py71 year, month, day = int(year_str), int(month_str), int(day_str)
73 return date(year, month, day)
84 return datetime(year, month, day, hour, minute, sec, micros, tzinfo=tz)
/third_party/python/Lib/test/
H A Ddatetimetester.py733 eq(str(td(1)), "1 day, 0:00:00")
734 eq(str(td(-1)), "-1 day, 0:00:00")
811 day = timedelta(1)
812 self.assertRaises(OverflowError, day.__mul__, 10**9)
813 self.assertRaises(OverflowError, day.__mul__, 1e9)
814 self.assertRaises(OverflowError, day.__truediv__, 1e-20)
815 self.assertRaises(OverflowError, day.__truediv__, 1e-10)
816 self.assertRaises(OverflowError, day.__truediv__, 9e-10)
820 day = timedelta(1)
821 self.assertRaises(OverflowError, day
[all...]
/third_party/lzma/CPP/Common/
H A DMyWindows.cpp243 UInt32 leaps, year, day, mon; in FileTimeToSystemTime() local
247 // (1959 / 64) - converts day from 03-01 to month in FileTimeToSystemTime()
249 day = v - (year * PERIOD_4) / 4; in FileTimeToSystemTime()
250 mon = (64 * day) / 1959; in FileTimeToSystemTime()
251 st->wDay = (WORD)(day - (1959 * mon) / 64); in FileTimeToSystemTime()

Completed in 21 milliseconds

12345678910>>...14