/external/icu4c/test/intltest/ |
calcasts.h | 8 * conversion between julian-day to fields and vice versa. 28 double julian; // Julian Date member in struct:CalendarCaseTest::TestCase
|
calcasts.cpp | 8 * conversion between julian-day to fields and vice versa. 52 UDate t = (JULIAN_EPOCH+(ONE_DAY*cases[i].julian)); 54 logln("Test case %d: julianday%f -> date %f\n", i, cases[i].julian, t); 128 // Julian Day Era Year Month Day WkDay Hour Min Sec 218 // Julian Day Era Year Month Day WkDay Hour Min Sec 288 // Julian Day Era Year Month Day WkDay Hour Min Sec 337 // Julian Day Era Year Month Day WkDay Hour Min Sec 465 {2299159.5, 1, 1575, 2, 7, THU, 0, 0, 0}, // Gregorian: 14/10/1582 Julian 04/10/1582
|
/external/icu4c/i18n/ |
gregoimp.h | 100 #define kEarliestViableMillis -185331720384000000.0 // minimum representable by julian day -1e17 102 #define kLatestViableMillis 185753453990400000.0 // max representable by julian day +1e17 105 * The minimum supported Julian day. This value is equivalent to 117 * The maximum supported Julian day. This value is equivalent to 227 * Converts Julian day to time as milliseconds. 228 * @param julian the given Julian day number. 232 static inline double julianDayToMillis(int32_t julian); 235 * Converts time as milliseconds to Julian day. 237 * @return the Julian day number [all...] |
gregoimp.cpp | 89 double julian = 365 * y + ClockMath::floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal local 93 return julian - JULIAN_1970_CE; // JD => epoch day 123 // Common Julian/Gregorian calculation
|
gregocal.cpp | 55 * Note that the Julian date used here is not a true Julian date, since 56 * it is measured from midnight, not noon. This value is the Julian 69 // setTimeInMillis() limits the Julian day range to +/-7F000000. 386 // The Julian epoch day (not the same as Julian Day) 391 // Compute the Julian calendar day number for January 1, eyear 395 // Julian leap years occurred historically every 4 years starting 403 // Common Julian/Gregorian calculation 466 ((year&0x3) == 0)); // Julian [all...] |
calendar.cpp | [all...] |
/libcore/luni/src/main/java/java/util/ |
Grego.java | 95 long julian =
local 96 365 * y + floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal
99 return julian - JULIAN_1970_CE; // JD => epoch day
|
/external/bluetooth/glib/tests/ |
testgdateparser.c | 18 g_print("julian: %u (%s) DMY: %u %u %u (%s)\n", 20 d->julian ? "valid" : "invalid",
|
testgdate.c | 36 g_print("julian: %u (%s) DMY: %u %u %u (%s)\n", 38 d->julian ? "valid" : "invalid", 91 TEST("January 1, Year 1 is Julian date 1", j == 1); 102 TEST("Bad julian is invalid", !g_date_valid_julian(G_DATE_BAD_JULIAN)); 133 TEST("GDate's \"Julian\" epoch's first day is valid", g_date_valid(d)); 135 g_date_strftime(buf,100,"Our \"Julian\" epoch begins on a %A, in the month of %B, %x\n", 227 TEST("Day of year is consistent with Julian dates", 452 /***** increment test relative to our local Julian count */ 467 TEST("Next day has julian 1 higher", 475 TEST("Previous day has julian 1 lower" [all...] |
/external/icu4c/i18n/unicode/ |
gregocal.h | 306 * Julian dates to Gregorian dates occurred. Default is 00:00:00 local time, October 307 * 15, 1582. Previous to this time and date will be Julian dates. 317 * Julian dates to Gregorian dates occurred. Default is 00:00:00 local time, October 318 * 15, 1582. Previous to this time and date will be Julian dates. 329 * information. For example, in Sweden, the change from Julian to Gregorian happened 331 * 1700 and 1753. Another example is that after the start of the Julian calendar in 333 * quirks, and pays attention only to the Julian onset date and the Gregorian 496 * Return the Julian day number of day before the first day of the 504 * @return the Julian day number of the day before the first 516 * @return julian day specified by calendar fields [all...] |
calendar.h | [all...] |
/external/bluetooth/glib/glib/ |
gdate.h | 103 guint julian_days : 32; /* julian days representation - we use a 109 guint julian : 1; /* julian is valid */ member in struct:_GDate
|