Home
last modified time | relevance | path

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

123

/third_party/python/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 …]
/third_party/glib/glib/
Dgdate.c298 d->julian = FALSE; in g_date_new_dmy()
328 d->julian = TRUE; in g_date_new_julian()
396 return (d->julian || d->dmy); in g_date_valid()
527 g_return_if_fail (!d->julian); in g_date_update_julian()
550 d->julian = TRUE; in g_date_update_julian()
564 g_return_if_fail (d->julian); in g_date_update_dmy()
613 if (!d->julian) in g_date_get_weekday()
616 g_return_val_if_fail (d->julian, G_DATE_BAD_WEEKDAY); in g_date_get_weekday()
700 if (!d->julian) in g_date_get_julian()
703 g_return_val_if_fail (d->julian, G_DATE_BAD_JULIAN); in g_date_get_julian()
[all …]
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/node/deps/icu-small/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()
/third_party/python/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):
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DGrego.java99 long julian = in fieldsToDay() local
103 return julian - JULIAN_1970_CE; // JD => epoch day in fieldsToDay()
/third_party/boost/boost/date_time/
Dgregorian_calendar.ipp84 //! Convert a year-month-day into the julian day number
85 /*! Since this implementation uses julian day internally, this is the same as the day_number.
96 //! Convert year-month-day into a modified julian day number
151 //! Change a modified julian day number into a year-month-day
/third_party/icu/icu4c/source/test/intltest/
Dcalcasts.h30 double julian; // Julian Date member
/third_party/python/Modules/
D_zoneinfo.c68 uint8_t julian; member
1289 if (self->julian && day >= 59 && is_leap_year(year)) { in dayrule_year_to_timestamp()
1299 dayrule_new(uint8_t julian, unsigned int day, int8_t hour, int8_t minute, in dayrule_new() argument
1305 if (day < julian || day > 365) { in dayrule_new()
1307 julian, day); in dayrule_new()
1317 .julian = julian, in dayrule_new()
1801 uint8_t julian = 0; in parse_transition_rule() local
1804 julian = 1; in parse_transition_rule()
1835 if (dayrule_new(julian, day, hour, minute, second, rv)) { in parse_transition_rule()
/third_party/node/deps/npm/node_modules/builtins/
DLicense1 Copyright (c) 2015 Julian Gruber <julian@juliangruber.com>
/third_party/node/deps/npm/node_modules/brace-expansion/
DLICENSE3 Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
/third_party/node/deps/npm/node_modules/balanced-match/
DLICENSE.md3 Copyright (c) 2013 Julian Gruber &lt;julian@juliangruber.com&gt;
/third_party/node/deps/npm/node_modules/sorted-union-stream/node_modules/isarray/
DREADME.md36 Copyright (c) 2013 Julian Gruber &lt;julian@juliangruber.com&gt;

123