HomeSort by relevance Sort by last modified time
    Searched refs:julian (Results 1 - 25 of 34) sorted by null

1 2

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
ChineseTestCase.java 18 * Initialize an object using a Julian day number and
21 * @param era the ERA field of tested calendar on the given Julian
24 * Julian day
26 * the given Julian day
29 * given Julian day
31 * Julian day
33 public ChineseTestCase(double julian,
37 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian)));
TestCase.java 80 * Initialize a TestCase object using a julian day number and
83 * @param era The ERA field of tested calendar on the given julian day
84 * @param year The YEAR field of tested calendar on the given julian day
85 * @param month The MONTH (1-based) field of tested calendar on the given julian day
86 * @param day The DAY_OF_MONTH field of tested calendar on the given julian day
87 * @param dayOfWeek The DAY_OF_WEEK field of tested calendar on the given julian day
88 * @param hour The HOUR field of tested calendar on the given julian day
89 * @param min The MINUTE field of tested calendar on the given julian day
90 * @param sec The SECOND field of tested calendar on the given julian day
92 public TestCase(double julian,
    [all...]
CompatibilityTest.java 127 System.out.println(type==0 ? "Gregorian" : "Julian");
148 int julian = jd; local
149 if (sign==0) julian = -julian;
150 long millis = ((long)julian - EPOCH_JULIAN) * ONE_DAY;
173 // Julian# Year Month DOM JULIAN:Year, Month, DOM
187 int julian = DATA[i]; local
192 long millis = (julian - EPOCH_JULIAN) * ONE_DAY;
213 // Test Julian computatio
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
ChineseTestCase.java 17 * Initialize an object using a Julian day number and
20 * @param era the ERA field of tested calendar on the given Julian
23 * Julian day
25 * the given Julian day
28 * given Julian day
30 * Julian day
32 public ChineseTestCase(double julian,
36 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian)));
TestCase.java 79 * Initialize a TestCase object using a julian day number and
82 * @param era The ERA field of tested calendar on the given julian day
83 * @param year The YEAR field of tested calendar on the given julian day
84 * @param month The MONTH (1-based) field of tested calendar on the given julian day
85 * @param day The DAY_OF_MONTH field of tested calendar on the given julian day
86 * @param dayOfWeek The DAY_OF_WEEK field of tested calendar on the given julian day
87 * @param hour The HOUR field of tested calendar on the given julian day
88 * @param min The MINUTE field of tested calendar on the given julian day
89 * @param sec The SECOND field of tested calendar on the given julian day
91 public TestCase(double julian,
    [all...]
CompatibilityTest.java 126 System.out.println(type==0 ? "Gregorian" : "Julian");
147 int julian = jd; local
148 if (sign==0) julian = -julian;
149 long millis = ((long)julian - EPOCH_JULIAN) * ONE_DAY;
172 // Julian# Year Month DOM JULIAN:Year, Month, DOM
186 int julian = DATA[i]; local
191 long millis = (julian - EPOCH_JULIAN) * ONE_DAY;
212 // Test Julian computatio
    [all...]
  /external/icu/icu4c/source/test/intltest/
calcasts.h 10 * conversion between julian-day to fields and vice versa.
30 double julian; // Julian Date member in struct:CalendarCaseTest::TestCase
calcasts.cpp 10 * conversion between julian-day to fields and vice versa.
54 UDate t = (JULIAN_EPOCH+(ONE_DAY*cases[i].julian));
56 logln("Test case %d: julianday%f -> date %f\n", i, cases[i].julian, t);
130 // Julian Day Era Year Month Day WkDay Hour Min Sec
219 // Julian Day Era Year Month Day WkDay Hour Min Sec
289 // Julian Day Era Year Month Day WkDay Hour Min Sec
338 // Julian Day Era Year Month Day WkDay Hour Min Sec
466 {2299159.5, 1, 1575, 2, 7, THU, 0, 0, 0}, // Gregorian: 14/10/1582 Julian 04/10/1582
  /external/icu/icu4c/source/i18n/
gregoimp.h 102 #define kEarliestViableMillis -185331720384000000.0 // minimum representable by julian day -1e17
104 #define kLatestViableMillis 185753453990400000.0 // max representable by julian day +1e17
107 * The minimum supported Julian day. This value is equivalent to
119 * The maximum supported Julian day. This value is equivalent to
229 * Converts Julian day to time as milliseconds.
230 * @param julian the given Julian day number.
234 static inline double julianDayToMillis(int32_t julian);
237 * Converts time as milliseconds to Julian day.
239 * @return the Julian day number
    [all...]
gregoimp.cpp 87 double julian = 365 * y + ClockMath::floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal local
91 return julian - JULIAN_1970_CE; // JD => epoch day
121 // Common Julian/Gregorian calculation
gregocal.cpp 57 * Note that the Julian date used here is not a true Julian date, since
58 * it is measured from midnight, not noon. This value is the Julian
71 // setTimeInMillis() limits the Julian day range to +/-7F000000.
388 // The Julian epoch day (not the same as Julian Day)
393 // Compute the Julian calendar day number for January 1, eyear
397 // Julian leap years occurred historically every 4 years starting
405 // Common Julian/Gregorian calculation
468 ((year&0x3) == 0)); // Julian
    [all...]
calendar.cpp     [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
_strptime.py 275 """Calculate the Julian day based on the year, week of the year, and day of
337 # weekday and julian defaulted to -1 so as to signal need to calculate
339 weekday = julian = -1
404 julian = int(found_dict['j'])
429 # out the Julian day of the year.
430 if julian == -1 and week_of_year != -1 and weekday != -1:
432 julian = _calc_julian_from_U_or_W(year, week_of_year, weekday,
434 # Cannot pre-calculate datetime_date() since can change in Julian
437 if julian == -1:
439 julian = datetime_date(year, month, day).toordinal() - \
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
_strptime.py 275 """Calculate the Julian day based on the year, week of the year, and day of
338 # weekday and julian defaulted to -1 so as to signal need to calculate
340 weekday = julian = -1
405 julian = int(found_dict['j'])
436 # out the Julian day of the year.
437 if julian == -1 and week_of_year != -1 and weekday != -1:
439 julian = _calc_julian_from_U_or_W(year, week_of_year, weekday,
441 # Cannot pre-calculate datetime_date() since can change in Julian
444 if julian == -1:
446 julian = datetime_date(year, month, day).toordinal() -
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
_strptime.py 275 """Calculate the Julian day based on the year, week of the year, and day of
338 # weekday and julian defaulted to -1 so as to signal need to calculate
340 weekday = julian = -1
405 julian = int(found_dict['j'])
436 # out the Julian day of the year.
437 if julian == -1 and week_of_year != -1 and weekday != -1:
439 julian = _calc_julian_from_U_or_W(year, week_of_year, weekday,
441 # Cannot pre-calculate datetime_date() since can change in Julian
444 if julian == -1:
446 julian = datetime_date(year, month, day).toordinal() -
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
_strptime.py 275 """Calculate the Julian day based on the year, week of the year, and day of
338 # weekday and julian defaulted to -1 so as to signal need to calculate
340 weekday = julian = -1
405 julian = int(found_dict['j'])
436 # out the Julian day of the year.
437 if julian == -1 and week_of_year != -1 and weekday != -1:
439 julian = _calc_julian_from_U_or_W(year, week_of_year, weekday,
441 # Cannot pre-calculate datetime_date() since can change in Julian
444 if julian == -1:
446 julian = datetime_date(year, month, day).toordinal() -
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
_strptime.py 275 """Calculate the Julian day based on the year, week of the year, and day of
338 # weekday and julian defaulted to -1 so as to signal need to calculate
340 weekday = julian = -1
405 julian = int(found_dict['j'])
436 # out the Julian day of the year.
437 if julian == -1 and week_of_year != -1 and weekday != -1:
439 julian = _calc_julian_from_U_or_W(year, week_of_year, weekday,
441 # Cannot pre-calculate datetime_date() since can change in Julian
444 if julian == -1:
446 julian = datetime_date(year, month, day).toordinal() -
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
Grego.java 99 long julian = local
100 365 * y + floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal
103 return julian - JULIAN_1970_CE; // JD => epoch day
CalendarAstronomer.java 150 * The start of the julian day numbering scheme used by astronomers, which
151 * is 1/1/4713 BC (Julian), 12:00 GMT. This is given as the number of milliseconds
153 * Note that julian day numbers and
154 * the Julian calendar are <em>not</em> the same thing. Also note that
155 * julian days start at <em>noon</em>, not midnight.
289 * @param jdn the desired time, expressed as a "julian day number",
291 * 1/1/4713 BC (Julian), 12:00 GMT. Note that julian day
332 * expressed as a "julian day number", which is the number of elapsed
333 * days since 1/1/4713 BC (Julian), 12:00 GMT
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
Grego.java 97 long julian = local
98 365 * y + floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal
101 return julian - JULIAN_1970_CE; // JD => epoch day
CalendarAstronomer.java 148 * The start of the julian day numbering scheme used by astronomers, which
149 * is 1/1/4713 BC (Julian), 12:00 GMT. This is given as the number of milliseconds
151 * Note that julian day numbers and
152 * the Julian calendar are <em>not</em> the same thing. Also note that
153 * julian days start at <em>noon</em>, not midnight.
287 * @param jdn the desired time, expressed as a "julian day number",
289 * 1/1/4713 BC (Julian), 12:00 GMT. Note that julian day
330 * expressed as a "julian day number", which is the number of elapsed
331 * days since 1/1/4713 BC (Julian), 12:00 GMT
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
gregocal.h 308 * Julian dates to Gregorian dates occurred. Default is 00:00:00 local time, October
309 * 15, 1582. Previous to this time and date will be Julian dates.
319 * Julian dates to Gregorian dates occurred. Default is 00:00:00 local time, October
320 * 15, 1582. Previous to this time and date will be Julian dates.
331 * information. For example, in Sweden, the change from Julian to Gregorian happened
333 * 1700 and 1753. Another example is that after the start of the Julian calendar in
335 * quirks, and pays attention only to the Julian onset date and the Gregorian
498 * Return the Julian day number of day before the first day of the
506 * @return the Julian day number of the day before the first
518 * @return julian day specified by calendar fields
    [all...]
calendar.h 194 * maximum range of supportable dates as those having Julian day numbers
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
Calendar.java 376 * the addition of the {@link #JULIAN_DAY} field, Julian day
433 * computed by the subclass, based on the Julian day. All other fields
464 * return a Julian day number.
475 * to return the Julian day number
476 * associated with a month and extended year. This is the Julian day
596 * maximum range of supportable dates as those having Julian day numbers
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
Calendar.java 375 * the addition of the {@link #JULIAN_DAY} field, Julian day
432 * computed by the subclass, based on the Julian day. All other fields
463 * return a Julian day number.
474 * to return the Julian day number
475 * associated with a month and extended year. This is the Julian day
595 * maximum range of supportable dates as those having Julian day numbers
    [all...]

Completed in 664 milliseconds

1 2