/third_party/python/Lib/ |
H A D | _strptime.py | 365 # weekday and julian defaulted to None so as to signal need to calculate 367 weekday = julian = None 437 julian = int(found_dict['j']) 493 if julian is not None: 517 if julian is None and weekday is not None: 520 julian = _calc_julian_from_U_or_W(year, week_of_year, weekday, 523 year, julian = _calc_julian_from_V(iso_year, iso_week, weekday + 1) 524 if julian is not None and julian <= 0: 527 julian [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | gregoimp.h | 113 #define kEarliestViableMillis -185331720384000000.0 // minimum representable by julian day -1e17 115 #define kLatestViableMillis 185753453990400000.0 // max representable by julian day +1e17 241 * @param julian the given Julian day number. 245 static inline double julianDayToMillis(int32_t julian); 292 inline double Grego::julianDayToMillis(int32_t julian) in julianDayToMillis() argument 294 return (julian - kEpochStartAsJulianDay) * kOneDay; in julianDayToMillis()
|
H A D | gregoimp.cpp | 97 double julian = 365 * y + ClockMath::floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal in fieldsToDay() local 101 return julian - JULIAN_1970_CE; // JD => epoch day in fieldsToDay()
|
H A D | gregocal.cpp | 479 if((bestField == UCAL_WEEK_OF_YEAR) && // if we are doing WOY calculations, we are counting relative to Jan 1 *julian* in handleComputeJulianDay() 711 * Compute the julian day number of the day BEFORE the first day of 750 // * from 0..6 of the given julian day. 761 // * Compute the DOY using the WEEK_OF_YEAR field and the julian day 796 GregorianCalendar::julianDayToMillis(double julian) in julianDayToMillis() argument 798 return (UDate) ((julian - kEpochStartAsJulianDay) * (double) kOneDay); in julianDayToMillis()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | gregoimp.h | 113 #define kEarliestViableMillis -185331720384000000.0 // minimum representable by julian day -1e17 115 #define kLatestViableMillis 185753453990400000.0 // max representable by julian day +1e17 241 * @param julian the given Julian day number. 245 static inline double julianDayToMillis(int32_t julian); 292 inline double Grego::julianDayToMillis(int32_t julian) in julianDayToMillis() argument 294 return (julian - kEpochStartAsJulianDay) * kOneDay; in julianDayToMillis()
|
H A D | gregoimp.cpp | 102 double julian = 365 * y + ClockMath::floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal in fieldsToDay() local 106 return julian - JULIAN_1970_CE; // JD => epoch day in fieldsToDay()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | gregoimp.h | 113 #define kEarliestViableMillis -185331720384000000.0 // minimum representable by julian day -1e17 115 #define kLatestViableMillis 185753453990400000.0 // max representable by julian day +1e17 241 * @param julian the given Julian day number. 245 static inline double julianDayToMillis(int32_t julian); 292 inline double Grego::julianDayToMillis(int32_t julian) in julianDayToMillis() argument 294 return (julian - kEpochStartAsJulianDay) * kOneDay; in julianDayToMillis()
|
H A D | gregoimp.cpp | 92 double julian = 365 * y + ClockMath::floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal in fieldsToDay() local 96 return julian - JULIAN_1970_CE; // JD => epoch day in fieldsToDay()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
H A D | ChineseTestCase.java | 35 public ChineseTestCase(double julian, in ChineseTestCase() argument 39 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in ChineseTestCase()
|
H A D | TestCase.java | 82 * 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 public TestCase(double julian, in TestCase() argument [all...] |
H A D | CompatibilityTest.java | 154 int julian = jd; in TestMapping() 155 if (sign==0) julian = -julian; in TestMapping() 156 long millis = ((long)julian - EPOCH_JULIAN) * ONE_DAY; in TestMapping() 193 int julian = DATA[i]; in TestMapping() 198 long millis = (julian - EPOCH_JULIAN) * ONE_DAY; in TestMapping() 1162 logln("julian day value jumps at changeover"); in TestComputeJulianDay4406()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
H A D | ChineseTestCase.java | 32 public ChineseTestCase(double julian, in ChineseTestCase() argument 36 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in ChineseTestCase()
|
H A D | TestCase.java | 79 * 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 public TestCase(double julian, in TestCase() argument [all...] |
H A D | CompatibilityTest.java | 151 int julian = jd; in TestMapping() 152 if (sign==0) julian = -julian; in TestMapping() 153 long millis = ((long)julian - EPOCH_JULIAN) * ONE_DAY; in TestMapping() 190 int julian = DATA[i]; in TestMapping() 195 long millis = (julian - EPOCH_JULIAN) * ONE_DAY; in TestMapping() 1159 logln("julian day value jumps at changeover"); in TestComputeJulianDay4406()
|
/third_party/python/Lib/zoneinfo/ |
H A D | _zoneinfo.py | 517 __slots__ = ["d", "julian", "hour", "minute", "second"] 519 def __init__(self, d, julian, hour=2, minute=0, second=0): 520 if not (0 + julian) <= d <= 365: 521 min_day = 0 + julian 525 self.julian = julian 534 if self.julian and d >= 59 and calendar.isleap(year):
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | Grego.java | 97 long julian = in fieldsToDay() 101 return julian - JULIAN_1970_CE; // JD => epoch day in fieldsToDay()
|
H A D | CalendarAstronomer.java | 148 * The start of the julian day numbering scheme used by astronomers, which 151 * Note that julian day numbers and 153 * julian days start at <em>noon</em>, not midnight. 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 345 * Return this object's time expressed in julian centuries: 584 /*public*/ double[] getSunLongitude(double julian) in getSunLongitude() argument 589 double day = julian - JD_EPOCH; // Days since epoch in getSunLongitude()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | Grego.java | 99 long julian = in fieldsToDay() 103 return julian - JULIAN_1970_CE; // JD => epoch day in fieldsToDay()
|
H A D | CalendarAstronomer.java | 150 * The start of the julian day numbering scheme used by astronomers, which 153 * Note that julian day numbers and 155 * julian days start at <em>noon</em>, not midnight. 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 347 * Return this object's time expressed in julian centuries: 586 /*public*/ double[] getSunLongitude(double julian) in getSunLongitude() argument 591 double day = julian - JD_EPOCH; // Days since epoch in getSunLongitude()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | calcasts.h | 10 * conversion between julian-day to fields and vice versa. 30 double julian; // Julian Date member
|
H A D | calcasts.cpp | 10 * conversion between julian-day to fields and vice versa. 54 UDate t = (JULIAN_EPOCH+(ONE_DAY*cases[i].julian)); in doTestCases() 56 logln("Test case %d: julianday%f -> date %f\n", i, cases[i].julian, t); in doTestCases()
|
/third_party/python/Modules/ |
H A D | _zoneinfo.c | 72 uint8_t julian; member 1293 if (self->julian && day >= 59 && is_leap_year(year)) { in dayrule_year_to_timestamp() 1303 dayrule_new(uint8_t julian, unsigned int day, int8_t hour, int8_t minute, in dayrule_new() argument 1309 if (day < julian || day > 365) { in dayrule_new() 1311 julian, day); in dayrule_new() 1321 .julian = julian, in dayrule_new() 1805 uint8_t julian = 0; in parse_transition_rule() local 1808 julian = 1; in parse_transition_rule() 1839 if (dayrule_new(julian, da in parse_transition_rule() [all...] |
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | gregocal.h | 509 * @return julian day specified by calendar fields. 647 * Compute the julian day number of the given year. 718 * @param julian The given Julian date number. 721 static UDate julianDayToMillis(double julian);
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | gregocal.h | 498 * @return julian day specified by calendar fields. 620 * Compute the julian day number of the given year. 691 * @param julian The given Julian date number. 694 static UDate julianDayToMillis(double julian);
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
H A D | gregocal.h | 522 * @return julian day specified by calendar fields. 660 * Compute the julian day number of the given year. 737 * @param julian The given Julian date number. 740 static UDate julianDayToMillis(double julian);
|