Home
last modified time | relevance | path

Searched refs:julian (Results 1 – 25 of 39) sorted by relevance

12

/external/python/cpython3/Lib/
D_strptime.py367 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 += yday
529 if julian is None:
534 julian = datetime_date(year, month, day).toordinal() - \
[all …]
/external/python/cpython2/Lib/
D_strptime.py347 weekday = julian = None
412 julian = int(found_dict['j'])
444 if julian is None and week_of_year != -1 and weekday is not None:
446 julian = _calc_julian_from_U_or_W(year, week_of_year, weekday,
448 if julian <= 0:
451 julian += yday
455 if julian is None:
457 julian = datetime_date(year, month, day).toordinal() - \
461 … datetime_result = datetime_date.fromordinal((julian - 1) + datetime_date(year, 1, 1).toordinal())
475 weekday, julian, tz)), fraction)
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DChineseTestCase.java32 public ChineseTestCase(double julian, in ChineseTestCase() argument
36 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in ChineseTestCase()
DTestCase.java91 public TestCase(double julian, in TestCase() argument
96 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in TestCase()
DCompatibilityTest.java151 int julian = jd; in TestMapping() local
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() local
195 long millis = (julian - EPOCH_JULIAN) * ONE_DAY; in TestMapping()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DChineseTestCase.java35 public ChineseTestCase(double julian, in ChineseTestCase() argument
39 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in ChineseTestCase()
DTestCase.java94 public TestCase(double julian, in TestCase() argument
99 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in TestCase()
DCompatibilityTest.java154 int julian = jd; in TestMapping() local
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() local
198 long millis = (julian - EPOCH_JULIAN) * ONE_DAY; in TestMapping()
/external/icu/libicu/cts_headers/
Dgregoimp.h245 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()
/external/icu/icu4c/source/i18n/
Dgregoimp.h245 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()
Dgregoimp.cpp92 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()
Dgregocal.cpp796 GregorianCalendar::julianDayToMillis(double julian) in julianDayToMillis() argument
798 return (UDate) ((julian - kEpochStartAsJulianDay) * (double) kOneDay); in julianDayToMillis()
/external/cldr/docs/rfc/
Drfc2629.xslt6 xmlns:myns="mailto:julian.reschke@greenbytes.de?subject=rcf2629.xslt"
14 Copyright (c) 2001-2004 Julian F. Reschke (julian.reschke@greenbytes.de)
20 2001-03-28 julian.reschke@greenbytes.de
25 2001-04-12 julian.reschke@greenbytes.de
29 2001-10-02 julian.reschke@greenbytes.de
34 2001-10-07 julian.reschke@greenbytes.de
38 2001-10-08 julian.reschke@greenbytes.de
42 2001-10-09 julian.reschke@greenbytes.de
46 2001-11-11 julian.reschke@greenbytes.de
50 2001-12-17 julian.reschke@greenbytes.de
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DGrego.java97 long julian = in fieldsToDay() local
101 return julian - JULIAN_1970_CE; // JD => epoch day in fieldsToDay()
DCalendarAstronomer.java584 /*public*/ double[] getSunLongitude(double julian) in getSunLongitude() argument
589 double day = julian - JD_EPOCH; // Days since epoch in getSunLongitude()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DGrego.java99 long julian = in fieldsToDay() local
103 return julian - JULIAN_1970_CE; // JD => epoch day in fieldsToDay()
DCalendarAstronomer.java586 /*public*/ double[] getSunLongitude(double julian) in getSunLongitude() argument
591 double day = julian - JD_EPOCH; // Days since epoch in getSunLongitude()
/external/python/cpython3/Lib/zoneinfo/
D_zoneinfo.py519 def __init__(self, d, julian, hour=2, minute=0, second=0): argument
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):
/external/icu/icu4c/source/test/intltest/
Dcalcasts.h30 double julian; // Julian Date member
Dcalcasts.cpp54 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()
/external/python/cpython3/Modules/
D_zoneinfo.c67 uint8_t julian; member
1285 if (self->julian && day >= 59 && is_leap_year(year)) { in dayrule_year_to_timestamp()
1295 dayrule_new(uint8_t julian, unsigned int day, int8_t hour, int8_t minute, in dayrule_new() argument
1301 if (day < julian || day > 365) { in dayrule_new()
1303 julian, day); in dayrule_new()
1313 .julian = julian, in dayrule_new()
1797 uint8_t julian = 0; in parse_transition_rule() local
1800 julian = 1; in parse_transition_rule()
1831 if (dayrule_new(julian, day, hour, minute, second, rv)) { in parse_transition_rule()
/external/icu/libicu/cts_headers/unicode/
Dgregocal.h740 static UDate julianDayToMillis(double julian);
/external/icu/icu4c/source/i18n/unicode/
Dgregocal.h740 static UDate julianDayToMillis(double julian);
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCalendar.java6268 protected static final long julianDayToMillis(int julian) { in julianDayToMillis() argument
6269 return (julian - EPOCH_JULIAN_DAY) * ONE_DAY; in julianDayToMillis()
6275 protected static final int julianDayToDayOfWeek(int julian) { in julianDayToDayOfWeek() argument
6278 int dayOfWeek = (julian + MONDAY) % 7; in julianDayToDayOfWeek()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java6470 protected static final long julianDayToMillis(int julian) { in julianDayToMillis() argument
6471 return (julian - EPOCH_JULIAN_DAY) * ONE_DAY; in julianDayToMillis()
6478 protected static final int julianDayToDayOfWeek(int julian) { in julianDayToDayOfWeek() argument
6481 int dayOfWeek = (julian + MONDAY) % 7; in julianDayToDayOfWeek()

12