/third_party/node/deps/icu-small/source/i18n/ |
H A D | cecal.cpp | 115 + 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 D | vzone.cpp | 119 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 D | dbapi2.py | 66 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 D | cecal.cpp | 126 + 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 D | vzone.cpp | 119 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()
|
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | picker_animation_controller.cpp | 93 LOGW("day column is null in picker animation."); in CreateMovingAnimation() 329 auto day = day_.Upgrade(); in PlayInAnimation() local 333 if (day) { in PlayInAnimation() 334 day->UpdateColumnOpacity(0.0); in PlayInAnimation() 442 auto day = day_.Upgrade(); in InitMoveRange() local 445 LOGE("month day column is null."); in InitMoveRange() 456 if (day) { in InitMoveRange() 457 dayStart_ = position - day->GetInnerColumnGlobalOffset().GetX(); in InitMoveRange()
|
H A D | picker_datetime_component.cpp | 180 dateTime.day = outDate.GetDay(); in GetMonthDayFormatString() 186 date.day = outDate.GetDay(); in GetMonthDayFormatString() 189 Localization::GetInstance()->GetLunarDay(lunarDate.day); in GetMonthDayFormatString() 201 uint32_t startDays = centerDays - 3; // start day 3 days before center day. in FillSolarLunarDays() 202 uint32_t endDays = centerDays + 3; // end day 3 days after center day. in FillSolarLunarDays() 215 // linked by month day column itself. in OnDataLinking() 217 days = (isAdd ? days + 1 : (days ? days - 1 : 0)); // add one day or reduce one day in OnDataLinking() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_calendar.cpp | 26 const char GO_TO_ARG_KEY_DAY[] = "day"; 54 CalendarDay day; in SetSpecializedAttr() 55 auto isLegal = StringUtils::StringToCalendarDay(value, day); in SetSpecializedAttr() 57 calendar.calendarComponent_->SetCalendarDate(day); in SetSpecializedAttr() 198 // default selected first day of month in HandleGoTo() 199 int32_t day = -1; in HandleGoTo() local 203 day = dayValue->GetInt(); in HandleGoTo() 205 calendarComponent_->GoTo(year, month, day); in HandleGoTo()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-sc27xx.c | 77 /* second/minute/hour/day values mask definition */ 170 u32 val, sec, min, hour, day; in sprd_rtc_get_secs() local 218 day = val & SPRD_RTC_DAY_MASK; in sprd_rtc_get_secs() 219 *secs = (((time64_t)(day * 24) + hour) * 60 + min) * 60 + sec; in sprd_rtc_get_secs() 227 u32 sec, min, hour, day, val; in sprd_rtc_set_secs() local 231 day = div_s64_rem(secs, 86400, &rem); in sprd_rtc_set_secs() 275 ret = regmap_write(rtc->regmap, rtc->base + day_reg, day); in sprd_rtc_set_secs()
|
H A D | rtc-bd70528.c | 36 u8 day; member 68 r->day &= ~BD70528_MASK_RTC_DAY; in tm2rtc() 82 r->day |= bin2bcd(t->tm_mday); in tm2rtc() 102 t->tm_mday = bcd2bin(r->day & BD70528_MASK_RTC_DAY); in rtc2tm()
|
H A D | rtc-ds1742.c | 83 unsigned int year, month, day, hour, minute, second, week; in ds1742_rtc_read_time() local 94 day = readb(ioaddr + RTC_DATE); in ds1742_rtc_read_time() 103 tm->tm_mday = bcd2bin(day); in ds1742_rtc_read_time()
|
H A D | rtc-ftrtc010.c | 87 u32 sec, min, hour, day, offset; in ftrtc010_rtc_set_time() local 95 day = readl(rtc->rtc_base + FTRTC010_RTC_DAYS); in ftrtc010_rtc_set_time() 97 offset = time - (day * 86400 + hour * 3600 + min * 60 + sec); in ftrtc010_rtc_set_time()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | CalendarAstronomer.java | 56 * 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...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
H A D | AstroTest.java | 43 // 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 D | CalendarAstronomer.java | 58 * 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...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
H A D | AstroTest.java | 40 // 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/icu4c/source/i18n/ |
H A D | vzone.cpp | 119 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 D | SimpleTimeZone.java | 83 * 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 D | SimpleTimeZone.java | 80 * 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...] |
H A D | IndianCalendar.java | 335 int[] gregorianDay; // Stores gregorian date corresponding to Julian day; in handleComputeFields() 337 gregorianDay = jdToGregorian(julianDay); // Gregorian date for Julian day in handleComputeFields() 493 * This routine converts a julian day (jd) to the corresponding date in Gregorian calendar" 499 int year, month, day; in jdToGregorian() 523 day = (int)(wjd - gregorianToJD(year, month, 1)) + 1; in jdToGregorian() 529 julianDate[2] = day; in jdToGregorian()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_row_layout_property.h | 110 startDate += std::to_string(GetStartDate()->day); in GetDateStart() 124 endDate += std::to_string(GetEndDate()->day); in GetDateEnd() 138 selectedDate += std::to_string(GetSelectedDate()->day); in GetDateSelected()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-ds1742.c | 84 unsigned int year, month, day, hour, minute, second, week; in ds1742_rtc_read_time() local 95 day = readb(ioaddr + RTC_DATE); in ds1742_rtc_read_time() 104 tm->tm_mday = bcd2bin(day); in ds1742_rtc_read_time()
|
H A D | rtc-ftrtc010.c | 87 u32 sec, min, hour, day, offset; in ftrtc010_rtc_set_time() local 95 day = readl(rtc->rtc_base + FTRTC010_RTC_DAYS); in ftrtc010_rtc_set_time() 97 offset = time - (day * 86400 + hour * 3600 + min * 60 + sec); in ftrtc010_rtc_set_time()
|
/third_party/node/deps/v8/src/objects/ |
H A D | js-temporal-objects.cc | 63 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...] |
/third_party/icu/icu4c/source/samples/cal/ |
H A D | cal.c | 135 /* use long day names */ in main() 253 /* Determine the first day of the week */ in cal() 269 /* Determine the first day of the week */ in cal() 283 * (e.g. it will be one to fetch day names, since Sunday is 284 * day 1 *not* day 0.) 287 * the output array. This is used when fetching day names 332 /* Get the day names for the specified locale, in either long or short 413 /* Print the day names */ in print_days() 428 int32_t width, pad, i, day; in print_month() local [all...] |