Home
last modified time | relevance | path

Searched refs:day (Results 76 - 100 of 341) sorted by relevance

12345678910>>...14

/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/jerryscript/jerry-core/ecma/builtin-objects/
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/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/include/cctz/
H A Dcivil_time_detail.h59 CONSTEXPR_M fields(year_t year, month_t month, day_t day, hour_t hour, in fields()
61 : y(year), m(month), d(day), hh(hour), mm(minute), ss(second) {} in fields()
279 // exploiting the 146097-day cycle.
384 // a more precise alignment is allowed implicitly (e.g., day -> hour),
412 CONSTEXPR_M int day() const noexcept { return f_.d; }
494 (lhs.day() < rhs.day() || (lhs.day() == rhs.day() &&
520 lhs.day()
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dccaltst.h89 static void verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day);
91 static void verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day,
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
H A Dtime_zone_posix.h66 // (J) the Nth day of the year (1 <= N <= 365), excluding leap days, or
67 // (N) the Nth day of the year (0 <= N <= 365), including leap days, or
69 // The time, specified as a day offset, identifies the particular moment
71 // it would take us to another day, and perhaps week, or even month.
77 std::int_fast16_t day; // day of non-leap year [1:365] member
80 std::int_fast16_t day; // day of year [0:365] member
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
H A DAbstractTestLog.java116 public boolean isDateAtLeast(int year, int month, int day){ in isDateAtLeast() argument
118 Calendar c = new GregorianCalendar(year, month, day); in isDateAtLeast()
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
H A DAbstractTestLog.java115 public boolean isDateAtLeast(int year, int month, int day){ in isDateAtLeast() argument
117 Calendar c = new GregorianCalendar(year, month, day); in isDateAtLeast()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DCalendarAstronomer.java56 * The number of standard hours in one sidereal day.
63 * The number of sidereal hours in one mean solar day.
142 * The number of milliseconds in one day.
148 * The start of the julian day numbering scheme used by astronomers, which
151 * Note that julian day numbers and
287 * @param jdn the desired time, expressed as a "julian day number",
289 * 1/1/4713 BC (Julian), 12:00 GMT. Note that julian day
330 * expressed as a "julian day number", which is the number of elapsed
405 // Then find local midnight on this day in lstToUT()
504 static final double JD_EPOCH = 2447891.5; // Julian day o
[all...]
H A DTimeZoneAdapter.java88 public int getOffset(int era, int year, int month, int day, int dayOfWeek, in getOffset() argument
90 return zone.getOffset(era, year, month, day, dayOfWeek, millis); in getOffset()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A DAstroTest.java43 // year, month, day, hour, minute, longitude (radians), ascension(radians), declination(radians) in TestSolarLongitude()
97 // year, month, day, hour, minute, ascension(radians), declination(radians) in TestLunarPosition()
260 DateFormat day = DateFormat.getDateInstance(cal, DateFormat.MEDIUM, Locale.US); in TestSunriseTimes()
289 errln("FAIL: " + day.format(cal.getTime()) + in TestSunriseTimes()
294 logln(day.format(cal.getTime()) + in TestSunriseTimes()
299 errln("FAIL: " + day.format(cal.getTime()) + in TestSunriseTimes()
304 logln(day.format(cal.getTime()) + in TestSunriseTimes()
309 logln(day.format(cal.getTime()) + in TestSunriseTimes()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DCalendarAstronomer.java58 * The number of standard hours in one sidereal day.
65 * The number of sidereal hours in one mean solar day.
144 * The number of milliseconds in one day.
150 * The start of the julian day numbering scheme used by astronomers, which
153 * Note that julian day numbers and
289 * @param jdn the desired time, expressed as a "julian day number",
291 * 1/1/4713 BC (Julian), 12:00 GMT. Note that julian day
332 * expressed as a "julian day number", which is the number of elapsed
407 // Then find local midnight on this day in lstToUT()
506 static final double JD_EPOCH = 2447891.5; // Julian day o
[all...]
H A DTimeZoneAdapter.java89 public int getOffset(int era, int year, int month, int day, int dayOfWeek, in getOffset() argument
91 return zone.getOffset(era, year, month, day, dayOfWeek, millis); in getOffset()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DAstroTest.java40 // year, month, day, hour, minute, longitude (radians), ascension(radians), declination(radians) in TestSolarLongitude()
94 // year, month, day, hour, minute, ascension(radians), declination(radians) in TestLunarPosition()
257 DateFormat day = DateFormat.getDateInstance(cal, DateFormat.MEDIUM, Locale.US); in TestSunriseTimes()
286 errln("FAIL: " + day.format(cal.getTime()) + in TestSunriseTimes()
291 logln(day.format(cal.getTime()) + in TestSunriseTimes()
296 errln("FAIL: " + day.format(cal.getTime()) + in TestSunriseTimes()
301 logln(day.format(cal.getTime()) + in TestSunriseTimes()
306 logln(day.format(cal.getTime()) + in TestSunriseTimes()
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DTimeZoneICU.java69 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { in getOffset() argument
70 return fIcuTz.getOffset(era, year, month, day, dayOfWeek, milliseconds); in getOffset()
/third_party/icu/icu4c/source/i18n/
H A Dcecal.cpp126 + ClockMath::floorDivide(year, 4) // extra day of leap year in ceToJD()
133 CECalendar::jdToCE(int32_t julianDay, int32_t jdEpochOffset, int32_t& year, int32_t& month, int32_t& day) in jdToCE() argument
145 day = (doy % 30) + 1; // 1-based days in a month in jdToCE()
H A Dvzone.cpp119 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, in vzone_getOffset() argument
121 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status); in vzone_getOffset()
125 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, in vzone_getOffset2() argument
128 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status); in vzone_getOffset2()
/third_party/ltp/lib/
H A Dtst_rtctime.c26 const unsigned int day, const unsigned int hour, in tst_mktime()
34 mon += 12; /* Puts Feb last since it has leap day */ in tst_mktime()
39 (year/4 - year/100 + year/400 + 367*mon/12 + day) + in tst_mktime()
67 /* day of the week, 1970-01-01 was a Thursday */ in tst_rtc_time_to_tm()
25 tst_mktime(const unsigned int year0, const unsigned int mon0, const unsigned int day, const unsigned int hour, const unsigned int min, const unsigned int sec) tst_mktime() argument
/third_party/node/deps/icu-small/source/i18n/
H A Dcecal.cpp115 + ClockMath::floorDivide(year, 4) // extra day of leap year in ceToJD()
122 CECalendar::jdToCE(int32_t julianDay, int32_t jdEpochOffset, int32_t& year, int32_t& month, int32_t& day) in jdToCE() argument
134 day = (doy % 30) + 1; // 1-based days in a month in jdToCE()
H A Dvzone.cpp119 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, in vzone_getOffset() argument
121 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status); in vzone_getOffset()
125 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, in vzone_getOffset2() argument
128 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status); in vzone_getOffset2()
/third_party/python/Lib/sqlite3/
H A Ddbapi2.py66 year, month, day = map(int, datepart.split(b"-"))
74 val = datetime.datetime(year, month, day, hours, minutes, seconds, microseconds)
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dcecal.cpp126 + ClockMath::floorDivide(year, 4) // extra day of leap year in ceToJD()
133 CECalendar::jdToCE(int32_t julianDay, int32_t jdEpochOffset, int32_t& year, int32_t& month, int32_t& day) in jdToCE() argument
145 day = (doy % 30) + 1; // 1-based days in a month in jdToCE()
H A Dvzone.cpp119 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, in vzone_getOffset() argument
121 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status); in vzone_getOffset()
125 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, in vzone_getOffset2() argument
128 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status); in vzone_getOffset2()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DSimpleTimeZone.java83 * By default, this constructor specifies day-of-week-in-month rules. That
89 * Day of month. To specify an exact day of the month, such as March 1, set
92 * Day of week after day of month. To specify the first day of the week
93 * occurring on or after an exact day of the month, make the day of the week
95 * this indicates the first Monday on or after the 5th day of the
98 * Day of week before day of month. To specify the last day of the week
99 * occurring on or before an exact day o
646 getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) getOffset() argument
668 getOffset(int era, int year, int month, int day, int dayOfWeek, int millis, int monthLength) getOffset() argument
686 getOffset(int era, int year, int month, int day, int dayOfWeek, int millis, int monthLength, int prevMonthLength ) getOffset() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DSimpleTimeZone.java80 * By default, this constructor specifies day-of-week-in-month rules. That
86 * Day of month. To specify an exact day of the month, such as March 1, set
89 * Day of week after day of month. To specify the first day of the week
90 * occurring on or after an exact day of the month, make the day of the week
92 * this indicates the first Monday on or after the 5th day of the
95 * Day of week before day of month. To specify the last day of the week
96 * occurring on or before an exact day o
625 getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) getOffset() argument
647 getOffset(int era, int year, int month, int day, int dayOfWeek, int millis, int monthLength) getOffset() argument
665 getOffset(int era, int year, int month, int day, int dayOfWeek, int millis, int monthLength, int prevMonthLength ) getOffset() argument
[all...]
/third_party/node/deps/v8/src/objects/
H A Djs-temporal-objects.cc63 int32_t day; member
75 int32_t day; member
158 int32_t* day);
183 Isolate* isolate, int32_t year, int32_t month, int32_t day, int32_t hour,
224 int32_t month, int32_t day,
242 bool IsValidISODate(Isolate* isolate, int32_t year, int32_t month, int32_t day);
371 int32_t day, int32_t hour, int32_t minute, in ISODateTimeWithinLimits()
378 * Take a short cut and use pre-calculated year/month/day boundary instead. in ISODateTimeWithinLimits()
396 return (day > 23); in ISODateTimeWithinLimits()
401 return (day > 2 in ISODateTimeWithinLimits()
370 ISODateTimeWithinLimits(Isolate* isolate, int32_t year, int32_t month, int32_t day, int32_t hour, int32_t minute, int32_t second, int32_t millisecond, int32_t microsecond, int32_t nanosecond) ISODateTimeWithinLimits() argument
1028 int day = 0; GetISOPartsFromEpoch() local
1076 BalanceISODateTime(Isolate* isolate, int32_t year, int32_t month, int32_t day, int32_t hour, int32_t minute, int32_t second, int32_t millisecond, int32_t microsecond, int64_t nanosecond) BalanceISODateTime() argument
3472 BalanceISODate(Isolate* isolate, int32_t* year, int32_t* month, int32_t* day) BalanceISODate() argument
3546 AddDateTime( Isolate* isolate, int32_t year, int32_t month, int32_t day, int32_t hour, int32_t minute, int32_t second, int32_t millisecond, int32_t microsecond, int32_t nanosecond, Handle<JSReceiver> calendar, const DurationRecord& dur, Handle<Object> options) AddDateTime() argument
4316 GetEpochFromISOParts(Isolate* isolate, int32_t year, int32_t month, int32_t day, int32_t hour, int32_t minute, int32_t second, int32_t millisecond, int32_t microsecond, int32_t nanosecond) GetEpochFromISOParts() argument
4482 IsValidISODate(Isolate* isolate, int32_t year, int32_t month, int32_t day) IsValidISODate() argument
4924 ToISODayOfYear(Isolate* isolate, int32_t year, int32_t month, int32_t day) ToISODayOfYear() argument
4947 ToISODayOfWeek(Isolate* isolate, int32_t year, int32_t month, int32_t day) ToISODayOfWeek() argument
4970 RegulateISODate(Isolate* isolate, ShowOverflow overflow, int32_t year, int32_t* month, int32_t* day) RegulateISODate() argument
5083 ISODateFromFields(Isolate* isolate, Handle<JSReceiver> fields, Handle<JSReceiver> options, const char* method_name, int32_t* year, int32_t* month, int32_t* day) ISODateFromFields() argument
5429 int32_t day; DateFromFields() local
[all...]

Completed in 21 milliseconds

12345678910>>...14