/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 217 // Julian Day Era Year Month Day WkDay Hour Min Sec 287 // Julian Day Era Year Month Day WkDay Hour Min Sec 335 // Julian Day Era Year Month Day WkDay Hour Min Sec 460 {2299159.5, 1, 1575, 2, 7, THU, 0, 0, 0}, // Gregorian: 14/10/1582 Julian 04/10/1582
|
/external/icu4c/i18n/ |
cecal.h | 32 * with the given locale with the Julian epoch offiset 98 * return the date offset from Julian 104 * Convert an Coptic/Ethiopic year, month, and day to a Julian day. 109 * @param jdEpochOffset the epoch offset from Julian epoch 110 * @return Julian day 117 * Convert a Julian day to an Coptic/Ethiopic year, month and day 119 * @param julianDay the Julian day 120 * @param jdEpochOffset the epoch offset from Julian epoch
|
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...] |
indiancal.cpp | 136 * Returns the Julian Day corresponding to gregorian date 158 * Returns the Gregorian Date corresponding to a given Julian Day 159 * @param jd The Julian Day 289 * calendar equivalents for the given Julian day. 294 int32_t gregorianYear; // Stores gregorian date corresponding to Julian day; 297 gregorianYear = jdToGregorian(julianDay, gd)[0]; // Gregorian date for Julian day
|
ethpccal.h | 202 * Return the date offset from Julian 285 * Convert an Ethiopic year, month, and day to a Julian day. 290 * @return Julian day
|
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...] |
buddhcal.h | 159 * Return the Julian day number of day before the first day of the 167 * @param return the Julian day number of the day before the first
|
/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...] |
date-test.c | 84 TEST("January 1, Year 1 is Julian date 1", j == 1); 95 TEST("Bad julian is invalid", !g_date_valid_julian(G_DATE_BAD_JULIAN)); 126 TEST("GDate's \"Julian\" epoch's first day is valid", g_date_valid(d)); 128 g_date_strftime(buf,100,"Our \"Julian\" epoch begins on a %A, in the month of %B, %x\n", 220 TEST("Day of year is consistent with Julian dates", 445 /***** increment test relative to our local Julian count */ 460 TEST("Next day has julian 1 higher", 468 TEST("Previous day has julian 1 lower", 479 j = g_date_get_julian(d); /* inc current julian */
|
/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...] |
/external/bluetooth/glib/docs/reference/glib/tmpl/ |
date.sgml | 23 can keep both a Julian and day-month-year representation of the date, 25 other. A Julian representation is simply a count of days since some 27 ("Julian" dates in the #GDate API aren't really Julian dates in the 28 technical sense; technically, Julian dates count from the start of the 29 Julian period, Jan 1, 4713 BC). 50 struct.</emphasis> Often only the day-month-year or only the Julian 143 date becomes valid after you set it to a Julian day or you set a day, 147 @julian_days: the Julian representation of the date 148 @julian: this bit is set if @julian_days is vali [all...] |
/external/bzip2/ |
LICENSE | 5 documentation, are copyright (C) 1996-2007 Julian R Seward. All 39 Julian Seward, jseward@bzip.org
|
NOTICE | 5 documentation, are copyright (C) 1996-2007 Julian R Seward. All 39 Julian Seward, jseward@bzip.org
|
mk251.c | 13 Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
|
README.XML.STUFF | 6 Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
|
format.pl | 8 # Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
|
spewG.c | 17 Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
|
/external/tcpdump/ |
gmt2local.c | 61 * If the year or julian day is different, we span 00:00 GMT 63 * avoid problems when the julian day wraps.
|
/frameworks/base/core/java/android/text/format/ |
Time.java | 39 * The Julian day of the epoch, that is, January 1, 1970 on the Gregorian 700 * Returns true if the day of the given time is the epoch on the Julian Calendar 712 * Computes the Julian day number, given the UTC milliseconds 713 * and the offset (in seconds) from UTC. The Julian day for a given 714 * date will be the same for every timezone. For example, the Julian 716 * what timezone is being used. The Julian day is useful for testing 725 * @return the Julian day 734 * <p>Sets the time from the given Julian day number, which must be based on 736 * need not be initialized because the given Julian day may have a different 739 * will be set to 12am at the beginning of the given Julian day [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
|
/external/v8/src/ |
date.js | 283 // Compute modified Julian day from year, month, date. 335 // Compute year, month, and day from modified Julian day. 337 function FromJulianDay(julian) { 338 if (julian_day_cache_day == julian) { 345 if (julian > kDayZeroInJulianDay && 346 (julian - kDayZeroInJulianDay) < 40177) { // 1970 - 2080 347 var jsimple = (julian - kDayZeroInJulianDay) + 731; // Day 0 is 1st January 1968 358 var jalpha = FLOOR((julian - 1867216.25) / 36524.25); 359 var jb = julian + 1 + jalpha - FLOOR(0.25 * jalpha) + 1524; 370 julian_day_cache_day = julian; [all...] |
/frameworks/base/core/tests/coretests/src/android/text/format/ |
TimeTest.java | 527 // For each day of the year, and for each timezone, get the Julian 529 // same Julian day. 542 // This is the Julian day for 12am for this day of the year 546 // Julian day. 553 Log.e("TimeTest", "Julian day: " + day + " at time " 555 + " != today's Julian day: " + julianDay 570 // test that we can set the Julian day correctly.
|