Searched refs:julian (Results 1 - 15 of 15) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DChineseTestCase.java30 public ChineseTestCase(double julian, argument
34 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian)));
H A DTestCase.java77 * Initialize a TestCase object using a julian day number and
80 * @param era The ERA field of tested calendar on the given julian day
81 * @param year The YEAR field of tested calendar on the given julian day
82 * @param month The MONTH (1-based) field of tested calendar on the given julian day
83 * @param day The DAY_OF_MONTH field of tested calendar on the given julian day
84 * @param dayOfWeek The DAY_OF_WEEK field of tested calendar on the given julian day
85 * @param hour The HOUR field of tested calendar on the given julian day
86 * @param min The MINUTE field of tested calendar on the given julian day
87 * @param sec The SECOND field of tested calendar on the given julian day
89 public TestCase(double julian, argument
[all...]
H A DCompatibilityTest.java146 int julian = jd;
147 if (sign==0) julian = -julian;
148 long millis = ((long)julian - EPOCH_JULIAN) * ONE_DAY;
185 int julian = DATA[i];
190 long millis = (julian - EPOCH_JULIAN) * ONE_DAY;
1134 logln("julian day value jumps at changeover");
/external/icu/icu4c/source/test/intltest/
H A Dcalcasts.h8 * conversion between julian-day to fields and vice versa.
28 double julian; // Julian Date member in struct:CalendarCaseTest::TestCase
H A Dcalcasts.cpp8 * 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);
/external/icu/icu4c/source/i18n/
H A Dgregoimp.h100 #define kEarliestViableMillis -185331720384000000.0 // minimum representable by julian day -1e17
102 #define kLatestViableMillis 185753453990400000.0 // max representable by julian day +1e17
228 * @param julian the given Julian day number.
232 static inline double julianDayToMillis(int32_t julian);
279 inline double Grego::julianDayToMillis(int32_t julian) argument
281 return (julian - kEpochStartAsJulianDay) * kOneDay;
H A Dgregoimp.cpp89 double julian = 365 * y + ClockMath::floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal local
93 return julian - JULIAN_1970_CE; // JD => epoch day
H A Dgregocal.cpp477 if((bestField == UCAL_WEEK_OF_YEAR) && // if we are doing WOY calculations, we are counting relative to Jan 1 *julian*
709 * Compute the julian day number of the day BEFORE the first day of
748 // * from 0..6 of the given julian day.
759 // * Compute the DOY using the WEEK_OF_YEAR field and the julian day
794 GregorianCalendar::julianDayToMillis(double julian) argument
796 return (UDate) ((julian - kEpochStartAsJulianDay) * (double) kOneDay);
H A Dcalendar.cpp1554 uint8_t Calendar::julianDayToDayOfWeek(double julian) argument
1556 // If julian is negative, then julian%7 will be negative, so we adjust
1558 int8_t dayOfWeek = (int8_t) uprv_fmod(julian + 1, 7);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DGrego.java95 long julian =
99 return julian - JULIAN_1970_CE; // JD => epoch day
H A DCalendarAstronomer.java146 * The start of the julian day numbering scheme used by astronomers, which
149 * Note that julian day numbers and
151 * julian days start at <em>noon</em>, not midnight.
285 * @param jdn the desired time, expressed as a "julian day number",
287 * 1/1/4713 BC (Julian), 12:00 GMT. Note that julian day
328 * expressed as a "julian day number", which is the number of elapsed
343 * Return this object's time expressed in julian centuries:
582 /*public*/ double[] getSunLongitude(double julian) argument
587 double day = julian - JD_EPOCH; // Days since epoch
/external/icu/icu4c/source/i18n/unicode/
H A Dgregocal.h516 * @return julian day specified by calendar fields.
654 * Compute the julian day number of the given year.
731 * @param julian The given Julian date number.
734 static UDate julianDayToMillis(double julian);
H A Dcalendar.h1701 * @return julian day specified by calendar fields.
1730 * @return the julian day
2322 * @param julian The given Julian date number.
2326 static uint8_t julianDayToDayOfWeek(double julian);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DCalendar.java6269 * @param julian the given Julian day number.
6273 protected static final long julianDayToMillis(int julian) { argument
6274 return (julian - EPOCH_JULIAN_DAY) * ONE_DAY;
6281 protected static final int julianDayToDayOfWeek(int julian) { argument
6282 // If julian is negative, then julian%7 will be negative, so we adjust
6284 int dayOfWeek = (julian + MONDAY) % 7;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 283 milliseconds