Home
last modified time | relevance | path

Searched refs:day (Results 101 - 125 of 341) sorted by relevance

12345678910>>...14

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DIndianCalendar.java335 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()
H A DCECalendar.java217 // intercalary month 5 days + possible leap day in handleGetMonthLength()
229 * Convert an Coptic/Ethiopic year, month and day to a Julian day
232 * @param day the day
233 * @return Julian day
236 public static int ceToJD(long year, int month, int day, int jdEpochOffset) { in ceToJD() argument
254 + floorDivide(year, 4) // extra day of leap year in ceToJD()
256 + day - 1 // number of days for present month (1 based) in ceToJD()
261 * Convert a Julian day t
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dcaltest.cpp713 * Test the handling of the day of the week, checking for correctness and
816 verify765("1997 third day of June = ", c, 1997, UCAL_JUNE, 3); in TestDisambiguation765()
867 * results in the first WOY/DOW day of the year satisfying the in TestDisambiguation765()
909 CalendarTest::verify765(const UnicodeString& msg, Calendar* c, int32_t year, int32_t month, int32_t day) in verify765() argument
918 d == day) { in verify765()
924 errln("FAIL: " + msg + dateToString(c->getTime(status), str) + "; expected " + (int32_t)year + "/" + (int32_t)(month + 1) + "/" + (int32_t)day + in verify765()
1575 * When adding the YEAR, the month and day should remain constant. in yearAddTest()
1587 int32_t day = cal.get(UCAL_DATE, status); in yearAddTest() local
1608 if (y2 != (y+1) || mon2 != mon || day2 != day) { in yearAddTest()
1610 (y+1) + ", month " + (mon+1) + ", day " in yearAddTest()
2306 int32_t day = 15; Test1624() local
2485 int32_t day; global() member in CalFields
2492 CalFields(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec, int32_t ms) CalFields() argument
2866 int32_t day = cal->get(UCAL_DAY_OF_MONTH, status); setAndTestCalendar() local
3335 int32_t day=0, month=0, year=0, initDay = 27, initMonth = IslamicCalendar::RAJAB, initYear = 1434; TestIslamicUmAlQura() local
3369 int32_t day = tstCal->get(UCAL_DAY_OF_MONTH, status); TestIslamicUmAlQura() local
[all...]
H A Dtzregts.cpp119 min += (UDate)24*60*60*1000; // one day in findTransitionStepwise()
210 * day of onset 1:59 AM STD = display name 1:59 AM ST
212 * day of end 0:59 AM STD = display name 1:59 AM DT
366 // the MILLSECOND field; you need to pass in the millis in the day in STANDARD in checkCalendar314()
484 int32_t day = cal->get(UCAL_DATE, status); in Test4126678() local
493 int32_t offset = tz->getOffset((uint8_t)era, year, month, day, (uint8_t)dayOfWeek, millis, status); in Test4126678()
639 int32_t day = DATA[i+2]; in Test4154542() local
647 zone->setStartRule(month, day, dayOfWeek, time, status); in Test4154542()
652 errln(UnicodeString("setStartRule(month=") + month + ", day=" + day in Test4154542()
[all...]
/third_party/icu/icu4c/source/samples/cal/
H A Dcal.c135 /* 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...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DCalendarTestFmwk.java141 * <li>2: day
146 * <li>7: day
151 * // year month day field amount year month day
219 * sense to test the day fields; the time fields are not tested by this
352 * This method assumes day of week cycle is consistent.
417 * Convert year,month,day values to the form "year/month/day".
420 static public String ymdToString(int year, int month, int day) { in ymdToString() argument
421 return "" + year + "/" + (month+1) + "/" + day; in ymdToString()
[all...]
H A DCompatibilityTest.java114 * (first day of week, minimal days in first week).
210 " (" + ((float)delta/ONE_DAY) + " day delta) => " + in TestMapping()
231 " (" + ((float)delta/ONE_DAY) + " day delta) => " + in TestMapping()
536 verify765("1997 third day of June = ", c, 1997, Calendar.JUNE, 3); in TestDisambiguation765()
618 void verify765(String msg, Calendar c, int year, int month, int day) { in verify765() argument
624 cd == day) { in verify765()
631 year + "/" + (month+1) + "/" + day); in verify765()
778 private int day; in TestAddAcrossOffsetTransitions()
784 day = d; in TestAddAcrossOffsetTransitions()
790 public int getDay() { return day; } in TestAddAcrossOffsetTransitions()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A DCalendarTestFmwk.java144 * <li>2: day
149 * <li>7: day
154 * // year month day field amount year month day
222 * sense to test the day fields; the time fields are not tested by this
355 * This method assumes day of week cycle is consistent.
420 * Convert year,month,day values to the form "year/month/day".
423 static public String ymdToString(int year, int month, int day) { in ymdToString() argument
424 return "" + year + "/" + (month+1) + "/" + day; in ymdToString()
[all...]
H A DCompatibilityTest.java117 * (first day of week, minimal days in first week).
213 " (" + ((float)delta/ONE_DAY) + " day delta) => " + in TestMapping()
234 " (" + ((float)delta/ONE_DAY) + " day delta) => " + in TestMapping()
539 verify765("1997 third day of June = ", c, 1997, Calendar.JUNE, 3); in TestDisambiguation765()
621 void verify765(String msg, Calendar c, int year, int month, int day) { in verify765() argument
627 cd == day) { in verify765()
634 year + "/" + (month+1) + "/" + day); in verify765()
781 private int day; in TestAddAcrossOffsetTransitions()
787 day = d; in TestAddAcrossOffsetTransitions()
793 public int getDay() { return day; } in TestAddAcrossOffsetTransitions()
[all...]
/third_party/skia/third_party/externals/icu/source/samples/cal/
H A Dcal.c135 /* 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...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dos_internal.c57 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument
62 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || in os_mktime()
70 tm.tm_mday = day; in os_mktime()
91 tm->day = tm2->tm_mday; in os_gmtime()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dos_internal.c63 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument
68 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || in os_mktime()
76 tm.tm_mday = day; in os_mktime()
97 tm->day = tm2->tm_mday; in os_gmtime()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
H A DTimeZoneRegressionTest.java104 * day of onset 1:59 AM STD = display name 1:59 AM ST
106 * day of end 0:59 AM STD = display name 1:59 AM DT
229 // the MILLSECOND field; you need to pass in the millis in the day in STANDARD in checkCalendar314()
333 int day = cal.get(Calendar.DATE); in Test4126678()
341 long offset = tz.getOffset(era, year, month, day, dayOfWeek, millis); in Test4126678()
508 int day = DATA[i+2]; in Test4154542()
514 zone.setStartRule(month, day, dayOfWeek, time); in Test4154542()
519 errln("setStartRule(month=" + month + ", day=" + day + in Test4154542()
527 zone.setEndRule(month, day, dayOfWee in Test4154542()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
H A DTimeZoneRegressionTest.java101 * day of onset 1:59 AM STD = display name 1:59 AM ST
103 * day of end 0:59 AM STD = display name 1:59 AM DT
226 // the MILLSECOND field; you need to pass in the millis in the day in STANDARD in checkCalendar314()
330 int day = cal.get(Calendar.DATE); in Test4126678()
338 long offset = tz.getOffset(era, year, month, day, dayOfWeek, millis); in Test4126678()
505 int day = DATA[i+2]; in Test4154542()
511 zone.setStartRule(month, day, dayOfWeek, time); in Test4154542()
516 errln("setStartRule(month=" + month + ", day=" + day + in Test4154542()
524 zone.setEndRule(month, day, dayOfWee in Test4154542()
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dastro.cpp79 * The number of standard hours in one sidereal day.
87 * The number of sidereal hours in one mean solar day.
174 * The number of milliseconds in one day.
181 * The start of the julian day numbering scheme used by astronomers, which
184 * Note that julian day numbers and
312 * @param jdn the desired time, expressed as a "julian day number",
314 * 1/1/4713 BC (Julian), 12:00 GMT. Note that julian day
345 * expressed as a "julian day number", which is the number of elapsed
424 // Then find local midnight on this day in lstToUT()
530 #define JD_EPOCH 2447891.5 // Julian day o
643 double day = jDay - JD_EPOCH; // Days since epoch getSunLongitude() local
1081 double day = getJulianDay() - JD_EPOCH; // Days since epoch getMoonPosition() local
[all...]
H A Dvzone.h152 * BYDAY rule with day of week (such as BYDAY=1SUN). This method produce
182 * @param day The reference date's day-in-month (1-based)
183 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
184 * @param millis The reference date's milliseconds in day, local standard time
189 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
204 * @param day The reference date's day-in-month (1-based)
205 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
206 * @param millis The reference date's milliseconds in day, loca
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Dastro.cpp79 * The number of standard hours in one sidereal day.
87 * The number of sidereal hours in one mean solar day.
174 * The number of milliseconds in one day.
181 * The start of the julian day numbering scheme used by astronomers, which
184 * Note that julian day numbers and
312 * @param jdn the desired time, expressed as a "julian day number",
314 * 1/1/4713 BC (Julian), 12:00 GMT. Note that julian day
345 * expressed as a "julian day number", which is the number of elapsed
424 // Then find local midnight on this day in lstToUT()
530 #define JD_EPOCH 2447891.5 // Julian day o
643 double day = jDay - JD_EPOCH; // Days since epoch getSunLongitude() local
1081 double day = getJulianDay() - JD_EPOCH; // Days since epoch getMoonPosition() local
[all...]
H A Dvzone.h152 * BYDAY rule with day of week (such as BYDAY=1SUN). This method produce
182 * @param day The reference date's day-in-month (1-based)
183 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
184 * @param millis The reference date's milliseconds in day, local standard time
189 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
204 * @param day The reference date's day-in-month (1-based)
205 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
206 * @param millis The reference date's milliseconds in day, loca
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dastro.cpp79 * The number of standard hours in one sidereal day.
87 * The number of sidereal hours in one mean solar day.
174 * The number of milliseconds in one day.
181 * The start of the julian day numbering scheme used by astronomers, which
184 * Note that julian day numbers and
312 * @param jdn the desired time, expressed as a "julian day number",
314 * 1/1/4713 BC (Julian), 12:00 GMT. Note that julian day
345 * expressed as a "julian day number", which is the number of elapsed
424 // Then find local midnight on this day in lstToUT()
530 #define JD_EPOCH 2447891.5 // Julian day o
643 double day = jDay - JD_EPOCH; // Days since epoch getSunLongitude() local
1081 double day = getJulianDay() - JD_EPOCH; // Days since epoch getMoonPosition() local
[all...]
H A Dvzone.h154 * BYDAY rule with day of week (such as BYDAY=1SUN). This method produce
184 * @param day The reference date's day-in-month (1-based)
185 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
186 * @param millis The reference date's milliseconds in day, local standard time
191 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
206 * @param day The reference date's day-in-month (1-based)
207 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
208 * @param millis The reference date's milliseconds in day, loca
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DCECalendar.java215 // intercalary month 5 days + possible leap day in handleGetMonthLength()
227 * Convert an Coptic/Ethiopic year, month and day to a Julian day
230 * @param day the day
231 * @return Julian day
233 public static int ceToJD(long year, int month, int day, int jdEpochOffset) { in ceToJD() argument
251 + floorDivide(year, 4) // extra day of leap year in ceToJD()
253 + day - 1 // number of days for present month (1 based) in ceToJD()
258 * Convert a Julian day t
[all...]
/third_party/ltp/pan/cgi/
H A Dresults.cgi142 ($year, $month, $day, $hour, $min) = ($thisdate =~ /(\d+)(\d{2})(\d{2})(\d{2})(\d{2})/);
143 print "<tr><td><td>$year-$month-$day $hour:$min\n";
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_date_time.h55 /// \param day Day of month to use from 1 -31, where 1 is the first.
56 /// \param hour Hour of day to use from 0 - 23, where 0 is midnight.
62 uint32 day,
284 uint32 day);
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
H A Dpacked-bitfield.h2 unsigned char day: 5; member
/third_party/icu/icu4c/source/i18n/unicode/
H A Drbtz.h146 * @param day The reference date's day-in-month (1-based)
147 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
148 * @param millis The reference date's milliseconds in day, local standard time
153 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
167 * @param day The reference date's day-in-month (1-based)
168 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday)
169 * @param millis The reference date's milliseconds in day, local standard time
175 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
[all...]

Completed in 24 milliseconds

12345678910>>...14