Home
last modified time | relevance | path

Searched refs:declination (Results 1 – 6 of 6) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DAstroTest.java76 if (result.declination != tests[i][7]) { in TestSolarLongitude()
77 if ((float)result.declination == (float)tests[i][7]) { in TestSolarLongitude()
78 logln("result.declination(" + result.declination + in TestSolarLongitude()
82 errln("FAIL: result.declination(" + result.declination + in TestSolarLongitude()
116 if (result.declination != tests[i][6]) { in TestLunarPosition()
117 if ((float)result.declination == (float)tests[i][6]) { in TestLunarPosition()
118 logln("result.declination(" + result.declination + in TestLunarPosition()
122 errln("FAIL: result.declination(" + result.declination + in TestLunarPosition()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DAstroTest.java72 if (result.declination != tests[i][7]) { in TestSolarLongitude()
73 if ((float)result.declination == (float)tests[i][7]) { in TestSolarLongitude()
74 logln("result.declination(" + result.declination + in TestSolarLongitude()
78 errln("FAIL: result.declination(" + result.declination + in TestSolarLongitude()
112 if (result.declination != tests[i][6]) { in TestLunarPosition()
113 if ((float)result.declination == (float)tests[i][6]) { in TestLunarPosition()
114 logln("result.declination(" + result.declination + in TestLunarPosition()
118 errln("FAIL: result.declination(" + result.declination + in TestLunarPosition()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarAstronomer.java484 double sinD = Math.sin(equatorial.declination); in eclipticToHorizon()
485 double cosD = Math.cos(equatorial.declination); in eclipticToHorizon()
1302 double angle = Math.acos(-tanL * Math.tan(pos.declination));
1314 double cosD = Math.cos(pos.declination);
1562 declination = dec;
1571 return Double.toString(ascension*RAD_DEG) + "," + (declination*RAD_DEG);
1580 return radToHms(ascension) + "," + radToDms(declination);
1598 public final double declination;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarAstronomer.java482 double sinD = Math.sin(equatorial.declination); in eclipticToHorizon()
483 double cosD = Math.cos(equatorial.declination); in eclipticToHorizon()
1300 double angle = Math.acos(-tanL * Math.tan(pos.declination));
1312 double cosD = Math.cos(pos.declination);
1560 declination = dec;
1569 return Double.toString(ascension*RAD_DEG) + "," + (declination*RAD_DEG);
1578 return radToHms(ascension) + "," + radToDms(declination);
1596 public final double declination;
/external/icu/icu4c/source/i18n/
Dastro.h155 : ascension(asc), declination(dec) { } in ascension()
165 declination = dec; in set()
199 double declination; variable
Dastro.cpp507 double sinD = ::sin(equatorial.declination); in eclipticToHorizon()
508 double cosD = cos(equatorial.declination); in eclipticToHorizon()
1384 double angle = ::acos(-tanL * ::tan(pos.declination)); in riseOrSet()
1393 count, deltaT, angle, lst, pos.ascension, pos.declination)); in riseOrSet()
1398 double cosD = ::cos(pos.declination); in riseOrSet()
1494 (ascension*RAD_DEG), (declination*RAD_DEG)); in toString()